[osg-users] Convert .earth file to .osg format

Steven Jones stevenj279 at gmail.com
Mon Apr 29 12:10:45 PDT 2019


I've been trying osgdem to build the database, and pointing to the overall imagery and elevation sub-directories works fine.

I receive no error messages, and the build completes, but when I use osgviewer to inspect the .ive file, it is completely flat - no visible change in elevation - terrain resolution is perfect though. (When I view the .earth file in osgearth_viewer, the terrain's elevation is rendered correctly.)

Below is the command line that I've used to build the database - I've changed the LOD level to various settings, even up to 8, and tried other settings based on osgdem's -h info (such as --PagedLOD), but no joy.

osgdem --geocentric -t C:\DB\N33\W118\004_Imagery -d C:\DB\N33\W118\001_Elevation -l 8 -o db.ive

Also, if I create the database as .osg instead of .ive, osgviewer throws the following error:  "Problem, no locator found in any of the terrain layers."

Maybe I'm missing something obvious, but for the life of me I can't get past this point... ;-(   (It is very important that the database render the elevation in a 3D format.)

One other item of interest is that neither --interpolate-imagery nor --interpolate-terrain work in osgDem... They both throw errors that they are unrecognized commands. The version of VPB/osgDem I'm running is 0.9.11 (I was trying different options to generate the database when I encountered this.)




Read this topic online here:

More information about the osg-users mailing list