When you instance an Ellipsoid object, the default is already an oblate 
spheroid (WGS84 with polar and equatorial radii defined in meters). 

I suspect your problem has something to do with your shape drawable where 
you're using a sphere in your code. For starters, I would suggest that you 
reference off the ellipsoid directly to position objects on the earth.

I have never had any problems mapping geodetic to geocentric coordinates and 
vice versa when I reference the EllipsoidModel object with its conversion 
methods (i.e. convertLatLongHeightToXYZ). Entities are placed on the surface of 
the spheroid correctly as expected (assuming Height is 0.0).

-Shayne

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47745#47745





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

Reply via email to