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/

Reply via email to