Hi JP,

On 20 March 2013 15:05, JP Jamieson <[email protected]> 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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to