I would concur. This looks like a bug to me. Also the line
text->setAxisAlignment( (_orientation==HORIZONTAL) ? osgText::Text::XY_PLANE :  
osgText::Text::XZ_PLANE );

Seems to be a workaround to the problem created by the wrong axis of rotation.

I can't imagine why you would want a horizontal scalar bar in XY plane, but a 
vertical one in the XZ.

Even after these fixes, the labeling doesn't work too well in the vertical 
orientation so needs some work as well.

Andrew

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29939#29939





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to