Animation problem (B3D and X)

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
fuego2008
Posts: 22
Joined: Wed Sep 24, 2008 7:26 pm

Animation problem (B3D and X)

Post by fuego2008 »

Hi!

I have made a model in 3D Studio Max 7, setup bones, skin modifier and animation. It is a quite low poly model with very low res textures. Everything works fine, but when I attempt to export it via either Blender Pipeline or Panda .X Exporter, I get my model messed up. You can download both results (.X, .B3D, and some of textures) from the following address:

http://fuego2008.250free.com/web.zip

Because it is on a free hosting site, it makes you 15 seconds wait and gives "CLICK TO DOWNLOAD" button on very bottom, so please do not get confused with the download. If you attempt to load it from either irrEdit or from your code, you see everything is messed up. I don't mean textures, but I mean the overall shape. Anyway, if you try to load it you'll see.

What am I doing wrong? Why my models get messed up in both B3D and X formats? I have already had trouble with Microsoft's fancy .X format (as Microsoft's other pest products) but this is the first time I have trouble with .B3D format. If you need, I can send it as MAX project.

Any help would greatly be appreciated, because my project is stuck on animated models phase.

Thanks
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post by B@z »

hi
i had a same problem before.
In my case the problem was that i put diferent materials to one group.
if you do that, there will be vertices what are belong to different mesh buffers at the same time.
first remove all the UV maps and materials and try with that. if it's working, then this is your problem
if not working then i dunno xD
fuego2008
Posts: 22
Joined: Wed Sep 24, 2008 7:26 pm

Post by fuego2008 »

Great thanks b@z, I will try it and post the result here
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I've just checked your b3d file. It seems that the animations are corrupted, because when setting the framerate to 0 you get a properly shaped horse and the person on top. I guess this could be a problem (but it's due to the modeller, there's no programatical way out)
"B3dMeshLoader: Warning, different meshbuffers linking to the same vertex, this will cause problems with animated meshes"

The .x file seems to have some scale problems. We're aware of this problem, but did not yet solve it properly. But any input will bring us nearer to a final solution...
fuego2008
Posts: 22
Joined: Wed Sep 24, 2008 7:26 pm

Post by fuego2008 »

I have found a solution for my problem, you can view it at:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=30484

Great thanks for your effort
Post Reply