How do you animate a .3ds file in a 3d game???

Blitz3D Forums/Blitz3D Beginners Area/How do you animate a .3ds file in a 3d game???

SpaceMan94(Posted 2008) [#1]
How do I animate a .3ds file in my 3d game????????????


Ross C(Posted 2008) [#2]
Why do you have so many question marks?

:o)

Use the extractanimseq commands, and use the "Animate" command to animate your entity, ensuring you call updateworld() every loop.


Moraldi(Posted 2008) [#3]
As far as I know 3DS files are not support skeletal animations
You need to break the model into separate objects and animate them in your favourite animation program.
Then you can follow Ross C's guideline inside code


Dreamora(Posted 2008) [#4]
3DS does not support any animation that can be called like that.
The only thing it does is keyframe based object transformation (position, scale, rotation), thats all.

For animated models, you must use X/MD2 (for mesh deformation animation) or B3D (for bone based animation)


Gabriel(Posted 2008) [#5]
Just MD2 for mesh deformation animation, not x.


Ross C(Posted 2008) [#6]
You can use .3ds and .x for animating. If you in the examples that come with blitz, it's in the LoadAnimMesh() and animates a 3ds mesh very nicely :o)