[osg-users] vpb: flipped/mirrored elevation terrain
Mattias Helsing
helsing72 at gmail.com
Tue Apr 1 15:20:09 PDT 2008
hi all,
this got lost so sorry if i'm double posting.
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(not the plugin) ,
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
oh, i'm using the head of both osg and vpb, Mike's 3rdParty and GDAL 1.2.6.0
/Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080402/7ef03453/attachment.html
More information about the osg-users
mailing list