View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015169ParaView(No Category)public2014-12-02 19:442016-08-12 09:59
ReporterErwin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version 
Summary0015169: volume rendering error on local Windows 7 x64, AMD Radeon 5450/6350, OpenGL 4.4
DescriptionUsing both ParaView 4.2 and 4.2.0-97-g33e1c33 64-bit I encounter a volume rendering error when walking through Exercise 2.14 of the tutorial book ParaviewTutorial42:

open disk_out_ref.ex2
select all variables
apply
Coloring -> Temp
Representation -> Volume

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Rendering\VolumeOpenGL\vtkOpenGLProjectedTetrahedraMapper.cxx, line 188
vtkOpenGLProjectedTetrahedraMapper (000000001581A8E0): The required extensions are not supported.

This problem occurs on a local server. Additional details:
OpenGL 6.14.10.13084 (According to AMD Catalyst Control Center)
OpenGL 4.4 (According to OpenGL Extensions Viewer)
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033878)
David C. Lonie (developer)
2014-12-03 07:59

Unassigning myself, as I'm working on different projects these days.
(0034014)
jzhou (reporter)
2014-12-29 03:41
edited on: 2014-12-29 03:41

Hi David,

here is my find for this issue:

issue 1: vtk disable AMD hw rendering in vtkOpenGLProjectedTetrahedraMapper::IsSupported(vtkRenderWindow *rwin)
{
  ...
  // exclude ATI Radeon HD, except on Apple, because there seems to
  // be a bug in ATI's legacy fixed function texturing support in recent
  // drivers. The Radeon HD cards are identified here by the OpenGL version
  // because the renderer string is inconsistent across platforms.
  // win7 RHD5800, win7 RHD6750M, Linux RHD7870 all exhibit the bug.
  bool driverSupport
  #if defined(__APPLE__)
    = true;
  #else
    = !(extensions->DriverIsATI()
    && (extensions->GetDriverGLVersionMajor() >= 3))
    || extensions->GetIgnoreDriverBugs("ATI texturing bug");
  #endif

  return texSupport && driverSupport;
}

issue 2: the mentioned texturing bug in issue 1 is:
void vtkOpenGLProjectedTetrahedraMapper::Render(vtkRenderer *renderer,
                                                vtkVolume *volume)
{

glTexImage2D(GL_TEXTURE_2D, 0, GL_INTENSITY, TEXRES, TEXRES, 1, GL_RED,
                 GL_FLOAT, texture);

}
the 6th parameter 'border’ of glTexImage2D must be 0 according to opengl spec. But it is set 1 in vtkOpenGLProjectedTetrahedraMapper::Render now.

I think after resolving these issues, volume rendering will work on AMD card.

(0038728)
Kitware Robot (administrator)
2016-08-12 09:59

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-12-02 19:44 Erwin New Issue
2014-12-02 19:44 Erwin Assigned To => David C. Lonie
2014-12-03 07:58 David C. Lonie Assigned To David C. Lonie =>
2014-12-03 07:59 David C. Lonie Note Added: 0033878
2014-12-29 03:41 jzhou Note Added: 0034014
2014-12-29 03:41 jzhou Note Edited: 0034014
2016-08-12 09:59 Kitware Robot Note Added: 0038728
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team