Page 1 of 1

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

Posted: Mon Jun 11, 2012 5:01 pm
by gonzalotap
When the message saying '[ccGLWindows: paintGL / FBO start] OpenGL error: out of memory' 
What kind of memory is concerned

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

Posted: Tue Jun 12, 2012 7:46 am
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?

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

Posted: Tue Jun 12, 2012 9:49 am
by gonzalotap
The error appears when you render to file and you increase the above 6x zoom

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

Posted: Tue Jun 12, 2012 11:23 am
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).