Re: [osg-users] Excluding a Geode from Small Feature Culling

2009-09-10 Thread Andrew Burnett-Thompson
Hi Per, Great example, thanks for taking the time to post this. Ok I created a class SmallFeatureCullExcluder (inherits NodeCallBack) and added the code you put in the () operator. I also changed the mask to cullingSet.setCullingMask(cullingSetMask ~osg::CullSettings::SMALL_FEATURE_CULLING);

[osg-users] Excluding a Geode from Small Feature Culling

2009-09-08 Thread Andrew Thompson
Hi there, a quick question for you guys, is it possible for a Geode to be excluded from SMALL_FEATURE_CULLING? Thank you! Andrew -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17150#17150 ___

Re: [osg-users] Excluding a Geode from Small Feature Culling

2009-09-08 Thread Chris 'Xenon' Hanson
Andrew Thompson wrote: Hi there, a quick question for you guys, is it possible for a Geode to be excluded from SMALL_FEATURE_CULLING? Not as far as I know. And, i think you'd have to do it for all parent objects as well, as I think SF-culling is done at all levels of the hierarchy. What

Re: [osg-users] Excluding a Geode from Small Feature Culling

2009-09-08 Thread Andrew Thompson
Hi there, and thanks for your response, well I am using small feature culling in my application to improve performance. Its a CAD-style app and I have hundreds of thousands of Geodes on the screen at any one time. Many are really small so I am throttling small-feature culling to maintain a

Re: [osg-users] Excluding a Geode from Small Feature Culling

2009-09-08 Thread Per Fahlberg
Hi Andrew, I was trying to accomplish exactly the same and finally found a solution, if you search the mailing list for Disabling small feature culling for a subgraph you will find the email thread when I discussed this with Robert. I've pasted the final solution below for your convinienc.