[osg-users] vpb: flipped/mirrored elevation
Mattias Helsing
helsing72 at gmail.com
Tue Apr 1 13:57:13 PDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080401/6428b581/attachment.html
More information about the osg-users
mailing list