<br><font size=2 face="sans-serif">Hi John,</font>
<br>
<br><font size=2 face="sans-serif">I see two solutions to your pb : </font>
<br><font size=2 face="sans-serif">1/ you can setup special keys to tell
the renderpass if a given actor should be rendered or not by this pass.
You can then branch your renderpasses on two paths, one that does your
special compositing and post-processing on the actors that you flagged
with the special key, one that does traditionnal rendering for all other
actors, and you then need to compose the 2 resulting images.</font>
<br>
<br><font size=2 face="sans-serif">2/ You could setup an internal renderpass
on your mapper that uses the IceT compositing mechanism, apply your post-processing
internally, then render the result of this compositing on the current framebuffer.</font>
<br>
<br><font size=2 face="sans-serif">Option 2 should be better since your
render effect seems to be actor-centric.<br>
Best,</font>
<br><font size=2 face="sans-serif">Stephane<br>
<br>
</font>
<table>
<tr valign=top>
<td rowspan=2><img src=cid:_1_098F6430098F6048004A8DBAC1257917>
<td><font size=1 face="sans-serif"> </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>
Chef de groupe</b></font><font size=1 color=#0062e1 face="Arial"><br>
EDF – R&D / SINETICS<br>
Réalité virtuelle et visualisation scientifique<br>
1, av du General 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. : 01 47 65 51 10</font>
<tr>
<td>
<div align=right><img src=cid:_1_098F7318098F6F30004A8DBAC1257917></div>
<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>biddisco@cscs.ch</b> </font>
<br><font size=1 face="sans-serif">Envoyé par : paraview-bounces@paraview.org</font>
<p><font size=1 face="sans-serif">25/09/2011 22:15</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">kmorel@sandia.gov, paraview@paraview.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<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] non ordered composite
distributor and IceT</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3 color=#004080 face="Calibri">Ken</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">After looking through the
sources a little more, I see that the example plugin RenderPassViews does
something similar to what I’m after. It add a render pass at the end which
applies an edge detection algorithm, This happens after compositing –
which is what I need.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">However, this renderpass
applies to all mappers/actors in the renderer/view, so if I used this strategy,
then my post processing RGB correction from the mapper+compositing would
happen to all actors, and this is no good.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">So it looks like what I want
to do won’t be possible, because there’d be no way to composite one actor
individually and then blend with the others later.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Since you don’t know what
it is I’m trying to do, it is probably unclear, but in short, the mapper
renders the data on each process, and after all RGB images are summed in
the compositing phase a correction must be applied to the RGB values (but
its not commutative, so can’t be applied on each process individually).
(unless I modify the algorithm which might be possible, I’ll check on
this)</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">One approach might be to
add a separate pass which renders only the special geometry, but I suspect
this will be too hard because the blending phases would all need to be
tweaked so that the compositing happened twice (?) – once for the special
stuff, once for everything else.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Can you tell if I’ve I understood
things properly from my suppositions above, and if so, any other tips I
might look into before I consider algorithmic changes.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">Thanks</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">JB</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 face="Tahoma"><b>From:</b> Moreland, Kenneth [mailto:kmorel@sandia.gov]
<b><br>
Sent:</b> 21 September 2011 22:30<b><br>
To:</b> Biddiscombe, John A.; paraview@paraview.org<b><br>
Subject:</b> Re: [Paraview] non ordered composite distributor and IceT</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">John,</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">If you look more closely, you should see
that the data is only distributed when transparency is on. If everything
is opaque, then everything stays where it is. If I remember correctly,
there is a flag in vtkOrderedCompositeDistributor that turns it to a pass-through
filter. It's implemented like this because it's more convenient than
changing around the internal pipeline. If you never have to do ordered
compositing, you could just remove this filter. Likewise, you can
set the parallel render manager to do non-ordered compositing and just
forget about the parallel k-d tree.</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">-Ken</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri"><b>From: </b>"Biddiscombe, John A."
<</font><a href=mailto:biddisco@cscs.ch><font size=3 color=blue face="Calibri"><u>biddisco@cscs.ch</u></font></a><font size=3 face="Calibri">><b><br>
Date: </b>Wed, 21 Sep 2011 19:55:19 +0000<b><br>
To: </b>"</font><a href=mailto:paraview@paraview.org><font size=3 color=blue face="Calibri"><u>paraview@paraview.org</u></font></a><font size=3 face="Calibri">"
<</font><a href=mailto:paraview@paraview.org><font size=3 color=blue face="Calibri"><u>paraview@paraview.org</u></font></a><font size=3 face="Calibri">><b><br>
Subject: </b>[Paraview] non ordered composite distributor and IceT</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">Can anyone point me to an example of a
representarion which interacts with IceT in any n on standard way. Geometry
and UGVolume Representations use a vtkOrderedCompositeDistributor and then
IceT takes over.</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">I’d like toe skip the vtkOrderedCompositeDistributor
(which is ok), but I’m not sure how to interact with IceT and see how
it doe the image summation etc.</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">Are there any odd representations out there
I can use as examples?</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">Thanks</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">JB</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Courier New">-- </font>
<br><font size=3 face="Courier New">John Biddiscombe,
email:biddisco
@ cscs.ch</font>
<br><a href=http://www.cscs.ch/><font size=3 color=blue face="Courier New"><u>http://www.cscs.ch/</u></font></a>
<br><font size=3 face="Courier New">CSCS, Swiss National Supercomputing
Centre | Tel: +41 (91) 610.82.07</font>
<br><font size=3 face="Courier New">Via Cantonale, 6928 Manno, Switzerland
| Fax: +41 (91) 610.82.82</font>
<br><font size=3 face="Calibri"> </font>
<br><font size=3 face="Calibri">_______________________________________________
Powered by www.kitware.com Visit other Kitware open-source projects at
</font><a href=http://www.kitware.com/opensource/opensource.html><font size=3 color=blue face="Calibri"><u>http://www.kitware.com/opensource/opensource.html</u></font></a><font size=3 face="Calibri">
Please keep messages on-topic and check the ParaView Wiki at: </font><a href=http://paraview.org/Wiki/ParaView><font size=3 color=blue face="Calibri"><u>http://paraview.org/Wiki/ParaView</u></font></a><font size=3 face="Calibri">
Follow this link to subscribe/unsubscribe: </font><a href=http://www.paraview.org/mailman/listinfo/paraview><font size=3 color=blue face="Calibri"><u>http://www.paraview.org/mailman/listinfo/paraview</u></font></a><font size=3 face="Calibri">
</font><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>