Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
KamatMayur opened this issue Jun 21, 2024 · 1 comment
Open
3 tasks done
Labels

Comments

@KamatMayur
Copy link

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
Copy link
Member

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants