Not sure I can answer all the questions:
But they should be geo referenced(srtm data), you can probably omit the xx
and yy parameters. Believe they just specifiy the coordinates for manual
placement (if the file is not georeferenced).
Just try osgem -d nameofheightfieldfile -t nameoftexture -o terrain.ive
Providing the texture is georeferenced you should be ok.
Dont forget to add the --geocentric when using osgdem, providing you want a
round earth if not leave it out for flat terrain.
You can use gdalinfo to find the format the tiff files are in, I use FWTools
Hope it helps a little.
[mailto:] On Behalf Of Vijeesh
Sent: 25 December 2010 09:46
Subject: Re: [vpb] Terrain creation procedure in vpb
I'm new to vpb/osg. I have a tiff file which is only 5x5km. Also I dowloaded
the srtm hgt data from dds.cr.usgs.gov. I want to create a terrain out of
these two files. I tried osgdem with --xx 10 --yy 10 as specified in vpb
tutorial. Terrain is created but when it is loaded, Only a small portion at
one corner of the terrain is having the elevation data and rest are all
flat. What could be the reason. Also I would like to know what exactly --xx
--yy argument specifies. I'm a new bie in the terrain modelling. Also I want
to know how to check whether the tiff file is actually georeferenced or not.
Please help me
Read this topic online here:
Post generated by Mail2Forum