HI Vailbhav,

Try moving your text nearer to a local origin to see if the problem is
a precision issue.  A good technique to use when dealing with large
model coordinates is to place a MatrixTransform above the local
geometries to place them in world coords, and to enable the local
geometries to have a local origin to maximize precision.

Robert.

On Mon, Jul 13, 2009 at 8:01 AM, Vaibhav Bansal<[email protected]> wrote:
> Hello Robert,
>
> The osgText example runs fine.
> I tested on two machines with different cards/drivers, the problem remains.
>
> I am using these modes :
>
> text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS);
> text->setAxisAlignment(osgText::Text::SCREEN);
>
> I am using position values of the order of 1438137.375, and font size of
> 1.6.
> Could this be related to precision.
>
>
> Thanks and Regards
> Vaibhav Bansal
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Robert
> Osfield
> Sent: Sunday, July 12, 2009 9:51 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Text Problem
>
> Hi Vaibahv,
>
> I've never seen a problem like this before.  Exactly how are you
> setting your text?  Do you see the problem across platforms and
> different hardware/drivers?  What happens you run the osgtext example.
>
> Robert.
>
> On Sun, Jul 12, 2009 at 3:41 PM, Vaibhav Bansal<[email protected]>
> wrote:
>> Hello
>>
>>
>>
>> I was trying to place some osgText in my scene, the text seems to become
>> distorted however.
>>
>> A picture of the distorted text is attached, please comment if any one has
>> faced such problem before.
>>
>> I am using osg2.6.1.
>>
>>
>>
>> Thanks and Regards
>>
>> Vaibahv Bansal
>>
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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

Reply via email to