Re: [osg-users] Question about OSG rasterisation relevant questions.

2018-12-24 Thread Chris Hanson
There is object-based bounding sphere culling before objects are sent to be drawn by the OpenGL pipeline. This isn't something you can normally disable,it's part of building OSG's Render List, which is which is the list of objects and primitives actually sent to OpenGL When the objects are drawn,

[osg-users] Write PagedLOD

2018-12-24 Thread Xun Gong
Hi, I just found that the minExpiryTime and minExpiryFrames properties are ignored when saving Pagelod. I'm really confused about this. ... Thank you! Cheers, SunGong -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75338#75338

Re: [osg-users] openGL error 'stack overflow' at after RenderBin::draw(..)

2018-12-24 Thread Chris Hanson
You are doing two PushMatrix operations per draw call, but you never PopMatrix, so the OpenGL matrix stack gets more and more full and eventually overflows. At this point, functionally, you can either add two PopMatrix calls somewhere at the end of the draw function, or if you don't need the

Re: [osg-users] Colors on GL_LINES

2018-12-24 Thread Diego Mancilla
Hello ravidavi, Thank you for your answer. Your suuggestion solved my problem. Cheers, -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75348#75348 ___ osg-users mailing list

Re: [osg-users] openGL error 'stack overflow' at after RenderBin::draw(..)

2018-12-24 Thread Nebi Sarikaya
Chris, Thank you for your interest and answer. I need glPushMatrix and glPopMatrix since as you may see on the screenshot some of the drawings are static on the other hand positions of some of the drawings dinamically change. Know I need to put text inside the boxes and next to the pitch