[vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor?

Karthik Krishnan karthik.krishnan at kitware.com
Tue Nov 1 10:57:56 EDT 2011


Even if it did work, it'd be quite fragile. I can imagine timestamp checks
going wrong (these are used in the mapper to rebuild the geometric
primitives etc).

I can see LODActors getting messed up, when computing last render time from
a renderer, not realizing that its not the same renderer they rendered on
previously.

Its best to create an actor per render window.

--
karthik

On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd <lloyd at itis.ethz.ch> wrote:

> Hi****
>
> ** **
>
> I am working on an application with multiple render windows.****
>
> ** **
>
> Is it SAFE to use the same actor for each renderer/window, or should I
> create an actor per renderer?****
>
> ** **
>
> BTW. Currently it is OK if I have the same parameters (color, visibility,
> etc) in each renderer.****
>
> ****
>
> Thanks for any suggestions****
>
> ** **
>
> Bryn****
>
> ** **
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111101/016948a3/attachment.htm>


More information about the vtkusers mailing list