a quantity of triangles in wireframe mode?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Andrey
Posts: 17
Joined: Sat Aug 05, 2006 6:53 pm
Location: Ukraine

a quantity of triangles in wireframe mode?

Post by Andrey »

I would like to display e.q. cube from the test scene in wireframe mode. Ok, but how can I set a quantity of triangles in my cube?
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

I am not sure what do you mean ...cube have 6 sides 2 triangles each = 12 triangles, there is nothing you can do about it....
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The cube scene node dos not yet support more vertices/faces. But it will be implemented sometime. Maybe you want to supply some code? Should be pretty simple.
For the wireframe you simply have to set the material flag. Could be that you already know already, though. Since you saw the number of faces...
Post Reply