kaiidams / FreeHand-Dataset

Synthesized hand pose images generated by Blender
MIT License
9 stars 5 forks source link

The algorithm apart from pythonic code #6

Open rohitdavas opened 2 years ago

rohitdavas commented 2 years ago

Hi,

It looks like you have done many things apart from pythonic code. Most important being on how to generate hand poses, as fingers have so much degree of freedom.

Question 1 : I appreciated what you have done with bones, such that the series-1 bones movement control the series 2, 3 bones. Could you explain how you did it ? I can see that the bones that are green are frozen from manual pose change. How did you make their movement proportional to finger-*-1 movement ?

Question 2 : You added bone to connect to camera, which I am guessing controls the position such that the random movements of the camera will keep the hand in view. Would you explain why and how you did it ?

Question 3 : for thumb you have added a separate bone that controls the three bones. Why ? It the thumb-1 bone not sufficient as in the cases of other bones ?

I really appreciate your work. Having a full pythonic version logic from start ( I mean the bone setups, new bone creation, etc. such that importing from collada file and running the whole logic over it ) could help everyone more to understand what you have done and could make it scalable. I am trying to do so.

I will appreciate if you could add few resources to understand the concepts of what you have done.

Thanks,

image

kaiidams commented 2 years ago

Question 1 : The green bones have copy rotation constraints (https://docs.blender.org/manual/en/latest/animation/constraints/transform/copy_rotation.html).

Question 2 : You are correct. The hand rotates in the global space and the camera rotates relative to the hand. The lights don't move. This makes pictures of various light angles and hand angles.

Question 3 : In general in Blender, it is recommended to have bones for mesh deformation and another bone to control them with constraints. The control bones for four fingers are omitted because they are just copy rotations with 100% influence in hand.blend.

Thank you for proposal about more documentation, I'll try to add more.