[vtk-developers] VTKOpenGLExtensionManager in VTK 7.0?

Deepak Surti dmsurti at gmail.com
Tue Feb 9 07:23:05 EST 2016


Hi,

vtkOpenGLExtensionManager is missing in VTK 7.0 with the default
VTK_RENDERING_BACKEND OpenGL2.

With the old OpenGL Backend up to VTK 6.3, I did something like this to get
hold of the GL Driver, Renderer version etc.

```
    ren = vtk.vtkRenderer()
    renWin = vtk.vtkRenderWindow()
    renWin.AddRenderer(ren)

    # Now check the OpenGL metadata using the extension manager
    em = vtk.vtkOpenGLExtensionManager()
    em.SetRenderWindow(renWin)
    renWin.Render()
    em.Update()

    vtk_ver = vtk.vtkVersion().GetVTKVersion()
    gl_driver = em.GetDriverGLVersion()
    gl_renderer = em.GetDriverGLRenderer()
```

What is the replacement for vtkOpenGLExtensionManager or with OpenGL2
backend, how do I get the above information?

Thanks,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160209/e01a9101/attachment.html>


More information about the vtk-developers mailing list