Creating SceneNodes when loading Meshes

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
DrAnonymous
Posts: 34
Joined: Thu Aug 04, 2005 9:37 pm

Creating SceneNodes when loading Meshes

Post by DrAnonymous »

I want to create a hierarchy of SceneNodes when I load a 3d Model, because I need to apply rotations and such to sub-nodes.

Since Meshes aren't Nodes, whats the best way to do this? I was in the middle of writing a model loader, when I realized I need to create nested scene nodes.
Am I missing something?

Regards,
Dr. A>
WToma
Posts: 70
Joined: Tue Aug 09, 2005 8:38 am
Location: Szeged, Hungary

Post by WToma »

I thnk you cannot do this unless you derive a class of IAnimatedMesh (or some of its descendents). Or you can separate your model into multiple files and write a sum-file where you store the parts of the model and the custom joints.
Toma
"This is not a bug, this is a feature!"
Post Reply