[vtk-developers] ImageSampleDistance not used in vtkOpenGLGPURayCastMapper?
Elvis Stansvik
elvis.stansvik at orexplore.com
Mon Feb 13 06:55:16 EST 2017
2017-02-13 12:54 GMT+01:00 Elvis Stansvik <elvis.stansvik at orexplore.com>:
> I was digging through the code trying to understand how the
> auto-adjustment of sample distance and image sample distance takes
> place in the GPU volume ray cast mapper. From the looks of it, the
> ImageSampleDistance is not respected by this mapper, even in the
> non-automatic case, or am I missing something?
Sorry, with "non-automatic case" I mean when AutoAdjustSampleDistance is Off.
Elvis
>
> The only role ImageSampleDistance seems to play for this mapper is
> when the reduction factor is calculated (when auto-adjustment is
> turned off):
>
> if ( !this->AutoAdjustSampleDistances )
> {
> this->ReductionFactor = 1.0 / this->ImageSampleDistance;
> return;
> }
>
> Elvis
More information about the vtk-developers
mailing list