Hi everyone, <div><br></div><div>I am attempting to implement some specific PROJECTION and VIEW matrices. </div><div><br></div><div>Reviewing the vtkCamera class documentation you can call getProjectionTransformMatrix, however, this returns a vtkPerspectiveTransform class object (vtkTransform for the VIEW matrix). </div>
<div><br></div><div>When debugging single step on a simple example (<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Tutorial/Step4/Cxx/Cone4.cxx;h=d6ae8f5a4cd3e0b19328effea5d97883d369efe4;hb=HEAD">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Tutorial/Step4/Cxx/Cone4.cxx;h=d6ae8f5a4cd3e0b19328effea5d97883d369efe4;hb=HEAD</a>) I was only able to notice the vtkPerspectiveTransform objects but not their matrices... </div>
<div><br></div><div>Can anyone suggest how I could interrogate the final PROJECTION and VIEW matrix just before the render is actually done? </div><div><br></div><div>I'd like to make sure I am setting up everything correctly to some OpenGL code I have. </div>
<div><br></div><div>Hope you can help, </div><div><br>Sergio </div>