mscreen icon indicating copy to clipboard operation
mscreen copied to clipboard

Move transformation to gl model matrix?

Open csaez opened this issue 8 years ago • 1 comments

Right now I'm multiplying the points by the transformation matrix in python-land, it works ok-ish for very simple primitives but it wont scale at all (it's kind of a hack to be honest). It would be great if the transformation is handled in the gpu by gl (especially when dealing with meshes and more data per primitive).

Said that, I have no idea if openmaya's view/renderer allows to go to that level, I've to take a look.

csaez avatar Sep 03 '16 13:09 csaez

using the old pipeline you should be able to have push and pop of perspective matrices rather than do it yourself, if we upgrade to use sharers then the matrix is just an argument. Agreed the more we do on the gpu the better.

Also one improvement might be to have c++ command tho kick the draw? so the python will be just a tiny wrapper? of course we move into the land of having and distributing a plugin.

giordi91 avatar Sep 04 '16 14:09 giordi91