[osg-users] About sort geometry

2008-08-06 Thread hesicong2006
Hi all, I'm now working on a volume rendering project. What I need is to improve performance. I had to split one volume bounding box into numbers of boxes. The very important work to do is to sort the geometry. Boxes must be rendered from nearest position to farest to get right visual. So,

Re: [osg-users] About sort geometry

2008-08-06 Thread hesicong2006
Hi, Robert, Is there a way to visually see the render order of geometry or the console output of current rendering geometry? The draw callback runs once and I can't use it to determine the render order. Can you give me some advice? Robert Osfield wrote: On Wed, Aug 6, 2008 at 3:09 PM,

Re: [osg-users] About sort geometry

2008-08-06 Thread Thibault Genessay
Hi, On Wed, Aug 6, 2008 at 4:48 PM, Robert Osfield [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 3:40 PM, hesicong2006 [EMAIL PROTECTED] wrote: Hi, Robert, Is there a way to visually see the render order of geometry or the console output of current rendering geometry? Give gDEBugger a try

Re: [osg-users] About sort geometry

2008-08-06 Thread hesicong2006
Thanks Thibault, I use gDebugger and it should be a way to do so, but it's quite boring to see the OpenGL commands. I must find a way to see the rendering detail in order to debug my program. If there's really no simple way to do this, it will be a pity. Thibault Genessay wrote: Hi, On