[vtkusers] raycasting initially renders at low resolution

The Merper msmerps at gmail.com
Tue Mar 19 11:27:02 EDT 2019


Hi VTK-experts,
   I'm working on an app for viewing CT scans in 3D or 2D. When I initially
render the CT scan in 3D, the raycast rendering looks great (see the
attached normalResolution.png). However, when I switch from a 2D view
(performed via a vtkImageViewer2) back to the 3D raycast rendering, the
resolution is low (see the attached lowResolution.png). As soon as I
interact with the 3D rendering, the resolution returns to normal.
   Can anyone tell me how to fix this? I have AutoAdjustSampleDistance set
to "off" on the vtkFixedPointVolumeRayCastMapper that I'm using for the
raycasting. I would have thought that this would keep the resolution of the
raycasting constant.
    thank you in advance,
      -Merps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190319/4262f641/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lowResolution.png
Type: image/png
Size: 77735 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190319/4262f641/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: normalResolution.png
Type: image/png
Size: 76644 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190319/4262f641/attachment-0003.png>


More information about the vtkusers mailing list