Hi, thanks in advance for taking the time to read this.
Recently I have been trying out PyOpenGL (Gotta use python for first year uni…no idea why I prefer java or C++)
So im writing a 3D maze application (or trying too) and have created a 4 x 4 matrix class with methods for multiplying, transposing etc. But when I try and load this with:
glLoadMatrixd(camera.transpose().getMatrix()
(From the documentation it appears I needed a transpose.
But this does not do anything, using glGet to write out the MODEL_VIEW matrix (even tried the PROJECTION matrix just incase) shows that it is always the same matrix - Nowhere near mine.
Python avoids the traps of C and is much less verbose than Java, so I consider it is useful as learning tool and for prototyping or gluing stuff together.
However when doing OpenGL, it does add a layer, and sometimes you have to struggle with it…