View Single Post
  #2  
Old 07-13-2012, 09:10 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Have you tried using the viz.MainWindow.setProjectionMatrix() command?

Code:
ObliqueProjectionMatrix = [
2n/(r-l), 0 , (r+l)/(r-l) , 0,
0 , 2n/(t-b), (t+b)/(t-b) , 0,
P31 , P32 , P33 , P34,
0 , 0 , -1 , 0
]

viz.MainWindow.setProjectionMatrix(ObliqueProjectionMatrix)
Just make sure the projection matrix is a 16 item 1-dimensional array.
Reply With Quote