Hi all,<br><br>I tried to run the example itkVtkImageConvert but got the following error when running it : <br><br>ERROR: In /data/dp11/workspace/VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx, line 4173<br>vtkOpenGLGPUVolumeRayCastMapper (0x2c395e0): Rendering failed because the following OpenGL extensions are required but not supported: <br>
<br>I'm using the folowing graphic card<br><br>OpenGL vendor string: ATI Technologies Inc.<br>OpenGL renderer string: AMD Radeon HD 6450<br>OpenGL version string: 4.1.10665 Compatibility Profile Context<br><br>on Ubuntu 11.04 and looking at vtkOpenGLGPUVolumeRayCastMapper.cxx, I think the problem is in the LoadExtensions method :<br>
<br> const char *gl_vendor=reinterpret_cast<const char *>(glGetString(GL_VENDOR));<br> if(strstr(gl_vendor,"ATI")!=0)<br> {<br> this->LoadExtensionsSucceeded=0;<br> return;<br> }<br> const char *gl_version=reinterpret_cast<const char *>(glGetString(GL_VERSION));<br>
if(strstr(gl_version,"Mesa")!=0) <br> {<br> // - GL_VENDOR cannot be used because it can be "Brian Paul" or<br> // "Mesa project"<br> // - GL_RENDERER cannot be used because it can be "Software Rasterizer" or<br>
// "Mesa X11"<br> // - GL_VERSION is more robust. It has things like "2.0 Mesa 7.0.4" or<br> // "2.1 Mesa 7.2" or "2.1 Mesa 7.3-devel"<br> // Mesa does not work with multiple draw buffers:<br>
// "framebuffer has bad draw buffer"<br> // "render clipped 1 ERROR (x506) invalid framebuffer operation ext"<br> this->LoadExtensionsSucceeded=0;<br> return;<br> }<br><br>How can I modify it or what can I do to make it run on my system?<br>
<br>Thank you very much in advance.<br><br>Devis<br>