Have you tried attaching a custom cullCallback to your geometry that always
returns false? This is how I usually force hiding or showing of certain
geometries.

Christian


2013/8/22 Anton Fuhrmann <[email protected]>

>
> robertosfield wrote:
> > Hi Tony,
> > It sounds like you are confusing OSG culling and OpenGL clipping.  It
> will be OpenGL near plane clipping that is prevent you from seeing your
> geometry.
> >
> > Robert.
> >
>
>
> I do not think so.
>
> Firstly, the "real" vertex positions (the ones sent to the pipeline) are
> always in front of the camera/near clipping plane. (As much in font as
> possible, actually: at gl_DepthRange.far)
>
> Secondly, why should the OpenGL clipping behavior change, when I inflate
> the OSG bounding box with setInitialBounds()?
> Or when I change the behavior of CullVisitor?
>
> Both changes make my geometry appear, without me changing the position of
> my geometry.
>
> The problem is definitely culling.
>
> I am not the only one having this problem:
> http://forum.openscenegraph.org/viewtopic.php?t=4584.
>
> Please advice!
>
> regards,
>
> Tony
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=55953#55953
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to