pivot problem?

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
happyer
Posts: 17
Joined: Wed Aug 15, 2007 2:07 pm

pivot problem?

Post by happyer »

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.
Yusaku
Posts: 8
Joined: Sun Jun 10, 2007 3:43 am

Post by Yusaku »

well, i got the same problem like you... it seems like the problem of panda exporter. If anyone find a solution for this, please tell...

by the way, finally, we used lightwave to make the model and have not problem at all
shogun
Posts: 162
Joined: Wed Sep 05, 2007 11:02 am
Location: inside

Re: pivot problem?

Post by shogun »

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'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.
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. :(
Post Reply