<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=734235903-19012006>Hi</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=734235903-19012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=734235903-19012006>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 <FONT 
face="Times New Roman" color=#000000 size=3>vtkLightKit </FONT>off before 
rendering off screen to force the use of the standard lights. Let me know how 
you go</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=734235903-19012006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=734235903-19012006>Paul 
Tait</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  vtkusers-bounces+paul=opes.com.au@vtk.org 
  [mailto:vtkusers-bounces+paul=opes.com.au@vtk.org] <B>On Behalf Of </B>Yianis 
  Nikolaou<BR><B>Sent:</B> Tuesday, 17 January 2006 7:33 PM<BR><B>To:</B> 
  vtkusers@vtk.org<BR><B>Subject:</B> [vtkusers] vtkLightKit and 
  OffScreenRendering<BR><BR></FONT></DIV>hi,<BR><BR>I'm using the vtkLightKit 
  class to adjust the lighting of my scene. <BR><BR>When I switch to 
  OffScreenRendering and use then vtkBMPWriter to get a screenshot,<BR>the 
  colors of the image are dimmed, as thought there was no lighting present. 
  <BR><BR>&nbsp;I also tried to use the 
  <BR>dynamic_cast&lt;vtkWin32OpenGLRenderWindow 
  *&gt;(renWin)-&gt;SetupMemoryRendering(size[0], size[1], 
  GetDC(p_hwnd));<BR>capability of the OPENGL32Window directly, with the same 
  poor results. <BR><BR>Any ideas?<BR><BR>VTK 5.1 (CVS updated on 
  10.01.06)<BR>VS 2003<BR>CMake 2.2 1-beta<BR><BR>thank you in 
  advance,<BR><BR>yianis<BR><BR><BR>
  <P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by 
  AVG Free Edition.<BR>Version: 7.1.375 / Virus Database: 267.14.19/231 - 
  Release Date: 16/01/2006<BR></FONT></P>
  <P><FONT face=Arial size=2></FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date: 18/01/2006<BR>
</FONT> </P>