I would have two renderers, layer 0 and layer 1, both will cover the same viewport. Put what you want to be the background on a quad or a 2D image data in layer 0 and set layer 0's camera to show it exclusively. Then render the scene in layer 1. Layer 1's background will not be drawn, but objects in layer 1 will appear in front of the image from layer 0.<br>
<br clear="all">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 11:28 AM, Giancarlo Amati <span dir="ltr"><<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hello Users,<br><br>this is question already occurred many times, so please forgive me.<br>I have an image, how can I set it as a background of my renderwindow?<br><br>and the rendering my dataset as usual.<br><br>Kind regards.<br>
<font color="#888888">Giancarlo<br>                                            </font><div class="hm"><br><hr>Troppe caselle di posta? <a href="http://www.windowslive.it/hotmail/GestisciAltriAccount.aspx" target="_blank">Gestiscile da Hotmail!</a></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>