[vtkusers] vtkCameraPass / Multipass framework
Bryn Lloyd
lloyd at itis.ethz.ch
Wed Jun 1 09:42:58 EDT 2011
Hi
I have a question regarding the vtkCameraPass class.
In the documentation is says:
"It setups the projection and modelview matrices and can clear the
background It calls its delegate once. After its delegate returns, it
restore the modelview matrix stack.
Its delegate is usually set to a vtkSequencePass with a vtkLightsPass and a
list of passes for the geometry."
1. However, there is no parameter to choose if the background should
be cleared or not. How can I control this, and avoid the background being
cleared?
2. Also, how can I set the actual camera (vtkCamera). Should I create
one as usual, and add it to the renderer? (I am using the
vtkRenderPass::Render(vtkRenderState*) functions to call the individual
render steps.
Thanks for any hints or ideas
Bryn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110601/f2cd3e79/attachment.htm>
More information about the vtkusers
mailing list