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 

Camera serializer and culling


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 498
Location: France

PostPosted: Sat Apr 21, 2018 12:16 pm    Post subject:
Camera serializer and culling
Reply with quote

Hi,
Doing some RTT serialization I came into an issue:
I just saw that only inheritedmask is the only CullSetting serialized. Neither CullMode neither NearFarComputeMode
I also set Node::ActiveCulling to false (does it even do anything) but nothing do the trick: some of my Geometry are never drawn.
If someone have an answer I would me very glad

Thank you!

Cheers,
Julien
Back to top
View user's profile Send private message Visit poster's website
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12192

PostPosted: Sun Apr 22, 2018 7:47 am    Post subject:
Camera serializer and culling
Reply with quote

Hi Julien,

On 21 April 2018 at 13:16, Julien Valentin <> wrote:
Quote:
Doing some RTT serialization I came into an issue:
I just saw that only inheritedmask is the only CullSetting serialized. Neither CullMode neither NearFarComputeMode
I also set Node::ActiveCulling to false (does it even do anything) but nothing do the trick: some of my Geometry are never drawn.
If someone have an answer I would me very glad

I have the weekend off so I'm not going to dive into the OSG serialzer
implementation right now, it may well be that not all parameters are
serialized. Some parameters are viewer centric rather than scene
graph centric so might be appropriate for serializing, I'll need to do
a full review.

Could you create a small example that illustrates the problem you are
seeing. Thanks.

FYI, Node::setActiveCulling(bool) toggles on/off whether that node and
it ti's parents should have culling done on them during the cull
traversal. With questions like this a quick search of osg and osgUtil
for instances of CullActive will show you how the rendering back-end
works using this bool.

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 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 setViewMatrixAsLookAt not working to ... Rodrigo General 4 Tue Jan 08, 2019 2:48 am View latest post
No new posts Scale object based on camera distance Moohasha General 3 Fri Jan 04, 2019 4:57 pm View latest post
No new posts Attach TextureBuffer to camera? robs General 0 Fri Dec 28, 2018 9:50 pm View latest post
No new posts Camera clear color cdp97531 General 1 Sat Dec 01, 2018 8:15 am View latest post
No new posts Camera movement when depending on 3rd... njr3 General 0 Wed Nov 28, 2018 9:46 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