[osg-users] Create circle osgEarth

Glenn Waldron gwaldron at gmail.com
Sun Jul 17 12:06:49 PDT 2016


The header file has information on how to use it.

https://github.com/gwaldron/osgearth/blob/master/src/osgEarthAnnotation/GeoPositionNodeAutoScaler



Glenn Waldron

On Sat, Jul 16, 2016 at 3:50 AM, Marco Pompei <kingmarco1983 at gmail.com>
wrote:

> Hi GWaldron,
> thank you for your help and thank to indicate me right forum for
> osg::Earth. i ll write there as well. Unfortunately i didn't get how i can
> use it cause i didn't find any documentation about it.
>
> Do you have any example?
>
> Thank you
> M.
>
>
> gwaldron wrote:
> > Marco,You can use the GeoPositionNodeAutoScaler cull callback on your
> CircleNode, assuming you are using a recent osgEarth.
> >
> >
> > (For osgEarth-specific questions, you can use the osgEarth support forum
> at http://forum.osgearth.org (http://forum.osgearth.org))
> >
> >
> >
> > Glenn Waldron
> >
> >
> >
> >
> > On Tue, Jul 5, 2016 at 2:43 PM, Marco Pompei < ()> wrote:
> >
> > > Hi,
> > > I am using osgEarth (derivated by OSG) to develop an application for
> drawing several geometry on earth.
> > >
> > > I need to draw a circle (and I know how i can do it, using CircleNode
> class) but no resizable. I mean that I zoom in/out the earth and I'd like
> the circle area don't change. Unfortunately, constructor of this class,
> wants value for radius and when I zoom out/in the circle area
> decrease/increase because its radius keeps constant.
> > >
> > > Any advice for me?
> > > Thank you!
> > >
> > > Cheers,
> > > Marco
> > >
> > > ------------------
> > > Read this topic online here:
> > > http://forum.openscenegraph.org/viewtopic.php?p=68010#68010 (
> http://forum.openscenegraph.org/viewtopic.php?p=68010#68010)
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > >  ()
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> )
> > >
> >
> >
> >  ------------------
> > Post generated by Mail2Forum
>
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68149#68149
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160717/80de050b/attachment-0002.htm>


More information about the osg-users mailing list