Hi all,
I'm now facing another problem with my B3D model. It is built using 3ds max 2008. And I use the Blitz3D to export it into B3D format, and load it into the game. It becomes this:
And there is an error message in the console:
"B3dMeshLoader: Weight has bad vetex id (no link to meshbuffer index found)"
The 3D model is skinned with the built-in Biped, and all weights are already normalized to 1.
I've tried a lot of ways but still can't figure out the reason, so I have no choice but to post it here...
Thanks for reading this...
Why is my B3D model corrupted in Irrlicht?
-
- Posts: 5
- Joined: Tue Jan 22, 2008 5:27 am
I've seen this console error before as well with one of my b3ds, don't know why though.
As it suggests the weight for that vertex which isn't animating has a bad vertex id so it doesn't get linked to that vertex and hence not animated so it stays where it is whilst the others move with the animation.
No idea why though, hopefully the devs can help out!
As it suggests the weight for that vertex which isn't animating has a bad vertex id so it doesn't get linked to that vertex and hence not animated so it stays where it is whilst the others move with the animation.
No idea why though, hopefully the devs can help out!
Luke is the man for B3D stuff, but I'll make some suggestions anyway-
First prove that it isn't a problem with your exporter. If I remember correctly there is an official B3D viewer on the blitz3d website. If it animates correctly in blitz then it isn't a problem with 3D Studio Max or the exporter, so it must be a problem with Irrlicht's B3D loader or SkinnedMesh animator.
Secondly, please provide a link to your mesh. This will give anyone who is interested in the problem a head start at fixing it. If you are paranoid about people using or sharing your mesh, put your info and terms in a readme.txt in the zip file, for example: "Mesh copyright 2008 shingoshing. you may only use this mesh for testing and debugging the Irrlicht Engine's mesh loaders"
First prove that it isn't a problem with your exporter. If I remember correctly there is an official B3D viewer on the blitz3d website. If it animates correctly in blitz then it isn't a problem with 3D Studio Max or the exporter, so it must be a problem with Irrlicht's B3D loader or SkinnedMesh animator.
Secondly, please provide a link to your mesh. This will give anyone who is interested in the problem a head start at fixing it. If you are paranoid about people using or sharing your mesh, put your info and terms in a readme.txt in the zip file, for example: "Mesh copyright 2008 shingoshing. you may only use this mesh for testing and debugging the Irrlicht Engine's mesh loaders"
-
- Posts: 5
- Joined: Tue Jan 22, 2008 5:27 am
Here is my 3d model:
B3D Format, MAX Format
I have not found the B3D viewer yet, but there is no problem with aother model...
So I guess the problem only occurs in this model.
Thanks anyway!
B3D Format, MAX Format
I have not found the B3D viewer yet, but there is no problem with aother model...
So I guess the problem only occurs in this model.
Thanks anyway!
Native .b3d engine (Blitz3D) can't load your model. Try to set all weights to 1. Also tell me Max's object name which contains "unweighted" vertex (something like "Bip01 L Thigh"). Can you provide this model in max7 version?
Unfortunately your model have some other issues... Probably .b3d format (currently?) is not best choise for Irrlicht. Try Panda .x exporter for 3d Studio Max...
Unfortunately your model have some other issues... Probably .b3d format (currently?) is not best choise for Irrlicht. Try Panda .x exporter for 3d Studio Max...