[osg-users] [Fwd: Re: to draw landscapes beginning from a matrix]

Robert Osfield robert.osfield at gmail.com
Thu Feb 28 06:34:22 PST 2008


On Thu, Feb 28, 2008 at 2:14 PM, aurora restivo <aurora_re at tiscali.it> wrote:
>  I am using Locator however I don't want my terrain to be drawn using the
>
>      locator->setCoordinateSystemType(osgTerrain::Locator::GEOCENTRIC)
>
>  I have tried to apply "GEOGRAPHIC" but it doesn't visualize anything.
>  I would perhaps need a Cartesian Locator for the correct visualization of
> my terrain.

There are three options for locating the data into the world,

   GEOCENTRIC - use lat/longs and then project onto an elliposoid
   GEOGRAPHIC - use lat/longs but in flat earth
   PROJECTED - use flat earth projection such as UTM etc.

The locator takes the non dimensional coordinats of the source data
layers (0,0 to 1,1) into the above cooordinate frame.

Robert.


More information about the osg-users mailing list