Re: [osg-users] [forum] RenderBin number for LightPointNode

2013-04-23 Thread Robert Osfield
Hi JP,


On 20 March 2013 15:05, JP Jamieson jp.jamie...@verizon.net wrote:

 I noticed the constructor for LightPointNode places the node in
 DepthSortedBin number 20.  I can understand the general case for this,
 however when placing it after the default transparency bin (DepthSortedBin
 number 10) light points on helicopters don't get drawn when behind the
 transparent textures for rotors.  The comment in the constructor for
 LightPointNode just states that it should be drawn well after the
 transparent bin.

 Can you tell me the reasoning for this?
 Is it acceptable to change the bin for the LightPointNode on specific
 geometries, or has anyone experienced problems with this?


It should be fine to change the bin number.  The bin number is simply a
choice based on what would work well for most common types of usage but
it's not failsafe.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [forum] RenderBin number for LightPointNode

2013-04-22 Thread JP Jamieson
Hi,

I noticed the constructor for LightPointNode places the node in DepthSortedBin 
number 20.  I can understand the general case for this, however when placing it 
after the default transparency bin (DepthSortedBin number 10) light points on 
helicopters don't get drawn when behind the transparent textures for rotors.  
The comment in the constructor for LightPointNode just states that it should be 
drawn well after the transparent bin.

Can you tell me the reasoning for this?
Is it acceptable to change the bin for the LightPointNode on specific 
geometries, or has anyone experienced problems with this?

Thank you!

Cheers,
JP

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53174#53174





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org