OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

RenderBin number for LightPointNode


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
jpjamieson
Newbie


Joined: 20 Mar 2013
Posts: 2

PostPosted: Wed Mar 20, 2013 3:05 pm    Post subject:
RenderBin number for LightPointNode
Reply with quote

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
Back to top
View user's profile Send private message
jpjamieson
Newbie


Joined: 20 Mar 2013
Posts: 2

PostPosted: Mon Apr 22, 2013 7:35 pm    Post subject:
RenderBin number for LightPointNode
Reply with quote

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







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10890

PostPosted: Tue Apr 23, 2013 8:32 am    Post subject:
RenderBin number for LightPointNode
Reply with quote

Hi JP,


On 20 March 2013 15:05, JP Jamieson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Drawing large number of labels loopy General 5 Fri Mar 31, 2017 12:12 am View latest post
No new posts OSG RenderBin reverse order Bruno Oliveira General 0 Mon Nov 07, 2016 2:51 pm View latest post
No new posts PagedLOD just keeps increasing number... Bruno Oliveira General 2 Tue Jul 12, 2016 9:49 pm View latest post
No new posts 'fatal error C1128: number of section... Davide Raccagni Submission 5 Tue Jul 12, 2016 7:03 pm View latest post
No new posts Setting update callback for osgSim::L... Trajce Nikolov NICK General 2 Tue Oct 27, 2015 12:25 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP