[vtkusers] [NEWBIE] shaded background etc

Jeff Baumes jeff.baumes at kitware.com
Tue May 5 14:33:31 EDT 2009


On Tue, May 5, 2009 at 1:26 PM, Andrew Cunningham <andrewc at mac.com> wrote:

> - Our 3D window has a shaded background (done through openGL). A search for
> "shaded background" showed only 1 unanswered post on this topic in 2002 and
> it involved modifying a core VTK class using similar OGL commands. I can't
> see anyway to do this easily using VTK
>

VTK does support simple top-to-bottom shaded background. Take a look at the
SetGradientBackground method:
http://www.vtk.org/doc/nightly/html/classvtkViewport.html

-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090505/8798827f/attachment.htm>


More information about the vtkusers mailing list