[vtk-developers] [VTK 0012385]: Please don't exclude Intel GPU's from VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 20 19:58:52 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12385 
====================================================================== 
Reported By:                domibel
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12385
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   urgent
Status:                     backlog
Project:                    TBD 
Type:                       usability 
====================================================================== 
Date Submitted:             2011-07-20 18:58 CDT
Last Modified:              2011-07-20 18:58 CDT
====================================================================== 
Summary:                    Please don't exclude Intel GPU's from
VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx
Description: 
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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-20 18:58 domibel        New Issue                                    
======================================================================




More information about the vtk-developers mailing list