jit.gl.node like nested 3D transformations on matrix / cpu side?
Sep 15 2015 | 4:05 am
Due to the fact that jit.gl.model won't load vertex colors in obj/ply/dae etc models, I've had to manually make a ascii file format for my vertices and colors that basically mirrors jit.fprint.
So now I can load my models with colors. However, jit.gl.model @matrixoutput 2 - allowing me to output *transformed* vertices was really handy. So much so, that Its not clear I can move forward without it
Is there a method to manually concatenate 3D transformations (rotation, scale, translation) onto a jit.matrix 3 float32 in such a way that it would be the same as just asking jit.gl.node to do it?
Also, jit.gl.node @matrixoutput 2 + jit.gl.node matrix in support would solve this *really* intuitively and nicely. Just a thought.
Thanks for any ideas.