[vtkusers] vtkRenderer Transparent

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Fri Jan 23 13:30:29 EST 2009


Hi All,

I have 2 vtkRenderer the second renderer is smaller and is above the first.

I would leave the second vtkRenderer transparent.

How can I do that ?

The code to Add second Renderer:

      ren = vtk.vtkRenderer()
      ren.SetViewport(0.83, 0, 1.0, 0.25)
      ren.SetLayer(0)
      ren.SetPreserveDepthBuffer(1)

     interactor.GetRenderWindow().AddRenderer(ren)

     interactor.Render()


Regards,
Paulo Amorim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090123/389101c8/attachment.htm>


More information about the vtkusers mailing list