Yes. Take a look at vtkSmartVolumeMapper. It has render modes where the DefaultRenderMode uses the GPUraycaster if its supported, if not uses the 3D texture mapper and if that&#39;s not supported, uses the fixed point software ray cast mapper.<div>
<br></div><div>--</div><div>karthik<br><br><div class="gmail_quote">On Sat, Oct 9, 2010 at 11:38 PM, Darshan Pai <span dir="ltr">&lt;<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the link jerome. I just converted it to a software raycast mapper and thats runs fine now . I just had another question though. Is it possible to find out what card we are using in the code and switch mappers between software and GPU ? <br>
<font color="#888888">
<br><br>Darshan</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sat, Oct 9, 2010 at 3:23 AM, Jérôme <span dir="ltr">&lt;<a href="mailto:jerome.velut@gmail.com" target="_blank">jerome.velut@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi Darshan,<br>
You may find some answers here:<br>
   <a href="http://www.vtk.org/pipermail/vtk-developers/2010-March/007459.html" target="_blank">http://www.vtk.org/pipermail/vtk-developers/2010-March/007459.html</a><br>
<br>
HTH<br>
Jerome<br>
<br>
2010/10/9 Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>&gt;:<br>
<div><div></div><div>&gt; Error is<br>
&gt; vtkOpenGLGPUVOlumeRaycastmapper : Rendering failed because foloowing OPENGL<br>
&gt; extension required but not supported<br>
&gt;<br>
&gt; Stuck here<br>
&gt;<br>
&gt; On Tue, Oct 5, 2010 at 10:13 PM, Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I have an application which I tested on nVidia with VTK compiled with CG<br>
&gt;&gt; enabled. I am using the GPUVolumeMapper for volume rendering .<br>
&gt;&gt; My problem is that yesterday I tried to run it on a desktop running ATI .<br>
&gt;&gt; It gives an Error calling that Rendering failed with OpenGLGPUVolumeMapper ,<br>
&gt;&gt; but it does not say what OpenGL error is it .<br>
&gt;&gt; I am wondering if the problem is CG, or is it VTK , or something else .<br>
&gt;&gt;<br>
&gt;&gt; The ATI card is HD2450 with latest drivers installed.<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Darshan<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>
</div></div><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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>