[osg-users] OpenSceneGraph-3.6.1 release candidate 5 is tagged
Daniel Emminizer, Code 5773
dan.emminizer at nrl.navy.mil
Mon May 21 08:40:00 PDT 2018
Hi Robert,
Attached is an example based off the osgtext example, along with a screenshot of what I see when I run it. Making the window taller will "fix" the scaling.
This is very similar to one of the issues reported a few weeks back; except this is only affecting rotated text. I've found that this problem seems to occur most when a projection matrix is set to ortho2d, and the aspect ratio of the projection matrix does not match the viewport's aspect ratio. My ortho matrix is set from 0,0 to 1,1 in this application, so it's always 1:1 aspect ratio. Viewport aspect ratio varies as user resizes the window; the example starts at 800x300 (8:3).
The screenshot is against OpenSceneGraph-3.6, most recent push.
- Dan
> -----Original Message-----
> From: Daniel Emminizer, Code 5773
> Sent: Monday, May 21, 2018 11:09 AM
> To: OpenSceneGraph Users
> Subject: RE: [osg-users] OpenSceneGraph-3.6.1 release candidate 5 is tagged
>
> Hi Robert,
>
> I'm using the latest OpenSceneGraph-3.6 with the scaling changes that just
> got pushed out.
>
> I'm getting a bad scaling on a label that is rotated that used to work in OSG
> 3.4, and used to work prior to
> https://github.com/openscenegraph/OpenSceneGraph/commit/76d1b85
>
> Note that 76d1b85 DOES help with the osgEarth bug -- we're also using
> osgEarth and that makes the earth graticules a lot better. But it's breaking
> this rotated text case.
>
> Attached is a screenshot of the display on current OpenSceneGraph-3.6
> (BadScaleRotated.png). I backed out 76d1b85 and re-ran and got
> BackedOut76d1b85.png, which looks correct.
>
> I'm working on a minimal reproducible example now. Once I get it I will
> respond to this email with a .cpp file. Thanks,
>
> - Dan
>
>
>
> > -----Original Message-----
> > From: osg-users [mailto:osg-users-bounces at lists.openscenegraph.org] On
> > Behalf Of Robert Osfield
> > Sent: Sunday, May 20, 2018 8:48 AM
> > To: OpenSceneGraph Users
> > Subject: [osg-users] OpenSceneGraph-3.6.1 release candidate 5 is
> > tagged
> >
> > Hi All,
> >
> > I have fixed an issue with text SCREEN_COORDS scaling so this means
> > all the issues I'm aware of are now resolved. To wrap this up I've
> > tagged 3.6.1-rc5.
> >
> >
> >
> https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGr
> > aph-3.6.1-rc5
> >
> > As before please test build or the platforms you have available and
> > against your own applications. If you have success or issues please
> > report them here so we get a feel of whether things have converged now
> > and we are ready of tagging 3.6.1 itself.
> >
> > Cheers,
> > Robert.
> >
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osgtext.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180521/8c440d12/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VerticalTextBug.png
Type: image/png
Size: 9404 bytes
Desc: VerticalTextBug.png
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180521/8c440d12/attachment-0001.png>
More information about the osg-users
mailing list