Re: raycasting initially renders at low resolution
Cory Quammen via vtkusers <[email protected]> Tue, 19 Mar 2019 11:43:54 -0400
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CAB5Fpx7sUPirjn_cqq=e0BDS2GYaz0fyfaAG7smUQ-rP4b_2UA@mail.gmail.com> |
--===============0565063974== Content-Type: multipart/alternative; boundary="000000000000d864520584745fa2" --000000000000d864520584745fa2 Content-Type: text/plain; charset="UTF-8" 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 <[email protected]> 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. --000000000000d864520584745fa2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Woul= d you mind posting your question to <a href=3D"https://discourse.vtk.org">h= ttps://discourse.vtk.org</a>? Community support for VTK is transitioning to= that forum, and you are more likely to get an answer there.</div><div><br>= </div><div>Thanks,</div><div>Cory</div></div></div><br><div class=3D"gmail_= quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 19, 2019 at 11:27 = AM The Merper <<a href=3D"mailto:[email protected]">[email protected]</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div>Hi VTK-experts,</div><div>=C2=A0=C2=A0 I'm working o= n an app for viewing CT scans in 3D or 2D. When I initially render the CT s= can in 3D, the raycast rendering looks great (see the attached normalResolu= tion.png). However, when I switch from a 2D view (performed via a vtkImageV= iewer2) back to the 3D raycast rendering, the resolution is low (see the at= tached lowResolution.png). As soon as I interact with the 3D rendering, the= resolution returns to normal.</div><div>=C2=A0=C2=A0 Can anyone tell me ho= w to fix this? I have AutoAdjustSampleDistance set to "off" on th= e vtkFixedPointVolumeRayCastMapper that I'm using for the raycasting. I= would have thought that this would keep the resolution of the raycasting c= onstant.</div><div>=C2=A0=C2=A0=C2=A0 thank you in advance,</div><div>=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 -Merps<br></div></div> _______________________________________________<br> Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"= _blank">www.kitware.com</a><br> <br> Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c= om/opensource/opensource.html" rel=3D"noreferrer" target=3D"_blank">http://= www.kitware.com/opensource/opensource.html</a><br> <br> Please keep messages on-topic and check the VTK FAQ at: <a href=3D"http://w= ww.vtk.org/Wiki/VTK_FAQ" rel=3D"noreferrer" target=3D"_blank">http://www.vt= k.org/Wiki/VTK_FAQ</a><br> <br> Search the list archives at: <a href=3D"http://markmail.org/search/?q=3Dvtk= users" rel=3D"noreferrer" target=3D"_blank">http://markmail.org/search/?q= =3Dvtkusers</a><br> <br> Follow this link to subscribe/unsubscribe:<br> <a href=3D"https://vtk.org/mailman/listinfo/vtkusers" rel=3D"noreferrer" ta= rget=3D"_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitwar= e, Inc.</div> --000000000000d864520584745fa2-- --===============0565063974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0565063974==--