World camera orientation matrix?

Where in the code is the orientation matrix for the camera? I have tried setting 2 vectors of backEnd.viewParms.world.axis to the up and lookat vectors of my camera (I’m adding another renderer) but it doesn’t work.

Thanks

tr.viewParms.world.modelMatrix is the modelview/view matrix for the camera.

1 Like