manipulation on low level geometry

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
Guest

manipulation on low level geometry

Post by Guest »

I have to create a tool that can be used to make some simple modelling. I know that there is lot of such tools, but i need to make such one to pass my exams. It must be able to create new basic shapes and modyfiing them. Moving the vertices and so on.
I'v decided that i will use irrlicht to accomplish this task. So can someone tell me what classes can i use, and where should i look to find out how can i do this? I already know ho to load an mesh and so on, but don't have any ide how to create let's say a new box and modify it's shape using the mouse.

Will somebody help me?

Sorry if this is a lame question. But i just don't have much experience with irrlicht and 3d graphics...
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

You could load your mesh and make a copy of it, then modify that copy. You may have to make that copy, because it is not possible to directly modify every type of mesh, for example animated .md2or .ms3d meshes. You could copy the mesh manually into an SMesh and SMeshBuffers and modify them. Or you could use IMeshManipulator::createMeshCopy which creates an SMesh filled with SMeshBuffers.
Post Reply