Re: [osg-users] Change render order of Geodes without custom RenderBin

2012-01-20 Thread Sean Sullivan
Wow I'm not sure why I didn't think of that lol. Anyways with pretty minimal code changes, I was able to implement what you suggested. It resulted in ~27% performance increase! Thank you! Cheers, Sean -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php

Re: [osg-users] Change render order of Geodes without custom RenderBin

2012-01-19 Thread Sergey Polischuk
Hi, Sean. If you specify renderbin without sorting, then all geometry rendered in traversal order. You can use graph structure like: group for each unique font character used with matrix transforms inside (containing same geometry) to position individual instances of characters properly, so in

[osg-users] Change render order of Geodes without custom RenderBin

2012-01-19 Thread Sean Sullivan
Hey guys, I'm trying to render some text using a special method which requires 2 - 3 draw calls per character. I'm adding all of the text to a Group node one character at a time in the order that they appear in the text. What I want to do is sort the drawing of the characters so that character