[vtkusers] vtkVolumeTextureMapper3D in VTK 7.1?

Simon Esneault simon.esneault at gmail.com
Thu Apr 6 04:28:13 EDT 2017


Hello Alvaro

Thanks for your work, this looks promising !!
I have a few questions:

- Will this work as well with real number, not only integers ? Let's say an
ImageSampleDistance of 1.4 ? Like it is possible for the
FixedRayCastVolumeMapper.

- Will there be a mechanism that can make some use of this during
interaction, like the Fixed ray cast mapper ? There are these methods
called SetMinimumImageSampleDistance/SetMaximumImageSampleDistance,
together used with the SetInteractiveSampleDistance they gives us a great
flexibility over the tuning of the rendering during interaction. Will there
be an equivalent mechanism with the GPU implementation ?

- I always found the naming ImageSampleDistance quite confusing, shouldn't
that be renamed to ImageSampling or something else to avoid confusion with
the SamplingDistance ? RenderedImageSampling/FinalImageSampling vs
RaySampling ?

- The current implementation is mixing the 2 parameters, it looks like the
SamplingDistance along the ray is clamped using the
Minimum/MaximumImageSampleDistance
right now (line 3008 of the vtkOpenGLGPUVolumeRayCastMapper.cxx). Is this
intended ?

- Does that works with the jittering option enabled ?

Thanks a lot for that work, we will benefit a lot from that :)

Simon

2017-03-31 18:34 GMT+02:00 Alvaro Sanchez <alvaro.sanchez at kitware.com>:

> Here is the merge request:
>
> https://gitlab.kitware.com/vtk/vtk/merge_requests/2641
>
> On Wed, Mar 8, 2017 at 11:08 AM, Alvaro Sanchez <
> alvaro.sanchez at kitware.com> wrote:
>
>> Thanks for the interest. There is no branch yet but I will ping you once
>> you can try it out.
>>
>> > Also in that case would it be possible to add a final "gaussian
>> smoothing
>> > pass" or equivalent only on the 2D generated image (maybe only as an
>> option)
>>
>> The first version will most likely only support linear interpolation, but
>> will keep this in mind.
>>
>>
>> On Wed, Mar 8, 2017 at 8:04 AM, Elvis Stansvik <
>> elvis.stansvik at orexplore.com> wrote:
>>
>>> 2017-03-08 11:16 GMT+01:00 Simon ESNEAULT <simon.esneault at gmail.com>:
>>> > Hello Alvaro,
>>> >
>>> > That's real good news to hear (about the down-sampling in X and Y), I
>>> find
>>> > it really difficult to tweak volume rendering only with sample
>>> distance,
>>> > especially during interaction.
>>> > Has the development began already ? Is there some branche where we can
>>> test
>>> > that feature ?
>>> >
>>> > Also in that case would it be possible to add a final "gaussian
>>> smoothing
>>> > pass" or equivalent only on the 2D generated image (maybe only as an
>>> option)
>>> > ? I look like it is the case with FixedPointVolumeraycastMapper, the
>>> image
>>> > looks a bit blurred but sometimes it helps to see the structures
>>>
>>> I'm also very interested in this. I'm using vtkGPUVolumeRayCastMapper,
>>> and I'm currently turning off the automatic adjustment of sample
>>> distance during interaction and resorted to doing my own simpler
>>> adjustment. I'm simply quadrupling the sample distance during
>>> interaction (for still rendering I use
>>> (spacingX+spacingY+spacingZ)/6). I'd love to have another quality
>>> controlling knob to turn.
>>>
>>> Is there a MR up for it already? Will it be in 7.2?
>>>
>>> Elvis
>>>
>>> >
>>> > Thanks
>>> > Simon
>>> >
>>> >
>>> > 2017-03-06 18:17 GMT+01:00 Alvaro Sanchez <alvaro.sanchez at kitware.com
>>> >:
>>> >>
>>> >> Hi Shark,
>>> >>
>>> >> unfortunately there is no current plan of porting
>>> vtkVolumeTextureMapper3D
>>> >> to OpenGL2
>>> >> , as far as I know.  We will soon however support image down sampling
>>> in X
>>> >> and Y which
>>> >> should serve as additional knobs to tweak the performance of
>>> >> GPURayCastMapper in
>>> >> OpenGL2 (only sample distance can be currently adjusted).
>>> >>
>>> >> Could you provide more detail on the size of the dataset you are
>>> rendering
>>> >> and your GPU
>>> >> specs?
>>> >>
>>> >> Thanks,
>>> >> Álvaro
>>> >>
>>> >> On Mon, Mar 6, 2017 at 10:30 AM, Shark <m.nunes at fratoria.com> wrote:
>>> >>>
>>> >>> Hello,
>>> >>>
>>> >>> I have been having some issues with vtkVolumeTextureMapper3D. I see
>>> it
>>> >>> has
>>> >>> been deprecated, however it is still available if I use the old
>>> openGL.
>>> >>>
>>> >>> Since for software rendering with texture mapping is much faster
>>> than ray
>>> >>> casting, I would like to know if you are planning to have a Volume
>>> >>> Texture
>>> >>> Mapper for openGL 2, or if there is actually a new one that I am not
>>> able
>>> >>> to
>>> >>> find.
>>> >>>
>>> >>> Best regards,
>>> >>> Shark
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> View this message in context:
>>> >>> http://vtk.1045678.n5.nabble.com/vtkVolumeTextureMapper3D-in
>>> -VTK-7-1-tp5742368.html
>>> >>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>> >>> _______________________________________________
>>> >>> 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
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Alvaro Sanchez
>>> >> Kitware, Inc.
>>> >> Senior R&D Engineer
>>> >> 21 Corporate Drive
>>> >> Clifton Park, NY 12065-8662
>>> >> Phone: 518-881-4901
>>> >>
>>> >> _______________________________________________
>>> >> 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
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > ------------------------------------------------------------------
>>> > Simon Esneault
>>> > Rennes, France
>>> > ------------------------------------------------------------------
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>>
>>
>>
>>
>> --
>> Alvaro Sanchez
>> Kitware, Inc.
>> Senior R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4901 <(518)%20881-4901>
>>
>
>
>
> --
> Alvaro Sanchez
> Kitware, Inc.
> Senior R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4901
>



-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170406/aed31834/attachment.html>


More information about the vtkusers mailing list