<div>thanks Jeff for adding&nbsp;this to the bug tracker. </div>
<div>&nbsp;</div>
<div>From your previous reply I understand that any custom light </div>
<div>I add in my scene will not work when i use OffScreenRendering.</div>
<div>&nbsp;</div>
<div>Is this correct?</div>
<div>&nbsp;</div>
<div>regards,</div>
<div>yianis<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/19/06, <b class="gmail_sendername">Jeff Lee</b> &lt;<a href="mailto:jeff@cdnorthamerica.com">jeff@cdnorthamerica.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I submitted this as a bug (#2741).<br>Regards,<br>Jeff<br><br>Mathieu Malaterre wrote:<br><br>&gt; Paul or Yianis,
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Could you add this to the bug tracker at: <a href="http://vtk.org/Bug">http://vtk.org/Bug</a> so<br>&gt; that we have at least a reference to this problem.<br>&gt;<br>&gt; Thanks<br>&gt; Mathieu<br>&gt;
<br>&gt; Paul Tait - OPES wrote:<br>&gt;<br>&gt;&gt; Hi<br>&gt;&gt;<br>&gt;&gt; I can confirm that this happens but no one knows why!!!! I asked the<br>&gt;&gt; group about this over a year ago and the only suggestion was to turn
<br>&gt;&gt; the vtkLightKit off before rendering off screen to force the use of<br>&gt;&gt; the standard lights. Let me know how you go<br>&gt;&gt;<br>&gt;&gt; Paul Tait<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; -----Original Message-----
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *From:* vtkusers-bounces+paul=<a href="mailto:opes.com.au@vtk.org">opes.com.au@vtk.org</a><br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; [mailto:<a href="mailto:vtkusers-bounces+paul=opes.com.au@vtk.org">vtkusers-bounces+paul=opes.com.au@vtk.org
</a>] *On Behalf Of<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Yianis Nikolaou<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Sent:* Tuesday, 17 January 2006 7:33 PM<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *To:* <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Subject:* [vtkusers] vtkLightKit and OffScreenRendering
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; hi,<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; I'm using the vtkLightKit class to adjust the lighting of my scene.<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; When I switch to OffScreenRendering and use then vtkBMPWriter to get
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; a screenshot,<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; the colors of the image are dimmed, as thought there was no lighting<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; present.<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I also tried to use the<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; dynamic_cast&lt;vtkWin32OpenGLRenderWindow
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; *&gt;(renWin)-&gt;SetupMemoryRendering(size[0], size[1], GetDC(p_hwnd));<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; capability of the OPENGL32Window directly, with the same poor<br>&gt;&gt; results.<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Any ideas?
<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; VTK 5.1 (CVS updated on 10.01.06)<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; VS 2003<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; CMake 2.2 1-beta<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; thank you in advance,<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; yianis<br>&gt;&gt;<br>&gt;&gt;
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; No virus found in this incoming message.<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Checked by AVG Free Edition.<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date:<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; 16/01/2006
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; No virus found in this outgoing message.<br>&gt;&gt; Checked by AVG Free Edition.<br>&gt;&gt; Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date:<br>&gt;&gt; 18/01/2006
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; This is the private VTK discussion list. Please keep messages
<br>&gt;&gt; on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list. Please keep messages<br>&gt; on-topic. Check the FAQ at: 
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>&gt;<br>&gt;<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>