Mesa3d volume rendering incorrectly forces use of floating point frame buffer
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There is a mistake in the way ParaView incorrectly forces Mesa3d to use floating point buffer when volume rendering. I can trivially test this, if anyone wants. The problem is in the following code:
../VTK/Rendering/VolumeOpenGL/vtkOpenGLProjectedTetrahedraMapper.cxx.
Around line 145 is the following code: if (!this->CanDoFloatingPointFrameBuffer) { vtkWarningMacro( "Missing FBO support. The algorithm may produce visual artifacts."); }
This forces ParaView to issue a warning, that is not needed, whenever we are rendering with an old version of Mesa3d (i.e., version 7.10.3).
The way I worked around the issue, at Utkarsh's suggestion, was to changed line
98,
this->UseFloatingPointFrameBuffer = true;
to be
this->UseFloatingPointFrameBuffer = false;
Please either change the this->UseFloatingPointFrameBuffer to be false in the constructor, or rework the logic of this if() test at line 147.
Alan - tested with Linux, local server, NX, disk_out_ref.exo. Just volume render. Error pops up.