javascript - Animating JSON models without three.js -


i know can load json models in webgl, don't know how animate them if have rigged model loaded. there way of doing without three.js?

you can animate rigged model using three.js (however seem not want use built in functionality).

what three.js doing in background, passing matrix transforms (an array of matrices), , per vertex passes bone indexes (up 4) , bone weights vertex shader. in vertex shader, it's blending between matrices based on vertex weight , translating vertex. in theory can pass values vertex shader animate things. or use three.js animation routines.

it can use 2 methods store data. 1 method uses "image texture" stores matrix , fancy footwork turn image matrices in vertex shader. method passing uniform matrix array (for newer graphics cards preferred method).


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -