Hi Alessandro,
Try setting the draw mode to render only the text.
pText->setDrawMode(osgText::Text::DrawModeMask::TEXT);
My guess is that the current draw mode mask also contains ALIGNMENT.
Mike
alessandro terenzi wrote:
Hi all,
I'm getting familiar with osgText::Text objects. It looks like that
every object I create is rendered with a white cross in the middle of
the text itself...I think it represent the point with respect to which
the text is aligned...how can avoid to render also that white cross?
Thanks.
Alessandro
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
CARIS
115 Waggoners Lane, Fredericton, New Brunswick, Canada, E3B 2L4
Tel: +1-506-458-8533 Fax: +1-506-459-3849
_________________________________________________________________________
New Viewer for 2D and 3D Data
Download your free copy of CARIS Easy View today!
www.caris.com/easyview
_________________________________________________________________________
This email and any files transmitted with it are confidential and
intended only for the addressee(s). If you are not the intended
recipient(s) please notify us by email reply. You should not use,
disclose, distribute or copy this communication if received in error.
Any views or opinions expressed in this email are solely those of the
author and do not necessarily represent those of the company. No binding
contract will result from this email until such time as a written
document is signed on behalf of the company.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/