Hi Tomas,

On Thu, Jul 10, 2008 at 3:20 PM, Tomas Hnilica
<[EMAIL PROTECTED]> wrote:
> Hello all,
>
> does anyone use the osgSim::ScalarBar with vertical display in HUD?
> I would like to show the scalarbar vertically on the left screen side.
>
> In the example osgscalarbar there are two ways of ScalarBar displaying, HUD 
> one
> does not show when changed to VERTICAL, the other one does not affect such
> setting...
>
> In the HUD there are some 'magic' transformations that probably works only for
> horizontal scalarbar...

There isn't any magic going on, its the scalar bar is geometry like
any other in the OSG.  To place it in the correct place you either
need to set its initial values appropriately or position it using a
transform.

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

Reply via email to