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'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"><<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>></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"><<a href="mailto:jerome.velut@gmail.com" target="_blank">jerome.velut@gmail.com</a>></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 <<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>>:<br>
<div><div></div><div>> Error is<br>
> vtkOpenGLGPUVOlumeRaycastmapper : Rendering failed because foloowing OPENGL<br>
> extension required but not supported<br>
><br>
> Stuck here<br>
><br>
> On Tue, Oct 5, 2010 at 10:13 PM, Darshan Pai <<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>> wrote:<br>
>><br>
>> I have an application which I tested on nVidia with VTK compiled with CG<br>
>> enabled. I am using the GPUVolumeMapper for volume rendering .<br>
>> My problem is that yesterday I tried to run it on a desktop running ATI .<br>
>> It gives an Error calling that Rendering failed with OpenGLGPUVolumeMapper ,<br>
>> but it does not say what OpenGL error is it .<br>
>> I am wondering if the problem is CG, or is it VTK , or something else .<br>
>><br>
>> The ATI card is HD2450 with latest drivers installed.<br>
>><br>
>> Regards<br>
>> Darshan<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <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:<br>
> <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>
><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>