[Plib-users] accessing the camera-/modelview-matrix
Brought to you by:
sjbaker
From: Volker P. <pop...@in...> - 2002-01-05 22:47:13
|
I'm playing around with plib/ssg in combination with Qt. I wonder why there is no method to directly set the cameraMatrix in ssgContext. I want to apply my own modelview transformation after i've set up the camera with setCameraLookAt(). getModelViewMatrix() gets me the current cameraMatrix, but how do i set it after i have applied my multiplication to it? Calling glSetMatrixf( myMatrix ) doesn't help cause ssgCullAndDraw( ) will set cameraMatrix as model-view-matrix again. Is this a missing feature or is there a smarter way to do it? greetings .......Volker |