[vtkusers] Mixing OpenGL and VTK

mguttman mguttman at yahoo.com
Mon May 4 08:10:36 EDT 2015


Additional observations here.

I also found no rendering when using:
  ExternalVTKWidget
  vtkOpenGLVolumeTextureMapper3D
And I would get errors like this:
  ERROR: In
.../VTK-6.2.0/Rendering/VolumeOpenGL/vtkOpenGLVolumeTextureMapper3D.cxx,
line 99
  vtkOpenGLVolumeTextureMapper3D (0xe9c1e008): required extensions not
supported

However, it is rendering single 2D images when read from DICOM files.

For testing, I added code to render the same volume in a non-external window
using more typical classes:
  vtkRenderer
  vtkRenderWindow
  vtkRenderWindowInteractor
It rendered fine in this window that popped up.

Once it rendered correctly in this window, it would render correctly in the
external window.  So this suggests that some extensions are not being loaded
when using the external window, but they are loaded when using the typical
window.

Would be great to know how to correctly get these extensions to load, if
that is indeed the problem.

Regards,
Mike




--
View this message in context: http://vtk.1045678.n5.nabble.com/Re-Mixing-OpenGL-and-VTK-tp5731242p5731739.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list