I had similar issue with OSG 1.2. My problem was resolved in some updates added to repository after 1.2 release. Try updating osgDEM & osgTerrain::DataSet from SVN.

Cheers,
Wojtek Lewandowski

----- Original Message ----- From: "Agustín Trujillo" <[EMAIL PROTECTED]>
To: "osg users" <[email protected]>
Sent: Monday, March 26, 2007 3:09 PM
Subject: Re: [osg-users] undesirable texture shifting with osgdem


Hi Robert:

Thanks for the quick answer. But I'm not talking about one or two
pixels. Look at the images LOD0 and LOD1, with 1 and 4 drawables. In the
first LOD level, there exist a broad black rectangle on the right part,
and the two right textures have been shifted to the left a lot of pixels!!

Agustin.


Robert Osfield escribió:
Hi Agustin,

GDAL uses nearest neighbour technique to get texels from source
imagery, it doesn't smooth them, or doing any averaging when down
sampling data.  This does lead to some loses in imagery quality,
including single pixel shifts.

With GoeTIff files you can build overviews which help reduce this
artifacts.

Robert.

On 3/26/07, Agustín Trujillo <[EMAIL PROTECTED]> wrote:
Hi guys:

I'm using gdal-132 and osgdem (OSG1.2) to build a 2x2 texture mosaic,
using:

osgdem  --xx 1 --yy 1 -d height_2k.tif
--xt 0 --yt  0  -xx  1  -yy 1 -t tex00_1k.tif
--xt 0 --yt  1024  -xx  1  -yy 1 -t tex01_1k.tif
--xt 1024 --yt  0  -xx  1  -yy 1 -t tex10_1k.tif
--xt 1024 --yt 1024  -xx  1  -yy 1 -t tex11_1k.tif
-l 2 -v 0.001 -o test.ive -o test.osga

When I visualize the scene, the problem is that there exists a texture
shifting (curiously, only in x-direction) when changing from a LOD level
to another.

I have read a similar problem in a post from Gert van Maren last
December, but I have not read any solution. Any idea?

Thanks in advance.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




--------------------------------------------------------------------------------


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to