Hi JS,

On Jan 11, 2008 6:25 PM, Jean-Sébastien Guay
<[EMAIL PROTECTED]> wrote:
> > Perhaps outputting the data as .osg will reveal exactly what is going amiss.
>
> OK, getting closer.

I've done a

    osgconv  test.ive test.osg

On your root .ive file and found the osgTerrain::Locator has default
settings i.e.

      osgTerrain::Locator {
        CoordinateSystemType PROJECTED
        TransformScaledByResolution FALSE
        Transform {
          1 0 0 0
          0 1 0 0
          0 0 1 0
          0 0 0 1
        }
      }

While I correctly get:

        osgTerrain::Locator {
        Format "WKT"
        CoordinateSystem
"GEOGCS[\"NAD83\",DATUM[\"North_American_Datum_1983\",SPHEROID[\"GRS
1980\",6378137,298.2572221010002,AUTHORITY[\"EPSG\",\"7019\"]],AUTHORITY[\"EPSG\",\"6269\"]],PRIMEM[\"Greenwich\",0],UNIT[\"degree\",0.0174532925199433],AUTHORITY[\"EPSG\",\"4269\"]]"
        CoordinateSystemType PROJECTED
        TransformScaledByResolution FALSE
        Transform {
          1.14305877685547 0 0 0
          0 0.896945953369141 0 0
          0 0 1 0
          -124.652221679688 41.1416664123535 0 1
        }
      }

This is almost certainly the root of the problem with the
visualization.  I'll add some debugging into the .ive plugin to see if
the Locator exists in the file or whether it exists but with just
default settings.

> > I have a Intel 2.4GHz quad core Intel machine running Linux.   I guess
> > there is a chance the bugs showing themselves on the Windows side
> > might be affecting performance.
>
> That's probably the case, plus file IO and some other things might be
> slower. I have the same as you here at work (Intel quad core Q6600 @
> 2.4GHz).
>
> I have found it pretty irrelevant to compare the performance of
> offline tasks between OSes, as they're rarely comparable. Too many
> variables differ between OSes, even on the same machine. Just as an
> example, a simple raytracing task for my Masters takes about twice the
> time on Windows as on Linux on similar machines.

This suggest an issue with compiler as much as anything else.  It'd be
interesting to try gcc under windows or even better the Intel
compilers.

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

Reply via email to