[vtkusers] multiple actor/renderer pairs connectable to single mapper?
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Mon Mar 18 06:53:32 EST 2002
> I am plannig to use MFC with VTK, and I am wondering whether it is
*correct*
> to have multiple actors that belong to different renderwindows added to a
> single mapper.
No. Not correct. Each Renderwindow will have a different OpenGL context. The
mapper will create displaylists and the rest which will cause problems.
> >The safest thing to do is to use a separate mapper/actor/texture for each
> render window. The
> >mappers/actors/textures don't store too much information themselves (the
> data is kept in the data
> >set), so there is not too much overhead involved.
>
> Is this still true, or have things changed in vtk 4.0 times?
Still true
>
> If I need to have mapper/actor/renderwindow aggregates may I connect
> multiple mappers to a single dataset?
Yes.
JB
More information about the vtkusers
mailing list