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: 462
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: 12027

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 Culling and instanced drawing wernerM General 7 Fri Jul 13, 2018 4:45 pm View latest post
No new posts ReaderWriterCFG - offset for single c... Marcin Prus Submission 0 Fri Jul 06, 2018 11:27 am View latest post
No new posts osgOcean - Render to Texture Camera rob_ewbank osgOcean [osgOcean] 3 Wed Jul 04, 2018 11:27 am View latest post
No new posts osgviewer camera initial angle. Vagn General 1 Wed Jun 20, 2018 2:31 pm View latest post
No new posts Positioning a Camera relative to anot... Takarashy General 0 Thu May 24, 2018 8:27 am 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