Hello,
@Klasker: I really would like to use your scene node, but currently I must use Java in conjunction with Jirr for the project. If I would use your node, I must recompile the Java binding... too complicated at the moment
@Baal Cadar:
since a fairly long time, I'm trying to get an animated direct x file animation into my Irrlicht program.
I used the Panda DirectX Exporter (
http://www.andytather.co.uk/Panda/directxmax.aspx). First, I tried a normal keyframe animation, but it did not work. Then I tried to get a bone animation running, but without success. The model is always still, like it is just displaying the frame 0, skipping all animations.
This is the code, I'm using to load the model/animation:
Code: Select all
IAnimatedMesh mesh = scene.getMesh( "c:/temp/myAnimation.x" );
IAnimatedMeshSceneNode node = scene.addAnimatedMeshSceneNode( mesh );
node.setFrameLoop(0, 100);
node.setMaterialFlag( E_MATERIAL_FLAG.EMF_LIGHTING, false );
(It's java code, cause I use Jirr, but you will surely understand it)
These are my settings for the Exporter:
I really can't get it working and I must finish it until this weekend
May you have a look at the settings? Perhaps you can say, what I'm doing wrong. In the 3DMax scene, there is just one simple model with 3 bones, and only one of the bones is moving (the bone translates along the x axis from frame 0 to frame 50 or so).
Thanks a lot for your help!