Hi Mattias, I regret the day that I added the manual coordinate system options to osgdem... its causes as much support as the rest of the VPB put together. Basically VPB is designed for use with geospatial imagery and dem's, fudging things using non geospatial data is a right pain as VPB really doesn't have proper coordinate system info to work with.
So if you can use geospatial imagery, its much simpler w.r.t osgdem command line options and the vagaries of different data source being orientated in different ways is removed. Robert. On Tue, Apr 1, 2008 at 9:57 PM, Mattias Helsing <[EMAIL PROTECTED]> wrote: > hi all, > using osgdem with a jpg texture and png elevation generates a mirrored > elevation terrain (for me :) > in simplest form I invoke odgdem like: > > osgdem -l 8 -o test.osg --xx 4096 --yy 4096 --zt 100 -t map_0_0_0_i.jpg > --xx 4096 --yy 4096 -d map_0_0_0_h.png --no-terrain-simplification > > the above will generate i nice,pageloded terrain with elevation data flipped > "vertical", i.e elevation data for florida will be applied around NY for a > USA extent. > > Translating the png to, for example, tiff (using gdal_translate will produce > the same results), so I guess this is a "feature" in vpb , which is probably > what it is and i'm the only one who doesn't get it :). > > Any hint at all appreciated or i'll just go and write image flipping > routines > > /Mattias > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

