[vtkusers] Change background-color of rendering window

Rashed Karim rashed.karim at gmail.com
Wed Sep 6 06:29:37 EDT 2006


Hi Marc,

Thanks for your reply. I tried using the SetBackground function but whatever
color (r,g,b) i set it to, always produces the white background. Any ideas
as to why ?

Thanks.
Rashed

On 9/5/06, Marc Cotran <marc at cotran.ca> wrote:
>
> 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
>
>


-- 
Rashed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060906/33c78afd/attachment.htm>


More information about the vtkusers mailing list