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

Chris Hanson xenon at alphapixel.com
Mon Jan 7 02:20:05 PST 2019


Well, it's hard to say because I don't really know how you are doing it
now, but it seems to me like you're spending a lot of effort rotating and
positioning each text element individually. Normally, I don't go through
that process.

Normally, I make a hierarchy of a few groups, each with various children
individually positioned. Then, I can adjust the overall position and
rotation of the whole set by applying position and rotation transforms to
the Group node, not to each text or other sub-element.

>From your description (maybe I misinterpreted what you were saying) it
didn't sound like you were doing it this way, and I worried that you were
making unnecessary work for yourself as a result.



On Mon, Jan 7, 2019 at 8:40 AM Nebi Sarikaya <nebsar at gmail.com> wrote:

> Hi Chris;
>
> Can you be more specific on "I usually put all of the text and HUD
> elements into a group and position them relative to the group and then
> rotate and shift that group. All the sub-children will rotate properly. " ?
>
> Thank you!
>
> Cheers,
> Nebi
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75394#75394
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190107/fd68eebf/attachment.html>


More information about the osg-users mailing list