isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.32k stars 2.29k forks source link

How to transform each vertex of a mesh with a different transform matrix #6838

Open KamatMayur opened 3 months ago

KamatMayur commented 3 months ago

Checklist

My Question

I know that the whole mesh can be transformed by a single transformation matrix quickly. But how do I transform the vertices with different transformation matrices... if you haven't already figured out im basically doing skeletal animation, so each vertex gets transformed differently. I know I can just sequentially multiple the vertex with it's corresponding transformation... but this would be very slow. I need a faster method...

ssheorey commented 3 months ago

You can split the mesh into rigid parts - as long as a part is rigid, all vertices in it can be transformed with a single transformation matrix. (e.g. forearm, upper arm, lower leg, upper leg, etc.)