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.
vgx
Posts: 11 Joined: Sun May 07, 2006 4:36 pm
Post
by vgx » Tue May 09, 2006 9:37 pm
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 » Wed May 10, 2006 5:47 am
Have a look at IMeshManipulator::createMeshCopy() .
Travis
vgx
Posts: 11 Joined: Sun May 07, 2006 4:36 pm
Post
by vgx » Wed May 10, 2006 2:55 pm
Yep, that is probably thing i was looking for. Thanks. Diky moc