[vtkusers] raycasting initially renders at low resolution

Cory Quammen cory.quammen at kitware.com
Tue Mar 19 11:43:54 EDT 2019


Hello,

Would you mind posting your question to https://discourse.vtk.org?
Community support for VTK is transitioning to that forum, and you are more
likely to get an answer there.

Thanks,
Cory

On Tue, Mar 19, 2019 at 11:27 AM The Merper <msmerps at gmail.com> wrote:

> 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
> _______________________________________________
> 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:
> https://vtk.org/mailman/listinfo/vtkusers
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190319/c0b636bd/attachment.html>


More information about the vtkusers mailing list