Why not using VBs & IBs in Irrlicht?

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
eastwood
Posts: 2
Joined: Wed Jul 15, 2009 2:19 pm

Why not using VBs & IBs in Irrlicht?

Post by eastwood »

I'm puzzled that all rendering method in Irrlicht using DrawIndexedPrimitiveUP().
Yes, I'm noticed that it would work more effective when rendering lots of little calls ,e.g. UI things.
If I using batchs of models which have 1000-5000 faces, DrawIndexedPrimitiveUP() would pay a lot of time on create/copy/destroy VBs.

How about you guys?
Did u add VB&VI support and using DrawPrimitive() / DrawIndexedPrimitive() in your engin ?[/u]
Nox
Posts: 304
Joined: Wed Jan 14, 2009 6:23 pm

Post by Nox »

There is VB and IB support in irrlicht. But you have to tell the engine to use them. Take a look at the doc.
eastwood
Posts: 2
Joined: Wed Jul 15, 2009 2:19 pm

Post by eastwood »

Yeah...I see.
Thank u!

The version of my Irrlicht is 1.4.2, and 1.5 already support VB&IB.
I'll update my local engin.
Post Reply