Hi Vinoth,

have a look at the osg::EllipsoidModel in osg/CoordinateSystemNode .. It
has all the methods to get the up vectors for specific lat/lon

On Fri, Apr 28, 2017 at 2:50 PM, shayne.tueller <[email protected]>
wrote:

> If you change to geocentric coordinates, the "up" vector is the normal to
> the spheriod at the XYZ location. I'm not sure what you mean by the Y
> coordinate.
>
>
> Sent via the Samsung Galaxy S7 active, an AT&T 4G LTE smartphone
>
> -------- Original message --------
> From: Vinoth Rajendran <[email protected]>
> Date: 4/28/17 5:54 AM (GMT-07:00)
> To: [email protected]
> Subject: [osg-users] osg Coordinate system
>
> Hi,
>
> ...
>
> i am using osg3.5.1 in my application.when i am running in flat terrain
> mode, Z axis is Up Vector in my Scene .if i am changing to Geocentric
> Mode,the Up Vector is Changing to Y axis.
>
> So how i can Change Up Vector in my Scene ?
>
> Thank you!
>
> Cheers,
> Vinoth
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70853#70853
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to