[vtkusers] vtkMultiVolume and shading

Sankhesh Jhaveri sankhesh.jhaveri at kitware.com
Tue Apr 24 10:16:53 EDT 2018


Hi Csaba,

Programming wise, the missing component is support for calculating
gradients across different volumes in the shader composer.

Please feel free to report bugs on VTK’s issue tracker. If it is a
relatively simple thing, we can fix it quickly.

Thanks,
Sankhesh
​

On Tue, Apr 24, 2018 at 9:15 AM Csaba Pinter <csaba.pinter at queensu.ca>
wrote:

> Hi Sankhesh,
>
>
>
> Thanks for the quick answer! Just in a nutshell, what would be needed to
> do programming-wise to add shading in the code?
>
>
>
> Also I’m wondering if the situation about funding applies to bugfixes as
> well? I am struggling with issues related to per-volume visibility and user
> transforms, and I think I’ll get back to you soon with self-contained test
> cases once I was able to figure out which of these are on the VTK side and
> how to reproduce them easily.
>
>
>
> Thanks,
>
> csaba
>
>
>
> *From:* Sankhesh Jhaveri <sankhesh.jhaveri at kitware.com>
> *Sent:* Monday, April 23, 2018 21:15
> *To:* Csaba Pinter <csaba.pinter at queensu.ca>
> *Cc:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] vtkMultiVolume and shading
>
>
>
> Hi Csaba,
>
> I don’t believe there is a technical limitation. It was merely that the
> original effort for adding multiple overlapping volumes support was focused
> on selected features. I am not aware of current efforts/funding to add
> support for additional features like shading, different blend modes, etc.
>
> Thanks,
> Sankhesh
>
>>
>
>
> On Mon, Apr 23, 2018 at 3:45 PM Csaba Pinter <csaba.pinter at queensu.ca>
> wrote:
>
> Hello,
>
>
>
> I’m experimenting with using vtkMultiVolume to add proper multi-volume
> rendering support into 3D Slicer. My main question is the reason behind
> this actor not supporting shading, as apparent when used, but also
> mentioned in the corresponding test:
>
>
> https://github.com/Kitware/VTK/blob/master/Rendering/Volume/Testing/Cxx/TestGPURayCastMultiVolumeOverlapping.cxx#L229
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKitware%2FVTK%2Fblob%2Fmaster%2FRendering%2FVolume%2FTesting%2FCxx%2FTestGPURayCastMultiVolumeOverlapping.cxx%23L229&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=BzBxWsRJBeTCZlDe0GkyvNWx5hCLc1XrO84qbwXEOcQ%3D&reserved=0>
>
> Is this a technical limitation that would be very hard to overcome, or is
> it something simpler? I’m asking this because for this actor to be really
> used for volume rendering, shading would be necessary.
>
>
>
> Thank you,
>
> Csaba
>
> _______________________________________________
> Powered by www.kitware.com
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=57Yq0VwIuZoeWe6KkNXsY7naiVKGKBUmhHhhwijll1Q%3D&reserved=0>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=piDoF9cjGhhOydqZs6ZdS6YDn2dg3bCuq%2BC1EQsJpts%3D&reserved=0>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=pO6if26SgR5OfmQM8OrelscD8FRphSKWL4o90TIRtFQ%3D&reserved=0>
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=rwDWu2sG2f0X%2BjM%2ByOT1zKvrWJTwfyIVjX93O7IaAGg%3D&reserved=0>
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=e0OEG5WLJ0lXdlP322JW5qZ20fMJDbcRLS6cL6nnirM%3D&reserved=0>
>
> --
> Sankhesh Jhaveri
> *Sr. Research & Development Engineer* | Kitware
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2F&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=cJxaH8qjP42kC3pmhbtpaFcfpAshEgSCANwA%2FzfrVF0%3D&reserved=0>
> | (518) 881-4417
>
>>
-- 
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180424/bc22bad6/attachment.html>


More information about the vtkusers mailing list