Re: Animations in TopDown
Terrific example Petr.
I suggest all to visit Petr forum and download the example.
Re: Animations in TopDown
Very nice example. For mechanical models very good.
Re: Animations in TopDown
For meshes, where the limbs are initialy connected, you will see gabs between the faces depending on the angle of the corresponding limbs. I think that it has something to do with how you store the vertex position for each face seperate. Looking at the setup of a model file, I think you do. ;)
Like I mentioned before that this is redundant data storage, it also gives you a big problem for animation of meshes with a continues skin. Maybe I' wrong, I don't know the insides of TBGL that well (actually nothing of it) :)
1 Attachment(s)
Re: Animations in TopDown
Hi Mike,
Using this layer definition it is simply per block, so gaps appear, I know it.
But if you define the bones using boxes ( one vertice can be in multiple bones ) no gaps appear.
To see it please see attached script, the guy is hole less :)
Only problem is how to get which vertices are controlled by which bone, if it would be possible to rig character in for example Blender ( as you suggested on messenger ) and then pass it ... we would be done :)
I would just add TBGL_DefBoneAddVertex or something like that.
Bye,
Petr
P.S. You are right about redundancy in some cases :-[, but on other side it gives more freedom on vertex color for example
P.P.S. I know my animation makes people wonder if the guy does have some health problems :)
Re: Animations in TopDown
Evere now and than you come out with such a present.
I cannot imagine how many scripts you have already created :D
Re: Animations in TopDown
Great :o I will have to study the code so I can see how bones work in this. Looks great!
Re: Animations in TopDown
thanks :)
Trick is in overlaping the bounding boxes.
Bye,
Petr
Re: Animations in TopDown
Quote:
Originally Posted by Psch
thanks :)
Trick is in overlaping the bounding boxes.
Bye,
Petr
Of course they have to :)
Re: Animations in TopDown
AMAZING!! And such nice demos too besides the abilities shown!!