[vtkusers] For those using OpenGL2 in the VTK build.
Andrew Maclean
andrew.amaclean at gmail.com
Tue Jun 23 03:00:25 EDT 2015
Hi All
On my laptop which has an Intel and NVidiia card, I just discovered that my
VTK programs were crashing with this message:
"Warning: In \VTK\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line 426
vtkWin32OpenGLRenderWindow (0000000604268430): VTK is designed to work with
OpenGL version 3.2 but it appears it has been given a context that does not
support 3.2. VTK will run in a compatibility mode designed to work with
OpenGL 2.1 but some features may not work.
ERROR: In\ VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 366
vtkShaderProgram (0000000607E3F060): 1:
...
ERROR: In \VTK\Rendering\OpenGL2\vtkShaderProgram.cxx, line 367
vtkShaderProgram (0000000607E3F060): ERROR: 0:20: '' : extension
'GL_EXT_gpu_shader4' is not supported
"
To get rid of this error you must set the NVidia graphics processor as
default.
To do this:
Go to the NVIDIA Control Panel (right-click on the desktop), then:
3D Settings-> Manage 3D settings
The Tab "Preferred graphics processor " , select
High performance NVidia processor
Regards
Andrew
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150623/5446c1ce/attachment.html>
More information about the vtkusers
mailing list