Hi Maya, I found out what the issue was with the Puget Sound data. The new code that was added assumes incorrectly that the GDALDataSet will have geo-referencing information and doesn't account correctly for a manually entered georef as in your example.
I've made a few changes that should correct this, but I'm going to wait until osgdem completes as well as try to run a couple of my own examples and Gert's problem case from last week to make sure this doesn't break anything else. I'll hopefully have a patch submitted shortly. Thanks, Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Beverage Sent: Monday, July 31, 2006 10:02 A To: osg users Subject: RE: [osg-users] osgdem changed? Hi Maya, I added some code to the DataSet class that changed the way that terrain is interpolated and its apparently causing some problems with the Puget Sound dataset. I can reproduce the problem on my end but I'm not sure exactly what is wrong. For now, you can change the value of interpolateTerrain from true to false in the readHeightField method in DataSet.cpp to enable the original code path. I'll take a look at the problem shortly and try to get a fix out. Thanks, Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of maya leonard Sent: Sunday, July 30, 2006 10:33 P To: [email protected] Subject: [osg-users] osgdem changed? Hi osgers I'm trying to use osgdem and I get incorrect terrain models while following the osgdem website instructions osgdem --xx 10 --yy 10 -t ps_texture_16k.tif --xx 10 --yy 10 -d ps_height_16k.tif -l 8 -v 0.1 -o puget.ive -a pegout.osga With this command I get a flat terrain as seen in the image attached. I'm using the latest osg cvs version, gdal12 on windows XP. I have tried using other xx yy settings and get results that resemble a terrain but the flat areas aren't flat at all. Are these web instructions wrong? Has something else changed? regards maya _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
