Animation...? HELP!
Blitz3D Forums/Blitz3D Beginners Area/Animation...? HELP!
| ||
Hi i'm completely new to blitz or any programing lanquage so expect some realy stupid questions, Anyhow i made an animation in milkshape and exported it as an x file how do i import it into my project. Any help here would be great! |
| ||
Hi "Da MaN" - welcome to Blitz. You'll find info on the loading meshes and stuff here: http://www.blitzbasic.com/b3ddocs/command_list_3d_a-z.php?show=L Just post again if you need more help - LoadAnimMesh, similar to LoadMesh, Loads a mesh from an .X, .3DS or .B3D file and returns a mesh handle. There is example code in there. |
| ||
i convert to .b3d but i guess its the same for an animated .x file mymesh = LoadAnimMesh("mymesh.b3d") ;---------------------------------------------- ; grab the anim frames idle=ExtractAnimSeq(mymesh,1,20) ; first frame/last frame of anim cycle walk=ExtractAnimSeq(mymesh,21,30) run=ExtractAnimSeq(mymesh,31,45) ..and so on Animate mymesh,1,.6,walk,7 ; for example may help :) |
| ||
I thought an .X file can't have animation? |
| ||
I use animated .X files in Blitz3D |
| ||
A signature is small sentence or image thats place at the end of every post you make. I dont have one, but lots of people do. |
| ||
"Da MaN" - If you click on the 'Account' button at the top of the site and then 'Edit profile' you can then type in a signature or link something in. |
| ||
Blitz supports heirarchy (older style) animation with the .x file format. It supports both heirarchy and skeletal animation with b3d file format. Since you are using Milkshape, and Milkshape can export b3d file format, you should use b3d. |
| ||
Erm guys.. The "And by the way whats a signature? ??? " IS his signature ;) |
| ||
That's why signatures should look different from the body of the post (like mine). |
| ||
LOL @ the signature confusion I agree with WolRon, can you do that with your signature Sybixsus? I must have read it about 3508 times by mistake ;) |
| ||
Heh sure. |
| ||
I just meant stick it in a quote box, not the line thingy ;) 10/10 for effort though :D |
| ||
Thanks alot guys on on my way to brighter blitz future! |
| ||
And the way i chose my signature to cause the very confusion that its just cause! |
| ||
Im changing my signiture sorry bout the confusion. |