[vtkusers] How to avoid been covered about two vtkRenderers in one renderWindow

louiskoo 419655660 at qq.com
Mon Jun 24 21:15:23 EDT 2013


vtkRenderWindow renderWindow = renderWindowControl1.RenderWindow;
            vtkRenderer renderer1 = vtkRenderer.New();
            renderer1.SetBackground(0.2, 0.3, 0.4);
            renderer1.AddActor(actor1);
            //renderer1.AddActor(actor2);

            vtkRenderer renderer2 = vtkRenderer.New();
            renderer2.SetBackground(0.2, 0.3, 0.4);
            renderer2.AddActor(actor2);
            renderWindow.AddRenderer(renderer1);
            renderWindow.AddRenderer(renderer2);



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-avoid-been-covered-about-two-vtkRenderers-in-one-renderWindow-tp5721579.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list