[Paraview] OpenGL Backend Identification

Ben Boeckel ben.boeckel at kitware.com
Tue Dec 8 13:58:00 EST 2015


On Mon, Dec 07, 2015 at 14:49:51 -0500, Tim Thirion wrote:
> I'm looking to provide run-time identification of the current OpenGL
> backend in use. Some questions:
> 
> 1. VTK #defines VTK_OPENGL2, but ParaView #defines VTKGL2. Is there a
> particular reason we have both?

VTK used to have both. VTKGL2 should be migrated to VTK_OPENGL2 (as VTK
did).

> 2. Is there an ideal place to define such a constant? Perhaps on the render
> window?

The About dialog has a list of information already (versions of Python,
matplotlib, numpy, Qt, etc.).

--Ben


More information about the ParaView mailing list