<br><font size=2 face="sans-serif">Hi David,</font>
<br>
<br><font size=2 face="sans-serif">If you look in the VTK CVS, there is
a possibility to override the renderer calls, by giving it a "vtkRenderPass"
in which you can do whatever you like.</font>
<br><font size=2 face="sans-serif">Look for vtkRenderPass in the subdirectory
"Rendering", and have a look at the tests in VTK/Rendering/Testing/Cxx/TestBlurAndSobelPass.cxx
and TestShadowMapPss.cxx for examples.</font>
<br>
<br><font size=2 face="sans-serif">Stephane<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>jeff.baumes@kitware.com</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : vtkusers-bounces@vtk.org</font>
<p><font size=1 face="sans-serif">19/10/2009 16:17</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">dfeng@cs.unc.edu</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">vtkusers@vtk.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: [vtkusers] custom renderer in vtkRenderView</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>No, not currently. I'd suggest either making the subclass
from vtkView<br>
itself, or possibly subclass vtkRenderView but in the constructor you<br>
could remove the default renderer and replace it with your own.<br>
<br>
Jeff<br>
<br>
On Wed, Oct 14, 2009 at 9:51 AM, David Feng <dfeng@cs.unc.edu> wrote:<br>
> I'd like to write a view that uses a custom renderer, but right now
it's not<br>
> clear that there's a way to override the renderer created by default
for a<br>
> vtkRenderView. The custom renderer redirects the rendering into
a frame<br>
> buffer object and draws the output onto screen-filling quad.<br>
> Is there a way to plug this renderer into vtkRenderView?<br>
><br>
> Thanks,<br>
> David<br>
> _______________________________________________<br>
> Powered by www.kitware.com<br>
><br>
> Visit other Kitware open-source projects at<br>
> http://www.kitware.com/opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> http://www.vtk.org/Wiki/VTK_FAQ<br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> http://www.vtk.org/mailman/listinfo/vtkusers<br>
><br>
<br>
<br>
<br>
-- <br>
Jeff Baumes, Ph.D.<br>
R&D Engineer, Kitware Inc.<br>
(518) 881-4932<br>
jeff.baumes@kitware.com<br>
_______________________________________________<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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
</font></tt>
<br><pre>
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.
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.
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.
____________________________________________________
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.
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.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
</pre>