Hi, Today I tried to create an earth model with terrain relief using osgdem and Blue Marble images.
Here is the steps: http://earthobservatory.nasa.gov/Newsroom/BlueMarble/BlueMarble_monthlies.html Download 'topographic shading' image, split it to 2048x2048 west.png and 2048x2048 east.png images. Download 'topography' image, resize it to 4096x2048 topo.png image. Prepatring: (http://www.openscenegraph.org/osgwiki/pmwiki.php/UserGuides/Osgdem) gdal_translate west.png west.tif gdaladdo -r average west.tif 2 4 8 16 32 gdal_translate east.png west.tif gdaladdo -r average east.tif 2 4 8 16 32 gdal_translate topo.png west.tif gdaladdo -r average topo.tif 2 4 8 16 32 Then, at first, I tried to generate a height field. osgdem --xx 10 --yy 10 -t west.tif \ --xx 10 --yy 10 -d topo-west.tif \ -l 3 -v 1.0 -o test.ive >> works fine. I got a height field of the world. Next, I tried to generate a textured earth model. (http://www.andesengineering.com/BlueMarbleViewer/) osgdem --bluemarble-west -t west.tif --bluemarble-east -t east.tif \ --geocentric -l 5 -o earth.ive >> works fine. I got a high resolution textured globe model. Then I tried to generate an earth model with terrain relief. osgdem --bluemarble-west -t west.tif --bluemarble-east -t east.tif \ --whole-globe -d topo.tif --geocentric -v 1.0 -l 5 -o earth.ive >> Not works properly. I got a high resolution textured globe model without any height relief. It seems that the current osgdem can't generate a globe height field. Or do I have any mistakes in arguments? regards, -- Toshiyuki TAKAHEI <[EMAIL PROTECTED]> _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
