Hello Lucie,

When looking at your log I see that the tiff texture is reprojected...

started DataSet::createDestination(3)
reprojecting to file temporaryfile_013c07_0100_deme.tif
reprojecting to file
temporaryfile_S4_06032_5215_20061018_m20_1_utm20.tif
Time for after_reproject 8.389910

as recommended by Shayne, you should re-project your data, first it will
save you some processing time and secondly it will allow you to detect
projection problems more easily...


To avoid aliasing artifacts when accessing data, you can also use
gdaladdo to store the mip maps in the .tiff, like explained here :
http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem
(but it won't fix your projection trouble)

Otherwise I believe there was some problems with GDAL 1.5 at least with
some release ;  particularly the 1.5.0 was buggy...

If using known to work data, you still got strange result, try to update
gdal lib...

I've downloaded and tested on my machine (Debian 64bits - osg 2.9.7)
your Boston terrain and it looks normal... but the files are probably
not reprojected...

You could also try to look at your data in a GIS tool like Quantum GIS
http://www.qgis.org/

Just to see if everything is looking good ?


Pierre.

Le vendredi 09 juillet 2010 à 07:45 +0000, lucie lemonnier a écrit :
> Hello Pierre,
> I send you in attachment what I get in my console with "OSG_NOTIFY_LEVEL = 
> INFO" when I run "osgdem --geocentric -d data.dem -t data.tif -l 3 -o 
> data.osg" and when I run "osgviewer data.osg".
> Otherwise, I use osg-2.8.2, VPB 0.9.10 and gdal 1.5.
> I will try to use Boston data.
> 
> 
> Thank you!
> 
> Cheers,
> lucie
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29858#29858
> 
> 
> 
> 
> Attachments: 
> http://forum.openscenegraph.org//files/run_osgviewer_830.txt
> http://forum.openscenegraph.org//files/run_osgdem_171.txt
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pierre BOURDIN
I.M.E.R.I.R.
Av. Pascot BP 90443
66004 PERPIGNAN
tél: 04 68 56 84 95
fax: 04 68 55 03 86
email: [email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Reply via email to