Re: [osg-users] Create circle osgEarth

2016-07-19 Thread Marco Pompei
Hi Glenn, i tried that function but i didn't find it... it may be i am not using recent osgEarth. I d like to get another way: i saw that CircleNode has setRadius() and i can use this to draw more times. To resize the i d need to know some ABSOLUTE NUMBER for example distance of projection of

Re: [osg-users] Create circle osgEarth

2016-07-17 Thread Glenn Waldron
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 wrote: > Hi GWaldron, > thank you for your help and thank

Re: [osg-users] Create circle osgEarth

2016-07-16 Thread Marco Pompei
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

Re: [osg-users] Create circle osgEarth

2016-07-16 Thread Marco Pompei
Hi, thank you for reply. I googled and found out any example about this. but, I have a doubt about osg::AutoTransform: I saw this get the position by a Vec3 but circleNode get his position by GeoPosition: Assuming this: osg::AutoTrasform at = new at->pos( Vec3 ) CircleNode myCircle = new

Re: [osg-users] Create circle osgEarth

2016-07-06 Thread Glenn Waldron
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) Glenn Waldron On Tue, Jul 5, 2016 at 2:43 PM, Marco Pompei

Re: [osg-users] Create circle osgEarth

2016-07-06 Thread Trajce Nikolov NICK
you can use osg::AutoTransform on top of your circle On Tue, Jul 5, 2016 at 8: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

[osg-users] Create circle osgEarth

2016-07-06 Thread Marco Pompei
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.