[vtkusers] Change background-color of rendering window

Marc Cotran marc at cotran.ca
Tue Sep 5 09:37:47 EDT 2006


Rashed Karim wrote:
>
> A very trivial question. Is there a way to change the color of the 
> rendering window. My renderings appear on a black background. I want 
> to change this background color to some other color.
Take a look at vtkViewport->SetBackground().

vtkRenderer inherits vtkViewport.

Marc




More information about the vtkusers mailing list