[vtkusers] [VtkEdge] VTKEdge volume mapper cannot work with multiple render window?

Francois Bertel francois.bertel at kitware.com
Thu Nov 6 10:32:44 EST 2008


True for the dataset itself in RAM, not when the dataset is loaded as
a 3D texture. In this scenario, you have one dataset in RAM, and two
3D texture in VRAM.

On Thu, Nov 6, 2008 at 10:29 AM, Wes Turner <wes.turner at kitware.com> wrote:
>
>
> On Thu, Nov 6, 2008 at 10:21 AM, AGPX <agpxnet at yahoo.it> wrote:
>>
>> >> You are posting to the wrong mailing list. VTKEdge has its own one:
>>
>> Oh, sorry for this. I'll post VTK related questions to that mailing list
>> from now.
>>
>> >> I think if it worked with vtkOpenGLVolumeTextureMapper3D it was by
>> >> chance. You cannot reuse the same mapper in two different render
>> >> window. At the OpenGL level a
>> >> render window is attached to one OpenGL context and each mapper caches
>> >> some OpenGL resources specific to this OpenGL context.
>>
>> This is a severe limitation, because if you want to render 2 (or more)
>> views of the volumetric data, you need to allocate it two (or more) times
>> and this is quite prohibitive in most scenario.
>>
>> Anyway, thanks for the reply,
>>
>> - AGPX
>
> Why is this prohibitive?  My understanding is that multiple mappers can
> share the same input, so this does not require that all the pipeline be
> replicated, just the actor and mapper code ... These are relatively compact.
>
> - Wes
>
>>
>>
>> ________________________________
>> Da: Francois Bertel <francois.bertel at kitware.com>
>> A: vtkusers at vtk.org
>> Cc: vtkedge at vtkedge.org
>> Inviato: Giovedì 6 novembre 2008, 16:16:56
>> Oggetto: Re: [VtkEdge] [vtkusers] VTKEdge volume mapper cannot work with
>> multiple render window?
>>
>> You are posting to the wrong mailing list. VTKEdge has its own one:
>> http://www.vtkedge.org/vtkedge/help/mailing.html
>>
>> I think if it worked with vtkOpenGLVolumeTextureMapper3D it was by
>> chance. You cannot reuse the same mapper in two different render
>> window. At the OpenGL level a
>> render window is attached to one OpenGL context and each mapper caches
>> some OpenGL resources specific to this OpenGL context.
>>
>>
>> On Thu, Nov 6, 2008 at 5:30 AM, AGPX <agpxnet at yahoo.it> wrote:
>> > Hi,
>> >
>> > I have tried the vtkKWEVolumeMapper to perform volume rendering and it
>> > works
>> > right with only one view (a single render window). But If I try to use
>> > the
>> > same instance of vtkKWEVolumeMapper with two separate Renderer (with two
>> > new
>> > RenderWindow), the application crash. I haven't this problem with
>> > vtkOpenGLVolumeTextureMapper3D. Someone can confirm that
>> > vtkKWEVolumeMapper
>> > have this limitation? Any workaround?
>> >
>> > Thanks in advance,
>> >
>> > - AGPX
>> >
>> > ________________________________
>> > Scopri la community di Io fotografo e video
>> > Il nuovo corso di Gazzetta dello sport per diventare veri fotografi!
>> > _______________________________________________
>> > 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
>> >
>> >
>>
>>
>>
>> --
>> François Bertel, PhD  | Kitware Inc. Suite 204
>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>                       | Clifton Park NY 12065, USA
>> _______________________________________________
>> VtkEdge mailing list
>> VtkEdge at vtkedge.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge
>>
>> ________________________________
>> Scopri la community di Io fotografo e video
>> Il nuovo corso di Gazzetta dello sport per diventare veri fotografi!
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Wesley D. Turner, Ph.D.
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x120
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list