Hi Alex,

On 27 November 2014 at 10:43, Alex Malygin <[email protected]> wrote:

> I put the text to a specific point on the stage. He displayed until
> completely visible. I need that he was hiding from the scene when the point
> at which it is placed, is not visible.
>

I'm not 100% clear yet, but sounds like you want an object and it's label
to appear when the object is not culled.  If this is the case then using an
subclass from  osg::Drawable::ComputeBoundingBoxCallback callback assigned
to the Text drawable might the way forward.  This custom callback would
return the bounding box for the object you want to associate the label with.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to