Error '[ccGLWindows: paintGL / FBO start] OpenGL error: out

Feel free to ask any question here
Post Reply
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Error '[ccGLWindows: paintGL / FBO start] OpenGL error: out

Post by gonzalotap »

When the message saying '[ccGLWindows: paintGL / FBO start] OpenGL error: out of memory' 
What kind of memory is concerned
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error '[ccGLWindows: paintGL / FBO start] OpenGL error:

Post by daniel »

Hi,

The memory here is the graphic card's. FBO is a way to render the 3D scene directly into a texture, in order to refresh the 3D view quickly (very usefull when moving the window, or while manually segmenting entities - we just have to redraw the polyline over the 3D view texture, thus improving drastically the frame rate with big clouds).

I never encountered this error yet: how CloudCompare reacts after that? Did it crash?
Daniel, CloudCompare admin
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Re: Error '[ccGLWindows: paintGL / FBO start] OpenGL error:

Post by gonzalotap »

The error appears when you render to file and you increase the above 6x zoom
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Error '[ccGLWindows: paintGL / FBO start] OpenGL error:

Post by daniel »

In this particular mode, the FBO texture size is N^2 times the screen size (for a zoom factor of N). So for high zoom values, the texture size will overflow the graphic card memory.

For instance, if your current 3D view is 1024*1024 (= 1Mb * 4 = 4Mb as we are in RGBA mode), then a factor of 6 implies a texture of size 4*6*6 = 144 Mb (and it's generally hard to find a contiguous block of this size and/or a driver that handles such big textures).
Daniel, CloudCompare admin
Post Reply