Hi,
I have found a solution:
Disabled the display list and the draw callback can be called every
frame, so I can see the rendering order.
hesicong
hesicong2006 wrote:
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, hesicong2006 <[EMAIL PROTECTED]> wrote:
Hi, robert,
I just noticed this line:
myvolumestateset->setRenderBinDetails(9,"FrontToBack");
Why you set details to 9 instead of other values?
It's just the bin number, 9 will draw before the standard transparent
bin that defaults to 10, 0 is the default opaque bin. Choose what
ever value you want to control the high level ordering of bins.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3329 (20080805) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3329 (20080805) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
__________ Information from ESET NOD32 Antivirus, version of virus signature database 3329 (20080805) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
|
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org