How to get transformed vertices for skinned mesh
How to get transformed vertices for skinned mesh
How would I get the transformed vertices for a skinned mesh for a specific frame of animation?
Re: How to get transformed vertices for skinned mesh
You call setCurrentFrame, OnAnimate and then getMesh. The way that animation system works the original mesh is not really kept (at least not directly, it's still there in some other representation via the keys) and instead the mesh is modified each frame.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: How to get transformed vertices for skinned mesh
Thanks. For some reason, I can get through the complex stuff but I struggle with the simple stuff.