<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">If you want to use the depth map to
improve some rendering, I would recommend trying the multipass framework.</font>
<br><font size=2 face="sans-serif">You can have a look in the Example/Plugin/RenderPassViews
directory in the sources, or you can have some higher level description
at <br>
http://www.vtk.org/Wiki/VTK/MultiPass_Rendering<br>
<br>
Stephane</font>
<br>
<table>
<tr valign=top>
<td rowspan=2><font size=2 face="sans-serif">&nbsp;</font><img src=cid:_1_0B1DA4380B1DA050004C0889C12577F2><font size=2 face="sans-serif">
</font>
<td><font size=1 face="sans-serif">&nbsp;</font>
<tr valign=top>
<td><font size=1 color=#ff8100 face="Arial"><b>Stephane PLOIX</b></font><font size=1 color=#ff8100 face="Arial"><b><br>
Pilote Opérationnel - Visualisation scientifique</b></font><font size=1 color=#0062e1 face="Arial"><br>
EDF - R&amp;D<br>
SINETICS<br>
1, Av du Général de Gaulle<br>
92140 Clamart</font><font size=1 color=#0062e1 face="sans-serif"><br>
 </font>
<br><font size=1 color=#0062e1 face="Arial"><b>stephane.ploix@edf.fr</b></font>
<br><font size=1 color=#0062e1 face="Arial">Tél. : +33 (0) 1 47 65 51
10</font>
<tr>
<td valign=top><font size=2 face="sans-serif">&nbsp;</font><img src=cid:_1_0B1DB34C0B1DAF64004C0889C12577F2><font size=2 face="sans-serif">
</font>
<td><font size=1 color=#0062e1 face="Arial">Un geste simple pour l'environnement,
n'imprimez ce message que si vous en avez l'utilité.</font></table>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>dave.demarle@kitware.com</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : paraview-bounces@paraview.org</font>
<p><font size=1 face="sans-serif">07/12/2010 14:21</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">baaden@smplinux.de</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">paraview@paraview.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [Paraview] How to generate a depth
map from a ParaView scene</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>I'ld try this path:<br>
<br>
from the python shell get a hold of the current render view proxy</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.paraview.org/ParaQ/Doc/Nightly/html/classvtkSMRenderViewProxy.html><font size=3 color=blue><u>http://www.paraview.org/ParaQ/Doc/Nightly/html/classvtkSMRenderViewProxy.html</u></font></a><font size=3><br>
<br>
from that get a hold of the vtkRenderWindow</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html><font size=3 color=blue><u>http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html</u></font></a><font size=3><br>
<br>
on that call GetZBufferData<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<br>
</font>
<br><font size=3>On Tue, Dec 7, 2010 at 4:07 AM, Marc Baaden &lt;</font><a href=mailto:baaden@smplinux.de><font size=3 color=blue><u>baaden@smplinux.de</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3><br>
Hi,<br>
<br>
We are experimenting with some 3D visualization of data/paraview scenes,
where we need<br>
both an image of the scene and the corresponding depthmap (or z-buffer;
grayscale image<br>
where each pixel color corresponds to the distance from the camera viewpoint).<br>
<br>
I was wondering how to achieve such a depthmap within paraview (from some
3D data such<br>
as a surface or a polygonal object). I guess such a filter does not exist
right out of<br>
the box?<br>
<br>
Probably the elevation filter could be used for this, but I was wondering
how I could get<br>
it to use the right axis (perpendicular to the screen from the camera position)?<br>
Thanks in advance for any hints.<br>
<br>
Kind regards,<br>
Marc Baaden<br>
<br>
_______________________________________________<br>
Powered by </font><a href=http://www.kitware.com/ target=_blank><font size=3 color=blue><u>www.kitware.com</u></font></a><font size=3><br>
<br>
Visit other Kitware open-source projects at </font><a href=http://www.kitware.com/opensource/opensource.html target=_blank><font size=3 color=blue><u>http://www.kitware.com/opensource/opensource.html</u></font></a><font size=3><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: </font><a href=http://paraview.org/Wiki/ParaView target=_blank><font size=3 color=blue><u>http://paraview.org/Wiki/ParaView</u></font></a><font size=3><br>
<br>
Follow this link to subscribe/unsubscribe:</font><font size=3 color=blue><u><br>
</u></font><a href=http://www.paraview.org/mailman/listinfo/paraview target=_blank><font size=3 color=blue><u>http://www.paraview.org/mailman/listinfo/paraview</u></font></a>
<br><tt><font size=2>_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.paraview.org/mailman/listinfo/paraview<br>
</font></tt>
<br><font face="monospace"><br>
<br>
<br>
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.<br>
<br>
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.<br>
<br>
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.<br>
____________________________________________________<br>
<br>
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.<br>
<br>
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.<br>
<br>
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.</font>