Page 1 of 1

Binary mesh copy ...

Posted: Tue May 09, 2006 9:37 pm
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?

Posted: Wed May 10, 2006 5:47 am
by vitek
Have a look at IMeshManipulator::createMeshCopy().

Travis

Posted: Wed May 10, 2006 2:55 pm
by vgx
Yep, that is probably thing i was looking for. Thanks. Diky moc :D