Hello!
ProTookit provides 2 matrices (retrieved with ProViewMatrixGet and ProWindowCurrentMatrixGet) which describe model projection from 3D model coordinates to graphics window. These matrices are some abstraction and cannot be explicitly used to set up OpenGL matrices.
In case user addin needs to render additional custom graphics, which shared the same 3D model space, one have to figure out in all the details how transformations Solid CS -> Screen CS -> Window CS -> window pixels are designed behind the scenes. This is actuall gettign harder with perspective projection.
There are 3 suggested ideas:
Thank you in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.