Re: [osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-18 Thread J.P. Delport
Hi Chris, Chris 'Xenon' Hanson wrote: J.P. Delport wrote: Hi, did you build your DB with --geocentric? I didn't. I hadn't explored that option. Is that necessary, and can you comment on exactly what that does? I figured that would put my data in geocentric coordinates, which is not what I

Re: [osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-15 Thread J.P. Delport
Hi, did you build your DB with --geocentric? jp Chris 'Xenon' Hanson wrote: I've noticed that when using VPB terrain, the coordinates of the OSGViewer Camera as determined by Camera::getViewMatrixAsLookAt(eye,dir,up) appear to be in the same coordinate system as the terrain. For example,

Re: [osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-15 Thread Jason Beverage
Hi Chris, I'd say JP is right, an elevation of 0.0253 sounds like you have a geographic map (x = lon, y = lat, z = meters scaled to degrees). Rebuilding with --geocentric should get you geocentric coords. Jason On Fri, May 15, 2009 at 2:48 AM, J.P. Delport jpdelp...@csir.co.za wrote: Hi,

Re: [osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-15 Thread Chris 'Xenon' Hanson
J.P. Delport wrote: Hi, did you build your DB with --geocentric? I didn't. I hadn't explored that option. Is that necessary, and can you comment on exactly what that does? I figured that would put my data in geocentric coordinates, which is not what I want. I want the data in lat/lon (as it

Re: [osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-15 Thread Chris 'Xenon' Hanson
Jason Beverage wrote: Hi Chris, I'd say JP is right, an elevation of 0.0253 sounds like you have a geographic map (x = lon, y = lat, z = meters scaled to degrees). I never imagined Z would be meters-as-degrees. Thanks. Rebuilding with --geocentric should get you geocentric coords. I'll

[osg-users] OSGViewer Camera Coordinate System, elevation

2009-05-14 Thread Chris 'Xenon' Hanson
I've noticed that when using VPB terrain, the coordinates of the OSGViewer Camera as determined by Camera::getViewMatrixAsLookAt(eye,dir,up) appear to be in the same coordinate system as the terrain. For example, my terrain was built from Lat/Lon/Elev(m) data, and the camera X and Y are