Mesh animation
Mesh animation
Hi.
I have a mesh model that have some animations with the names ('walk', 'attakc', 'die').
How i can change my model animation by code with irrlicht?
Ty
I have a mesh model that have some animations with the names ('walk', 'attakc', 'die').
How i can change my model animation by code with irrlicht?
Ty
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
well it seems you didn't read irrlicht tutorials
anyway all irrlicht needs to know is the animation beginning and ending frame
and to play the animation(ex walk which begins at frame 30 and ends at frame 75) all u need to do is this :
and to set animation speed:
reference: irrlicht tutorial no 4
anyway all irrlicht needs to know is the animation beginning and ending frame
and to play the animation(ex walk which begins at frame 30 and ends at frame 75) all u need to do is this :
Code: Select all
node->setFrameLoop(0, 14);
Code: Select all
node->setAnimationSpeed(15);
Hi.
The file is supported, i see the model, is a ninja, but it is stand and stoped.
You can download the game preview and the model here:
http://www.prsolucoes.com/downloads/evangel-debug.zip
The ninja model that i talk about is in the path 'dados/modelos/ninja.mesh'
Can you test for me?
The file is supported, i see the model, is a ninja, but it is stand and stoped.
You can download the game preview and the model here:
http://www.prsolucoes.com/downloads/evangel-debug.zip
The ninja model that i talk about is in the path 'dados/modelos/ninja.mesh'
Can you test for me?
Hi, here is my game prototype.
Basic but im progressing:
http://www.prsolucoes.com/downloads/evangel3d.exe
Basic but im progressing:
http://www.prsolucoes.com/downloads/evangel3d.exe
Re: Mesh animation
Along the lines of "node->setFrameLoop(x,y)", will this code work for the files of .3ds?
-
- Posts: 51
- Joined: Tue Jan 02, 2007 11:04 pm
- Location: huntington beach
Re: Mesh animation
.3ds files don't support animation.
Programmers are merely tools to convert caffeine into code.
Re: Mesh animation
I see. In that case, is there any way you can work animation with 3ds max files? Perhaps save as a different file format?
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Mesh animation
export to b3d
it's simple. and if 3ds MAX xan't do that. import the 3ds file in blender and export as b3d
it's simple. and if 3ds MAX xan't do that. import the 3ds file in blender and export as b3d
"this is not the bottleneck you are looking for"