[vtkusers] vtkLightKit and OffScreenRendering

Paul Tait - OPES Paul at opes.com.au
Wed Jan 18 23:01:24 EST 2006


Hi
 
I can confirm that this happens but no one knows why!!!! I asked the group
about this over a year ago and the only suggestion was to turn the
vtkLightKit off before rendering off screen to force the use of the standard
lights. Let me know how you go
 
Paul Tait

-----Original Message-----
From: vtkusers-bounces+paul=opes.com.au at vtk.org
[mailto:vtkusers-bounces+paul=opes.com.au at vtk.org] On Behalf Of Yianis
Nikolaou
Sent: Tuesday, 17 January 2006 7:33 PM
To: vtkusers at vtk.org
Subject: [vtkusers] vtkLightKit and OffScreenRendering


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




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date: 16/01/2006





-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date: 18/01/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060119/aebdedfb/attachment.htm>


More information about the vtkusers mailing list