Hi Julien,

On 21 April 2018 at 13:16, Julien Valentin <julienvalenti...@gmail.com> wrote:
> 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
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to