[osg-users] osg Coordinate system

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Fri Apr 28 05:56:53 PDT 2017


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 <shayne.tueller at comcast.net>
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 <vinothrajendran4pro at gmail.com>
> Date: 4/28/17 5:54 AM (GMT-07:00)
> To: osg-users at lists.openscenegraph.org
> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170428/90014631/attachment-0003.htm>


More information about the osg-users mailing list