I had this code working a long time ago, although it's only been until recently that it's began to work again because of code revisions. In the scene I load a lightwave scene file and a mesh and then correctly animate it on screen. The nice part about it is that the vertex transformations are being done with a vertex shader, so most of the load is moved off of the CPU. The green lines represent the bones.
@bharathbunny perform an inverse transform on each vertex using the bone's matrix. At least, that's the basic principle.
Hxrmn 1 year ago
is there a tutorial some where for this ?? i can load models and do basic transformations but i dont understand how to do bone transformations???
bharathbunny 1 year ago