Binary mesh copy ...

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
vgx
Posts: 11
Joined: Sun May 07, 2006 4:36 pm

Binary mesh copy ...

Post by vgx »

I need to make binary mesh copy which could differ from original. Something like this

Code: Select all

IMesh mesh = *smgr->getMesh("k3.obj")->getMesh(0);
I would like to write my own per vertex shading but because vertex colors are bound to mesh, i need as many differrent copies of original mesh as are in the scene. Is it possible?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Have a look at IMeshManipulator::createMeshCopy().

Travis
vgx
Posts: 11
Joined: Sun May 07, 2006 4:36 pm

Post by vgx »

Yep, that is probably thing i was looking for. Thanks. Diky moc :D
Post Reply