[osg-users] OpenSceneGraph-3.6.1 release candidate 2 tagged

Daniel Emminizer, Code 5773 dan.emminizer at nrl.navy.mil
Thu May 3 11:02:44 PDT 2018


Hi Robert,

Responding this time with a reproducible example.  Attached is a minimal osgtext.cpp that attempts to demonstrate a problem with text scaling.

There is 1 osgText::Text in screen coordinates.  I would expect the text to be the same size regardless of window dimensions.  For most larger and square-ish dimensions, this is mostly true.  But it breaks down with smaller window sizes.

If you run the attached "osgtext --size1" you'll see "normal" text.  "osgtext --size2" gives vastly different screen text size with a short window.  Conversely, "osgtext --size3" gives a pretty similar text size with a tall/skinny window.

Is this intentional?

Note that the same behavior can be seen by observing the "text5" in osgtext, if you also make the host window resizeable (e.g. using WindowSizeHandler and hitting 'f' key)


I've tried a few different options to get a consistent size across the three window sizes (normal, skinny, short) to no avail.

Thanks for your help.

 - Dan



-----Original Message-----
From: osg-users [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert Osfield
Sent: Wednesday, May 02, 2018 4:23 AM
To: OpenSceneGraph Users
Subject: [osg-users] OpenSceneGraph-3.6.1 release candidate 2 tagged

Hi All,

I have tagged the second 3.6.1 release candidate.

I have merged a PR that removed so un-implemented functions in
osgParticle, this technically changes the ABI for osgParticle so I've
bumped the SO version for 3.6.1-rc2.  The rest of the changes are
fixes.

   https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.6.1-rc2

I'm ready to tag 3.6.1, all need from the community is testing and
feedback on whether things are working on all the main platforms.  Let
us know of success or failures here on this thread.

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/20180503/63dc385a/attachment.ksh>


More information about the osg-users mailing list