[osg-users] how to use CoordinateSystemNode?
robert.osfield at gmail.com
Thu Sep 4 06:42:43 PDT 2008
You make no mention of how you position the city model into the whole
earth model. The way I'd tackle this would be to compute the
transform from your projection coordinates to ECEF using a
MatrixTransform, this would retain the cities local origin for good
precision. If the city area is wide enough the curvature of the earth
might be an issue so you may need to do local transforms of individual
objects or vertices to properly fit the curvature of the earth.
2008/9/4 forest37 <forest37 at 163.com>:
> hi all,
> Now I have two files, "earth.osga " and "city.ive" .
> The first file use GEOGCS WGS 84 CoordinateSystem and the second file
> use PROJCS UTM Zone CoordinateSystem ,I add them both into the scene.But i
> only can see the scene of the first file,that is the earth.No matter how i
> zoomed in and out ,I still can't find the scene of the second file which is
> a city .
> what I want to do is to show the earth and city like google earth,what
> should i do?
> thanks for any hint.
> best regards
> 200万入主万科中粮紫苑155平米8重空间大宅 周周送好礼
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users