[vtkusers] vtkLightKit and OffScreenRendering

Yianis Nikolaou yianisn at gmail.com
Tue Jan 17 06:33:19 EST 2006


hi,

I'm using the vtkLightKit class to adjust the lighting of my scene.

When I switch to OffScreenRendering and use then vtkBMPWriter to get a
screenshot,
the colors of the image are dimmed, as thought there was no lighting
present.

 I also tried to use the
dynamic_cast<vtkWin32OpenGLRenderWindow
*>(renWin)->SetupMemoryRendering(size[0], size[1], GetDC(p_hwnd));
capability of the OPENGL32Window directly, with the same poor results.

Any ideas?

VTK 5.1 (CVS updated on 10.01.06)
VS 2003
CMake 2.2 1-beta

thank you in advance,

yianis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060117/60f5691e/attachment.htm>


More information about the vtkusers mailing list