Page 1 of 1

Joint OpenGL Stuff

PostPosted: Thu Mar 22, 2012 6:09 am
by LordSupremePerson
As I'm sure you have noticed in the slides, the joint draw function is left as an exercise to the reader. I have managed to dig up a website that makes it a bit more clear what the opengl stuff is. What they do is send the joint indicies and weights up as an attribute (just like position, uv, tex coords, color), and then send all the joints up in a large array as a uniform. Happy Coding!

Don't copy and paste their code, that would be foolish.