Moving different goups of 3ds model
Moving different goups of 3ds model
I'm I beginner with Irrlicht and need help with my mesh. I have dummy excavator extracted in 3ds-format. It has different groups for the pit, "wheels", and the different parts of the shank and bucket. I have got it to show up in Irrlicht right with the textures, but now I have to move the different parts of the model separately. I know how to move the whole model, but how can I access to different groups to move them separately?
(I'm really new with Irrlicht and a girl, so please be nice to me
(I'm really new with Irrlicht and a girl, so please be nice to me
Not a particularly easy job i'm afraid!
If the seperate parts are in seperate groups in the 3ds file then you may be able to get access to them through the mesh buffers (not sure if they'll be in individual mesh buffers or not...).
And then i'm not sure if you'll be able to apply different transformations to the groups...
Can you do joints in 3ds? If you could then you can get a 'pointer' to the specific joints (wheel axles for a start perhaps) and then rotate them as necessary. So you could certainly do that in .ms3d (milkshape format) and i think .b3d but possibly not in .3ds.
If the seperate parts are in seperate groups in the 3ds file then you may be able to get access to them through the mesh buffers (not sure if they'll be in individual mesh buffers or not...).
And then i'm not sure if you'll be able to apply different transformations to the groups...
Can you do joints in 3ds? If you could then you can get a 'pointer' to the specific joints (wheel axles for a start perhaps) and then rotate them as necessary. So you could certainly do that in .ms3d (milkshape format) and i think .b3d but possibly not in .3ds.
mmm, there are 39 different materials on the mesh. I loaded my mesh as IAnimatedMesh, and I don't know how to access meshbuffer through that. Though I could access meshbuffers if the mesh would have been Imesh, but I can't see how can I load the mesh to ImeshSceneNode, because:
Scenemanager->getMesh doesn't work with Imesh, so I don't know how to load it
Scenemanager->getMesh doesn't work with Imesh, so I don't know how to load it
Hi again! (Sorry for double posting)
I've decided to abandon this way of approching the project, so I have a new one:
This excavator is in .max project. It contains the graphical version and a collision model consisting some simple primitives, that includes joints, which were hiding in a second layer, so I didn't notice them first. Now my question is, in which format I can export the model from .max so I don't lose the collision model and joint information, or is it possible at all. My goal is to import the model to Newton, ODE or other fysics engine and draw it with Irrlicht. Now I realized my question should have been in external tools section, but since I started the topic already, I hope I can have answers here
I've decided to abandon this way of approching the project, so I have a new one:
This excavator is in .max project. It contains the graphical version and a collision model consisting some simple primitives, that includes joints, which were hiding in a second layer, so I didn't notice them first. Now my question is, in which format I can export the model from .max so I don't lose the collision model and joint information, or is it possible at all. My goal is to import the model to Newton, ODE or other fysics engine and draw it with Irrlicht. Now I realized my question should have been in external tools section, but since I started the topic already, I hope I can have answers here