Mesh modification?

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
dabeav
Posts: 47
Joined: Fri Jan 23, 2004 6:50 pm

Mesh modification?

Post by dabeav »

Is it possible to add/remove polys from a mesh, and/or one of its buffers? If so what would need to be done in order to do this, also what else would have to be updated at the same time?
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

It's not possible to remove polys from some meshes, because they could be needed. For example in .ms3d files. But if you have a Mesh with SMeshBuffers in it, you have full access to everything and are able to change what you want.
If you not sure if you get an SMeshBuffer, you could simply copy it into a Mesh with SMeshBuffers, and modify that.
Post Reply