World camera orientation matrix?


#1

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


#2

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