Please don't exclude Intel GPU's from VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hi,
Intel GPU's contain as usual the substring "Mesa" in the OpenGL renderer string.
e.g.: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20091221 2009Q4 x86/MMX/SSE2
The following code excludes all those GPU's. I think this check should be removed. It is better to inform the user what OpenGL feature is missing.
in VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx:2160
const char *gl_version=reinterpret_cast<const char *>(glGetString(GL_VERSION));
if(strstr(gl_version,"Mesa")!=0)
{
// - GL_VENDOR cannot be used because it can be "Brian Paul" or
// "Mesa project"
// - GL_RENDERER cannot be used because it can be "Software Rasterizer" or
// "Mesa X11"
// - GL_VERSION is more robust. It has things like "2.0 Mesa 7.0.4" or
// "2.1 Mesa 7.2" or "2.1 Mesa 7.3-devel"
// Mesa does not work with multiple draw buffers:
// "framebuffer has bad draw buffer"
// "render clipped 1 ERROR (x506) invalid framebuffer operation ext"
this->LoadExtensionsSucceeded=0;
return;
}
Thanks Dominique