I am using 3ds max8. I have drawn a chest with a cover. It has an animation such that the cover will open around the hinge. And I have two problems...
1. after I export to .x file using panda exporter, I import it into the irrEdit. However, the animation style is different from what I want. The whole chest including the base rotates. However, I tried to save the .x file in the mesh viewer again, and it looks better. Yet, the pivot of the cover isn't at the hinge. So I am thinking of it is a pivot position problem. But I don't know how to fix it. I have reset the pivot in 3ds max already. Any extra procedure I need to do to match the pivot with irrEdit? Also I have use mesh viewer to open the .x file and it animates correctly, just it gets wrong when in irrEdit.
2. I tried to use B3D pipeline. From the provided viewer, the animation is correct. But when I import to the irrEdit, it does not animate. What's the problem? I am just using the default setting.
Thanks for helping me.
pivot problem?
Re: pivot problem?
I'm not an expert on the matter, but Irrlicht (and IrrEdit) treats B3D not as a scene format (as it would be with Blitz3D), but as a mesh format only. So you can import animated B3Ds with bones only, transform animation for objects like moving and rotating gets lost, because they aren't objects (scenenodes) anymore when importing, but parts of the mesh. You have to use other formats, like Colada, or rewrite the B3D importer.happyer wrote:2. I tried to use B3D pipeline. From the provided viewer, the animation is correct. But when I import to the irrEdit, it does not animate. What's the problem? I am just using the default setting.
I wished Irrlicht would treat B3Ds otherwise, too. Because I want to export my models with props, which I can hide if I want to, but this isn't really possible with Irrlicht. :(