[vtkusers] vtkLightKit and OffScreenRendering

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jan 19 10:43:31 EST 2006


Paul or Yianis,

	Could you add this to the bug tracker at: http://vtk.org/Bug so that we 
have at least a reference to this problem.

Thanks
Mathieu

Paul Tait - OPES wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list