[osg-users] Scale object based on camera distance

Chris Hanson xenon at alphapixel.com
Mon Jan 7 07:22:48 PST 2019


Are you using osgEarth?

On Mon, Jan 7, 2019 at 3:38 PM David Mitchell <moohasha at gmail.com> wrote:

> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190107/dd7e39ca/attachment.html>


More information about the osg-users mailing list