Re: [osg-users] [vpb] OSGDEM LOD Elevation Corruption

2009-06-02 Thread Robert Osfield
Hi Matt,

>From the screenshots it kinda looks like the simplification is going
wrong.  Is the coordinates system resulting in very small values?
Perhaps numerical precision is an issue.

Try using the --terrain option.  Also try projecting into a different
coordinates system such as ECEF using --geocentric.

Robert.

On Tue, Jun 2, 2009 at 9:13 PM, Matt McPheeters  wrote:
> Hi Robert,
>
> Mark at my company sent you the screen shots dated April 21.
>
> I just repeated the test in Windows with the same results on a completely
> different system.
>
> The system used-
>
> OSG 2.8.1 (compiled from source)
> VPB trunk (compiled from source)
> GDAL 1.60 (compiled from source)
> libgeotiff-1.2.5 (compiled from source)
> libjpeg-6b (compiled from source)
> zlib-1.1.3 (compiled from source)
> libtiff-3.8.2 (compiled from source)
>
> Intel i7 Core
> 3 GB RAM
> nVidia 9800 GT
> Windows Vista Business
> Microsoft VS8 Compiler
>
>
> At this point I am trying various command line options to see what 
> difference, if any, they make in the resulting database but it is a slow 
> process.  This is the batch file I used for this most recent run:
>
> ::EXPORT ENVIRONMENT VARIABLES
>
> set SOURCEDIR=C:/Projects/8014/Src
> set OUTPUTDIR=C:/Users/Administrator/Desktop
> set DBNAME=LZ27.ive
> set NUM_LOD=8
>
> set BLK_TILE=%SOURCEDIR%/black_pixel_100_sub.tif
> set ELEVATION_FILES=-d %SOURCEDIR%/0Elevation
> set RGBNVIS_FILES=--layer 0 -t %SOURCEDIR%/0Reflectivity
> set IRRADIANCE_FILES=
> set HORIZON_FILES=--layer 2 -t %SOURCEDIR%/2HorizonMap
>
>
> ::SET PATH ENVIRONMENT VARIABLE
>
> set 
> PATH=C:/Projects/VirtualPlanetBuilder/bin/release;C:/Projects/VirtualPlanetBuilder/lib/release;C:\Projects\VirtualPlanetBuilder\applications\osgdem\application_osgdem.dir\Release;C:/Projects/gdal-1.6.0;C:/Projects/OpenSceneGraph-2.8.1/bin;C:\Projects\zlib-1.1.3;C:\Program
>  Files\Microsoft Visual Studio 
> 8\VC\redist\Debug_NonRedist\x86\Microsoft.VC80.DebugCRT;C:\Program 
> Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT
>
>
> ::BUILD
>
> echo "Building..."
> cd C:/Projects/VirtualPlanetBuilder/bin/release
> call osgdem.exe --PagedLOD --RGBA --max-anisotropy 4 %ELEVATION_FILES% 
> %RGBNVIS_FILES% %IRRADIANCE_FILES% %HORIZON_FILES% -l %NUM_LOD% -o 
> %OUTPUTDIR%/%DBNAME%
>
>
> As a company we talked about the possibility of sending you a very small 
> example dataset that someone could use to replicate this problem.  Is this 
> something you would be willing to undertake?  It would mean a lot.
>
> Thank you!
>
> Cheers,
> Matt
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=13396#13396
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] OSGDEM LOD Elevation Corruption

2009-04-21 Thread Robert Osfield
Hi Mark,

I believe the GDAL drivers are broken in Ubuntu 8.10, uninstall it and
then pull down the GDAL as source and compile/install it.

Robert.

On Tue, Apr 21, 2009 at 1:11 AM, Mark  wrote:
> Hi,
>
>
> OSGDEM databases always finish with the highest detailed LODs corrupted. What 
> can I do to fix this problem?
>
> View from above in between two LODs-
>
> [Image: http://img25.imageshack.us/img25/1566/osgdemlodcorruption1.jpg ] 
> (http://img25.imageshack.us/my.php?image=osgdemlodcorruption1.jpg)
>
> View from an angle-
>
> [Image: http://img25.imageshack.us/img25/9618/osgdemlodcorruption2.jpg ] 
> (http://img25.imageshack.us/my.php?image=osgdemlodcorruption2.jpg)
>
> The system used-
>
> OSG 2.8.0 (2.2 -> 2.8 have the same results)
> VPB 0.9.10
> GDAL 1.60
> Quad Core Intel
> 4 GB RAM
> nVidia 8800 GTX
> Ubuntu 8.10 64-bit
>
>
> Thank you.
>
> -Mark
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10484#10484
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [vpb] OSGDEM LOD Elevation Corruption

2009-04-20 Thread Mark
Hi,


OSGDEM databases always finish with the highest detailed LODs corrupted. What 
can I do to fix this problem?

View from above in between two LODs-

[Image: http://img25.imageshack.us/img25/1566/osgdemlodcorruption1.jpg ] 
(http://img25.imageshack.us/my.php?image=osgdemlodcorruption1.jpg)

View from an angle-

[Image: http://img25.imageshack.us/img25/9618/osgdemlodcorruption2.jpg ] 
(http://img25.imageshack.us/my.php?image=osgdemlodcorruption2.jpg)

The system used-

OSG 2.8.0 (2.2 -> 2.8 have the same results)
VPB 0.9.10
GDAL 1.60
Quad Core Intel
4 GB RAM
nVidia 8800 GTX
Ubuntu 8.10 64-bit


Thank you.

-Mark

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10484#10484





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org