General Cube / Vertex issue
Posted: Wed Oct 21, 2009 9:07 am
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?
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?