Dear David;<br><br>Last 2 weeks I'm pursuing to get vtkOpenGLGPUVolumeRayCastMapper properly working on Mac OS X. In respect to that consider the following:<br><br>1) vtkOpenGLGPUVolumeRayCastMapper has been moved to VTK repository, but it still can be found at <br>
<br>"<a href="https://www.kitware.com/svn/KWPublic/trunk/VTKEdge-5-4-0/">https://www.kitware.com/svn/KWPublic/trunk/VTKEdge-5-4-0/</a>" instead of <a href="https://www.kitware.com/svn/KWPublic/trunk/VTKEdge/">https://www.kitware.com/svn/KWPublic/trunk/VTKEdge/</a><br>
<br>2) The error you are facing is probably a consequence of the following statements in  vtkKWEOpenGLGPUVolumeRayCastMapper.cxx<br><br>#ifdef __APPLE__<br>
this->LoadExtensionsSucceeded = 0;<br><div>return;<br>#endif<br><br>3) This was placed to avoid a bug in NVidia driver for Snow Leopard (a infinite loop) but such statements were also affecting Leopard.<br><br>4) Today, I saw that these statements were removed from vtkKWEOpenGLGPUVolumeRayCastMapper.cxx. So after updating your source code, you will probably be able to get GPU-based Ray Cast working in Leopard but not yet in Snow Leopard. <br>
<br>5) However, I'm facing two problems that I'm not able to set them as VTKEdge issues or new NVidia bugs in Mac OS X. <br><br>a) GPU-based Ray Cast is not working for DICOM CT datasets that have more than 170 images (aprox.) and are 512x512 in size. Resultant volume is very "scratched".<br>
<br>b) Shading (3D Textures, etc) doesn't work as well. Interacting with the volume is very compromised, I can say impossible.<br><br>6) I run the same tests on Linux and everything went fine.<br><br>7) I tried VolView 3.2, which, in principle, relies on the same approach (perhaps, the same library) for performing GPU-based Ray Cast, but it crashes when GPU support is active. My guess this is caused by the statements mentioned in 2). <br>
<br>8) More on this you will find on my submissions to the VTKEdge mailing list: <br><br></div><a href="http://public.kitware.com/pipermail/vtkedge/2010-February/000295.html">http://public.kitware.com/pipermail/vtkedge/2010-February/000295.html</a><br>
<a href="http://public.kitware.com/pipermail/vtkedge/2010-February/000296.html">http://public.kitware.com/pipermail/vtkedge/2010-February/000296.html</a><br><br>Hope it helps you.<br><br>Best Regards<br><br>Fauze<br><br><br>
<div class="gmail_quote">On Fri, Feb 19, 2010 at 3:04 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm seeing the following error when I try to use the new GPU ray cast<br>
mapper on my Mac.  The last time that I tried VTKEdge on this machine<br>
(a few weeks ago) there were no problems.<br>
<br>
<br>
ERROR: In /Volumes/Work/Kitware/vtk-cvs/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx,<br>
line 4128<br>
vtkOpenGLGPUVolumeRayCastMapper (0x10081a000): Rendering failed<br>
because the following OpenGL extensions are required but not<br>
supported:<br>
<br>
Segmentation fault<br>
<br>
<br>
There are also some rendering errors related to combined clipping and<br>
cropping that I see under Linux.  Cropping blocks being displayed when<br>
they are not flagged, or blocks displayed on the wrong side of the<br>
clipping plane.  I'm not sure if these were present with VTKEdge.  I<br>
can provide screenshots when I get back to my Linux PC this evening.<br>
<br>
  - David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br>