Hello,
Prefix: I am very much new to 3d modeling and programming. I
appreciate that this maybe somewhat off topic.
I was wondering if anyone has recommendations as to an easy method of
moving elements of a 3D model. For example a rudder on a plane. I have
written my own 3ds file format parser and openGL renderer which works
for static models, so i could have a model of a plane, and then
individual models for each of the "moveable" elements.
Using this approach i believe that this would require that the axis of
rotation etc would need to be hardcoded into the source code for each
of the moveable items. Ideally i would like to say "plane.rudder.angle
= 5.0; plane.left_flap.angle = -1.0;" etc etc where "rudder" and
"left_flap" were "moveable" elements in the model. AFAIK, the level of
information to facilitate this is not contained in a 3DS model.
Is there a different file format that can be used in this instance?
Unfortunately i dont
really know what to search for on the net.
Thoughts/Recommendations appreciated.
Jason