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-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
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.
Thanks again
Paul
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32133#32133
Increasing maxScale does not appear to increase the maximum drawn size of my geode, and setting minScale doesn't seem to permit me to define a minimum drawn size? I've had a look at the AutoTransform code and I can see that the application of these scale settings are affected by the transition width, but it's not clear to me how they are connected?
If anyone can clarify for me, the relationship between transition width, minScale and maxScale and whether or not these could be used to define a minimum and maximum drawn size of a geode, I'd really appreciate it.
Many thanks in advance.
Paul
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32137#32137