[osg-users] Scale object based on camera distance

David Mitchell moohasha at gmail.com
Mon Jan 7 06:38:50 PST 2019


Thanks, Trajce.  That looks like it will do what I need.  Since this was my first post to the forums, apparently it wouldn't show up until an admin approved it and during that time I was able to modify the GeoPositionNodeAutoScaler class from osgEarth to do what I need it to.  Looking at osg::AutoTransform, it looks like it's doing more or less the same thing, but is more involved.  My solution ended up being a little more specialized for my use case.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75400#75400







More information about the osg-users mailing list