Hi Robert,
Thanks for your suggestion, but maybe I misleaded you to the wrong way.
Please let me re-organize my problems again.
I have built the earth model ( earth.osga ), the region model ( e.g.
Beijing.osga, which created by osgdem with img file and dem file), and the
object models (e.g. car.osg, plane.osg, ...). I want to load the three kinds of
models in one viewer, and locate the Beijing.osga and car.osg, plane.osg, etc.
in specifically position of the earth model (earth.osga) with Lon/Lat/Height
coordinate. How can I do it?
thanks.
Minghong
2009-04-07
谢明鸿
发件人: Robert Osfield
发送时间: 2009-04-07 20:44:04
收件人: OpenSceneGraph Users
抄送:
主题: Re: [osg-users] How to attach DEM/Texure/OSG Model to an earthmodel created
by VPB?
Hi Minghong,
Just add to the your existing osgdem command line the imagery using the -t
image.tif for the texture, and -d heightfiel.tif to pass in the DEM and then
rebuild the database. You'll need to add your 3D model yourself to the final
model.
Robert.
2009/4/7 谢明鸿 <[email protected]>
I have created an earth model with VPB ( an ellipsoid with earth texture) by
the instruction post in
http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem.
(osgdem --bluemarble-west -t land_shallow_topo_west.tif --bluemarble-east -t
land_shallow_topo_east.tif -l 8 -o earth.ive -a earth.osga)
I want to add a ground station model(e.g, School.osg) to the earth model(
earth.osga) at specific position(e.g., Lon/Lat - 37.33/33.2), and I want to
post the dem and texure of the region in which a osg model(school.osg) is
positioned.
Let's assume the dem and texture have proper projection infomation, which means
the dem file and texure img file have geo-info(e.g., GeoTiff Format Files). How
can I post them(plane object) to an ellipsoid model(earth.osga) at specific
position??
thanks.
2009-04-07
Minghong Xie
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org