Hi Paul,

The easiest way to do it is use an osg::AutoTransform, this is like a
Billboard but can rotate to screen a whole subgraph rather than just
drawables.  Billboard is lightweight for things like trees, but
AutoTransform is more flexible.

Robert.

On Tue, Sep 28, 2010 at 11:03 AM, paul graham <pd...@hotmail.com> wrote:
> Hi, I'm hoping someone can help. I'm trying to develop an in-scene 'label' 
> for my 3D objects (consisting of text and geometry). I was hoping I'd be able 
> to use the osg billboard and add my geometry and text to it as drawables, but 
> I now realise that each drawable will have its own pivot point, so my text 
> and geometry will become misaligned.
>
> Is there a way to massage the billboard such that it 'groups' all its 
> children and effectively applies a single transformation about a single pivot 
> point (hence keeping the text and geometry in the same plane)? Or can anyone 
> suggest a simpler / better approach to the problem?
>
> Just to reiterate - I'm trying to create screen-facing labels to insert into 
> my 3D scene - the label needs to support text and geometry. Any advice on how 
> to best approach this is much appreciated - I'm hoping someone has tackled a 
> similar problem in the past.
>
> Many thanks
>
> Paul
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=32125#32125
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to