I want a cube like this
http://www.mankind.net/screens_n_art/sc ... k17_03.jpg
First my Idea was th use addCubeSceneNode, change to wireframe.
1.) But how can I change the color of that lines?
2.) Can I than render inside this Cube?
3.) Or have I create a new SceneNode like CustomSceneNode-Tutorial?
If I had to make my own SceneNode, I looked at CCubeSceneNode, but I dont't understand what do to with vertices and indices.
The vertices are my edges, that's clear, but what are these indices?
4.) Or is there an other, better method to create such a cube?
General Cube / Vertex issue
Hi
you could use several cubesenenode and change the porportion to obtain the
"rail road " then link them toghether to form the cube
it would just a good work of imagination to put all the shapes in the correct position and orientation.
-----------------------
OR
In dinamic mesh
Think to indices as the choosed vertex to form a triangle,
that is the atom of your shape...
so in your cube i would made some triangles linked toghether to make the "railroad"
that oriented in the correct way will for the cube shape
Cheers
you could use several cubesenenode and change the porportion to obtain the
"rail road " then link them toghether to form the cube
it would just a good work of imagination to put all the shapes in the correct position and orientation.
-----------------------
OR
In dinamic mesh
Think to indices as the choosed vertex to form a triangle,
that is the atom of your shape...
so in your cube i would made some triangles linked toghether to make the "railroad"
that oriented in the correct way will for the cube shape
Cheers