[vtkusers] Problem with VTK and openGL

Laura Pascal laurajulia.pascal at gmail.com
Fri Aug 21 10:30:19 EDT 2015


Hi again,

To be more specific the error appears when I use the following VTK object: '
vtkCornerAnnotation'

vtkSmartPointer<vtkCornerAnnotation> fileName =
vtkSmartPointer<vtkCornerAnnotation>::New();

fileName->SetLinearFontScaleFactor( 2 );

fileName->SetNonlinearFontScaleFactor( 1 );

fileName->SetMaximumFontSize( 15 );

fileName->SetText( 2, Mesh->GetFileName().c_str());

fileName->GetTextProperty()->SetColor(m_labelColor);

renderer->AddViewProp(fileName);



In the console:

ERROR: In /Users/lpascal/Applications/VTK/VTK-6.2.0/Rendering/
FreeTypeOpenGL/vtkOpenGLFreeTypeTextMapper.cxx, line 543

vtkOpenGLFreeTypeTextMapper (0x7fad1aeab110): failed after RenderOverlay 1
OpenGL errors detected

  0 : (1286) Invalid framebuffer operation


Laura

2015-08-21 10:04 GMT-04:00 Laura Pascal <laurajulia.pascal at gmail.com>:

> Hello everyone,
>
> I have downloaded the module ShapePopulationViewer (in this github
> https://github.com/NIRALUser/ShapePopulationViewer). I'm using VTK-6.2.0
> and a Mac OS X 10.9.5.
>
> When I load a .vtk file, I have this four errors repeated many times :
>
>
> 2015-08-20 15:15:32.215 ShapePopulationViewer[60946:507] invalid drawable
>
> 2015-08-20 15:15:32.216 ShapePopulationViewer[60946:507] invalid drawable
>
> ERROR: In
> /Users/lpascal/Applications/VTK/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLRenderer.cxx,
> line 1202
>
> vtkOpenGLRenderer (0x7fad1ae79800): failed after Clear 1 OpenGL errors
> detected
>
>   0 : (1286) Invalid framebuffer operation
>
>
> ERROR: In
> /Users/lpascal/Applications/VTK/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx,
> line 188
>
> vtkOpenGLDisplayListPainter (0x7fad1ae5d8d0): failed after RenderInternal
> 1 OpenGL errors detected
>
>   0 : (1286) Invalid framebuffer operation
>
>
> ERROR: In
> /Users/lpascal/Applications/VTK/VTK-6.2.0/Rendering/FreeTypeOpenGL/vtkOpenGLFreeTypeTextMapper.cxx,
> line 543
>
> vtkOpenGLFreeTypeTextMapper (0x7fad1aeab110): failed after RenderOverlay 1
> OpenGL errors detected
>
>   0 : (1286) Invalid framebuffer operation
>
>
> ERROR: In
> /Users/lpascal/Applications/VTK/VTK-6.2.0/Rendering/OpenGL/vtkOpenGLPolyDataMapper2D.cxx,
> line 442
>
> vtkOpenGLPolyDataMapper2D (0x7fad1aebe6a0): failed after RenderOverlay 1
> OpenGL errors detected
>
>   0 : (1286) Invalid framebuffer operation
>
>
>
> I don't find the solution and I've searched in many forum but I didn't
> find nothing. Does anyone know how to fix it ?
>
> I would be very grateful for any help,
>
> Thank you very much in advance,
>
> Laura
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150821/44da087c/attachment.html>


More information about the vtkusers mailing list