[vtkusers] Rendering multiple volumes

Lisa Avila lisa.avila at kitware.com
Fri Oct 30 10:02:46 EDT 2015


Weiguang,

That should work - if you run into issues let us know.

Lisa


On Fri, Oct 30, 2015 at 9:24 AM, Weiguang guan <guanw at rhpcs.mcmaster.ca>
wrote:

> Actually both. However, rendering disjoint volumes is most needed in our
> application. I'll try the "back to front" rendering option. Thanks.
>
> Best,
> Weiguang
>
>
>
> On 29/10/2015 3:28 PM, Aashish Chaudhary wrote:
>
> On Thu, Oct 29, 2015 at 3:25 PM, Lisa Avila <lisa.avila at kitware.com>
> wrote:
>
>> Do you mean that the volumes overlap in 3D space, or just overlap in
>> image space? If the volumes overlap in image space (two disjoint volumes
>> where sometimes one is in front of the other) VTK does render this
>> correctly (you need to turn back to front rendering on in the culler in the
>> renderer). It is true that VTK does not correctly handle volumes that
>> overlap in 3D space, unless they are aligned and part of the same volume
>> (multiple components in one vtkImageData).
>>
>
> My understanding (based on some previous emails) is that they overlap in
> 3D space.
>
> - Aashish
>
>>
>>
>> Lisa
>>
>>
>> On Thu, Oct 29, 2015 at 11:59 AM, Weiguang guan <guanw at rhpcs.mcmaster.ca>
>> wrote:
>>
>>> There were a few posts in the past about this topic. The conclusion
>>> seemed to be that VTK didn't support multi-volume rendering in terms of
>>> proper visibility sorting/blending. I'm not sure it is still true.
>>>
>>> I've done a test where two partially overlapped volumes are used. I've
>>> found that only the texture mapping mapper can render them correctly. All
>>> the other mappers (GPU based or ray casting) always have one volume occlude
>>> the other one no matter what direction the camera is viewing.
>>>
>>> Is vtkImageOcclusionSpectrum designed for handling multiple volume
>>> rendering? Any comments will be appreciated. Thanks.
>>>
>>> Best,
>>> Weiguang
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader          | Kitware Inc.
> *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151030/8ff65275/attachment.html>


More information about the vtkusers mailing list