On Thu, 2011-06-02 at 21:22 +0100, Robert Osfield wrote:
> Hi Jeremy,
>
> This looks like a bug to me. It's too late in the day for me to look
> at right now, but it does rather look like osgText::Text3D is not
> behaviing quite how I'd expect.
I'll send some code to use to help test this out tomorrow. Basically, an
example you can run:
./test --alignment LEFT_TOP --axisAlignment XZ_PLANE
...to quickly test the transformation code. As I continue work on
TextNode, I'm trying to make sure every existing API call (at least, the
ones that CAN be) behave as closely in the new world as the old. :)
> Robert.
>
> On Thu, Jun 2, 2011 at 6:13 PM, Jeremy Moles <[email protected]> wrote:
> > Hey guys (particularly Robert, or anyone using Text3D heavily).
> >
> > When using Text3D::setAlignment(), any alignment NOT using the BASE_LINE
> > will be positioned IN FRONT of the requested position. Please see the
> > left-top.png attachment.
> >
> > However, all alignments that DO use BASE_LINE will be positioned BEHIND
> > the requested position. See attached left-base-line.png.
> >
> > Is this intended/expected/worked-around in current applications?
> >
> > I'd like to consolidate this behavior is possible in my own development,
> > and I'd be interested in some quick opinions before proceeding.
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org