[vtkusers] Re: How set render-background as color-gradient

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Oct 24 17:31:05 EDT 2006


Jens wrote:
> I only found this on the net - who recommends to use a vtkImageActor for
> a color-gradient-background in VTK.
> (http://public.kitware.com/pipermail/vtkusers/2005-February/078369.html)
> 
> But (1) using a vtkImageActor to create a color-gradient-background is
> not very satisfying, because by changing the camera-position the user
> could reach it and move through it.
> And (2) a pixel-based image looks kind of rough in a rendered world.
> 
> Any others ideas for a color-gradient-background in a render-window?
Hi Jens,

Have a look here at a tcl example:
http://www.bioengineering-research.com/vtk/BackgroundGradient.tcl

hth

Goodwin




More information about the vtkusers mailing list