dancasas / SMPLitex

SMPLitex – Official implementation
92 stars 7 forks source link

About animation #6

Closed stephan000 closed 3 months ago

stephan000 commented 5 months ago

Can you tell me how to make an animation like the one in your demo video?

dancasas commented 5 months ago

You can create animations by rendering the SMPL meshes in different poses. You can see an example of articulating the SMPL mesh below, where we change the pose parameters 47 and 50 to create an A-pose.

https://github.com/dancasas/SMPLitex/blob/0476822a8273f96ee8ab3463560d6968c46697c7/scripts/render_results.py#L27-L35

To load animations, you can download the AMASS dataset, which provides animations in SMPL pose parameters in npz format.