[vtkusers] vtk 6.3.0 | OpenGL2: OpenGL errors?

Audrius Stundzia audrius at tomographix.com
Fri Nov 6 09:38:40 EST 2015


The OpenGL bug I posted Sept 21 was resolved. Thank you.


On Fri, Nov 6, 2015, at 09:24, Ken Martin wrote:
> With the new rendering backend in VTK we are using a more recent
> version of OpenGL (version 3.2 typically).  There are still some spots
> where old calls are made that no longer work with newer versions of
> OpenGL. As we find them we fix them so they should be fairly rare with
> the current VTK tree now.  Typically they just produce an error and
> get ignored by OpenGL and everything works.


>


> Thanks


> Ken


>


> Ken Martin PhD


> Chairman & CFO


> Kitware Inc.


> 28 Corporate Drive


> Clifton Park NY 12065


> ken.martin at kitware.com


> 919 869-8871 (w)


>


>


> This communication, including all attachments, contains confidential
> and legally privileged information, and it is intended only for the
> use of the addressee.  Access to this email by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken in reliance on it is
> prohibited and may be unlawful. If you received this communication in
> error please notify us immediately and destroy the original message.
> Thank you.


>


> *From:* vtkusers [mailto:vtkusers-bounces at vtk.org] *On Behalf Of
> *Audrius Stundzia *Sent:* Monday, September 21, 2015 1:10 PM *To:* VTK
> Users *Subject:* [vtkusers] vtk 6.3.0 | OpenGL2: OpenGL errors?

>


> Hello,


>


> OS: Windows 10 x64


> IDE: MS VS2015 x64


> CMake:


> VTK_RENDERING_BACKEND OpenGL2


> VTK_REPORT_OPENGL_ERRORS [Checkmark - On]


> VTK: 6.3.0 x64 Debug build


>


> In stdafx.h, have


>


> #include <vtkOpenGLError.h>


>


> Encountering the following runtime error message:


>


> Error in ...\OpenGL2\vtkOpenGLRenderer.cxx, line 351


> vtkOpenGLRenderer [...]: failed after Clear 16 OpenGL errors detected


> :[1282] Invalid Operation


> ...


> 15:[1282] Invalid Operation


>


> in previously working code, in vtk 5.10.1, that texture maps an image
> onto a plane.


> The image is displayed as before, however, it is accompanied by the
> above error message.


>


> A Google search suggests that this may be a GLSL version issue:


>


> https://stackoverflow.com/questions/31323870/opengl-error-1282-invalid-operation-when-using-texture


>


> Also, attempting to add the vtk line of code


>


> vtkOpenGLClearErrorMacro();


>


> generates the following error message:


>


> error LNK2019: unresolved external symbol __imp_glGetError referenced
> in function "void __cdecl vtkClearOpenGLErrors(unsigned int)"
> (?vtkClearOpenGLErrors@@YAXI at Z)


>


> Please advise.


>


>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151106/cce8a599/attachment.html>


More information about the vtkusers mailing list