Milkshape Animation Export

Blitz3D Forums/Blitz3D Beginners Area/Milkshape Animation Export

Paul Murray(Posted 2006) [#1]
Can anyone post a link to a tutorial on exporting an animation from MS3D so it works in Blitz, if one exists.

I'm having trouble getting an animation to export correctly (or maybe I'm not using the correct code (LoadAnimMesh)).

Thanks


Ricky Smith(Posted 2006) [#2]
First off you will need to download the .b3d exporter for Milkshape available on the 'Specs and utils' page.
Export from Milkshape as .b3d and it should work fine with LoadAnimMesh().
Only issue with animation in Milkshape is that it doesn't support vertex weighting but that shouldn't be a problem for simple models.


Paul Murray(Posted 2006) [#3]
My model is basically a helicopter, with 2 moving parts (top and tail rotars). I've animated it so both the rotars rotate once, that's the actual animation.

I've downloaded the *.b3d exporter in case I was using an old version, but I'm still having no luck.

I'm guessing I'm not exporting the animation correctly.


Ross C(Posted 2006) [#4]
Can you post the helicopter model for others to try?


Paul Murray(Posted 2006) [#5]
It took me a while to remember my old Geocities login...

http://www.geocities.com/bruise_pristine2003/apache.zip

*Edit*
Forgot to add the MS3D file too

http://www.geocities.com/bruise_pristine2003/apache_ms3d.zip

Hopefully it should work.


Ross C(Posted 2006) [#6]
Ok, the export is fine. You have 4 frames, including frame 0. Frame zero seems like a stop frame, nothing is happening, so i extracted frames 1 to 3. Seems to work fine. You need to turn the speed down. See my code for what i mean :o)

www.rosscrooks.pwp.blueyonder.co.uk/code.zip


Paul Murray(Posted 2006) [#7]
Brilliant, that's a big help.

Thanks so much