Hi,

i would create a tiled Terrain with osgdem . i have my heightMap and colourMap 
made with WorldMachine a terrain editor http://www.world-machine.com/ . With 
the heightmap i have no problem but with the colour map i got weird artifacts. 
This is my process:

i got the 8 bit .png colour map from WM.
 gdal_tranlsate colourMapDistorted_gdal_tr_16bit_02.png 
colourMapDistorted_gdal_tr_16bit_02.tif
gdaladdo -r average colourMapDistorted_gdal_tr_16bit_02.tif 2 4 8 16 32

then osgdem:

osgdem -t data/colourMapDistorted_gdal_tr_16bit_02.tif -d 
data/icebergHeightMapDistorted02_gdal.tif -l 8 -v 1 -o iceberg.ive -a 
iceberg.osga

i tried with other picture format, WM may output .bmp(8bit) ,png(8bit) 
.tiff(8bit) ,png(16bit) .tiff(16bit). i tired with all format but with no luck. 
The only difference that i noticed is that when i average the .tif(16bit) i got 
an alpha image instead of a RGB image . Who can enlight in the right direction?




Thank you!

Cheers,
walter

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





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

Reply via email to