[vtkusers] Actors to busy drinking in the green room??

John Platt jcplatt at dsl.pipex.com
Wed Mar 1 14:31:45 EST 2006


Hi Mark,

I am not sure if the same mapper/actor is being rendered in the
different views but you could try
vtkMapper::GlobalImmediateModeRenderingOn().

HTH

John.

-----Original Message-----
From: vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf Of
Mark Gooding
Sent: 01 March 2006 14:30
To: vtkusers
Subject: [vtkusers] Actors to busy drinking in the green room??

Hello all,

I have a rather bizarre effect going on with actors diasspearing /
changing colour without user prompting (generally as a result of
rotation/dollying). I'm rather lost as to why it is occuring.

I'm using the MFC document-view arcitecture, and have 4 views, all
containing the vtkRenderers. The aim is to have each view containing
the same scene viewed from a different aspect. To save memory (and
time) the document is responsible for creating each of the vtkActors
within the scene. These are then passed (well a pointer to them is
passed), on request, to each view so that the actor can be added to
its renderer.

This seems to work ok, except that when I perform some interaction on
a view, some actors disappear or change color from view I'm
interacting with. I'd appeciate some suggestions - I'm sure it will
relate to how I'm passing actors around, but I don't see why it
should?!

If you need any more information about what I've done, feel free to
ask....

I've example results on
http://www.robots.ox.ac.uk/~gooding/vtkbizarre.html

Cheers,

Mark
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list