Christoph Dohmen
2018-07-18 12:06:55 UTC
Hi,
I have a strange effect with osgText::Text. My original goal was to have a constant pixel-sized Text close to the starting point of a line. Using dummy values everthing is fine. But using real values the textsize changes!
See the attached source. The wrong behaviour could be seen by setting USE_WRONG_VALUES to 1 and the right behaviour could be seen by setting it to 0.
I use OSG 3.6.1 under opensuse.
Thank you!
Cheers,
Christoph
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74356#74356
I have a strange effect with osgText::Text. My original goal was to have a constant pixel-sized Text close to the starting point of a line. Using dummy values everthing is fine. But using real values the textsize changes!
See the attached source. The wrong behaviour could be seen by setting USE_WRONG_VALUES to 1 and the right behaviour could be seen by setting it to 0.
I use OSG 3.6.1 under opensuse.
Thank you!
Cheers,
Christoph
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74356#74356