Re: [osg-users] Read color from osgTerrain ImageLayer?

2009-11-30 Thread Robert Osfield
Hi Martin, Is it that the image data is stored in a DXT compressed format? If so then you'll need to decode the compressed form, something that isn't presently built into osg::Image or osgTerrain. Robert. On Sun, Nov 29, 2009 at 6:04 PM, Martin Scheffler osgfo...@tevs.eu wrote: Hi, a

Re: [osg-users] Read color from osgTerrain ImageLayer?

2009-11-30 Thread Martin Scheffler
Hi Robert, I use the puget example from the osgDem page. I think compression is not on by default, right? gdal_translate.exe ps-e.lg.jpg ps-e.lg.tif gdaladdo.exe -r average ps-t.lg.tif 2 4 8 16 32 osgdemd.exe --xx 10 --yy 10 --layer 0 -t ps-t.lg.tif --xx 10 --yy 10 -d ps-e.lg.tif -l 4 -v 0.5

Re: [osg-users] Read color from osgTerrain ImageLayer?

2009-11-30 Thread Martin Scheffler
OK, I removed compression by adding --RGB-16, now it works Cheers, Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20582#20582 ___ osg-users mailing list osg-users@lists.openscenegraph.org