some questions about skeleton animation.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
seeking
Posts: 7
Joined: Sun May 02, 2010 7:02 am

some questions about skeleton animation.

Post by seeking »

hi guys, i export .x files from 3ds max(panda directx), and it works when i code like "smgr->addAnimatedMeshSceneNode(smgr->getMesh("sth.X"));", but the txture is strange, i try to use "meshNode->getMaterial(0).setTexture(0, texture)" to set a new texture, but it doesn't work, why? the size of animatedNode' animator is zero, buy it's playing, why? thank you very much!
Scarabol
Posts: 167
Joined: Sat Jan 03, 2009 5:26 pm
Location: Aachen, Germany

Post by Scarabol »

hi,

if its not to complicated post your code here, that makes it easy to help you.

What is in the console output? Maybe the texture ist not loaded?

MfG
Scarabol
Irrlicht 1.7.2
Eclipse
Boost
seeking
Posts: 7
Joined: Sun May 02, 2010 7:02 am

Post by seeking »

thanks for your reply, i tried to display the .x file in directx viewer, i found it is different from 3ds max. i think something wrong when exporting from 3ds max, but i don't know where is wrong.
Scarabol
Posts: 167
Joined: Sat Jan 03, 2009 5:26 pm
Location: Aachen, Germany

Post by Scarabol »

If x file is in text mode post it here or send me via pm ill check it.

MfG
Scarabol
Irrlicht 1.7.2
Eclipse
Boost
Post Reply