Exported B3D animation problem

Blitz3D Forums/Blitz3D Programming/Exported B3D animation problem

Pinete(Posted 2006) [#1]
Hi all,

I have a problem with a b3d model and its animation.
Basically the model shows two hands and a pistol.
The geometry of the hands is normal and the pistol too.
The pistol is linked the the right hand and both hands
are animated using bones and are independant.
The model has a scene root with all the elements attached as childs.

The problems comes when export.
I've tried with a lot of parametres but I don't achieve
to see the hands and two pistols in the screen.
The pistol starts its animation but the hands doesn't appear and trying other parametres, I achieve to see the geometry of the hands but without success at the moment of seeing them animated. The unique object that run the animation is the pistol and in the better case I can see
the hands, but static...

I've examining the help of b3d pipeline but all seems to be
correct... however the help mentions something about an option that make reference to "vertex weights" at the exporter dialog but I canoot see it... maybe it has something to do...

Please, someone could help me?

Thanks in advance!


Ricky Smith(Posted 2006) [#2]
Vertex weighting is not the problem. Sound like a problem with the hierarchy.
Can you explain the hierarchy a bit more - It's a bit confusing because you say that the hands are independant and then go on to say that all elements are children of a scene root - which one is it ? It can't be both.


Pinete(Posted 2006) [#3]
Yes, of course Smiff.

The skinned model is composed by two diferent meshes
and there is another one (the pistol) linked to one bone in the hierarchy (the right hand)
But all the bones are children of one unique scene root (a cube beetween the two hands).

The results trying to export this model are weird.

I've achieved to see the pistol animated but without the hands,
I've see the static hands and the animated pistol....


One thing is curious is that I can see at the B3D viewer
the complete animation working perfectly!! and really,
I'm quite confused because I'm not doing anything strange
with the model beyond loading it normally with the function
'Loadanimmesh()'...

I don't know at this moment if the issue could come from a wrong export settings or from the hierarchy...... or....

Is this explanation better??
Please ask me all that you need to give me a diagnostic!!!

Thanks in advance!


Ricky Smith(Posted 2006) [#4]
If its working ok in the B3d viewer then its probably ok - sometimes you need to use the animate command not on the mesh but on the root node or even on a child depending on how the animation was created.
Instead of Animate(meshname) try Animate(FindChild("rootnodename")).


Pinete(Posted 2006) [#5]
Now I'm accesing to the scene root and animating it.
Are you refering the way in which I should procced is:
- Loading the mesh
- Looking for the scene root
- Then, looking for the hands of pistol, and animating then
as separated entities with different 'animate' commands?

However, how could you explain the reason because if I export
the model in a standard way the hands doesn't appears and
only the pistol make the animation?

Thanks in advance again!


Ricky Smith(Posted 2006) [#6]
Try animating the scene root see if that works - you shouldn't need to animate the other nodes seperately if the hierarchy is correct. If that doesn't work, and if it's possible, send me the .b3d model and I'll have a look.
support@...


Pinete(Posted 2006) [#7]
Thanks a lot Smiff,
I will try to do it this night at home.
If I have some problem I will send you the model without any doubt,
...sure you will find it this night at your mail ;)
Thank you very much for your help and your attention!.

regards,