Hi David,

The tiles in the PagedLOD don't match up "perfectly" in general. osgTerrain
gets them really close, but sometimes you'll see the gaps like you pointed
out in your image.  osgTerrain uses a skirt around each tile to hide those
gaps.  If the default skirt is not working out for you, you can use the
--skirt-ratio to increase the size of the skirt to hide the gaps.

In general, its going to be better to use the GDAL library to process and
georeference your imagery and terrain before passing it along to osgdem
rather than trying to use the --xx and --yy family of operators to reduce
potential georeferencing problems like the image being flipped.

Thanks,


On Thu, Jun 12, 2008 at 5:34 AM, David _ <[EMAIL PROTECTED]> wrote:

>  also, when using the no-interpolate option, the height image is flipped
> vertically
>
>
> ------------------------------
> From: [EMAIL PROTECTED]
> To: osg-users@lists.openscenegraph.org
> Date: Thu, 12 Jun 2008 11:06:06 +0200
> Subject: [osg-users] bug in last SVN VPB????
>
>
> i don´t know if you are aware of this but i think i´ve found a bug in last
> SVN version of vpb (rev 911)
>
> we´re generating some pagedlod islands with osgdem and when using the
> '--no-interpolate-terrain' option strange effects appear in the screen
>
> it looks like the pagedlod 'sub-objects' geometry is not matching perfectly
>
> we wanted to reduce the polygon density cause we had a very very high
> triangle count that was slowing down things. we have a lot of written code
> for PagedLOD trees so it needs to be a pagedLOD.
> We downscale our original high resolution heightmaps to 10% and used the
> '--no-interpolate--terrain' to tell the osgdem not to add extra geometry
>
> this is the final command
>
> 'c:\osg\vpb\osgdem.exe' --xx 100 --yy 100 -d height_map_downscale_10.tif
> --xx 0.5 --yy 0.5 --xt 0 --yt 20626.5 -t LG_200703_50cm_1_1.tif --xx 0.5
> --yy 0.5 --xt 6875.5 --yt 20626.5 -t LG_200703_50cm_1_2.tif --xx 0.5 --yy
> 0.5 --xt 13751 --yt 20626.5 -t LG_200703_50cm_1_3.tif --xx 0.5 --yy 0.5 --xt
> 20626.5 --yt 20626.5 -t LG_200703_50cm_1_4.tif --xx 0.5 --yy 0.5 --xt 0 --yt
> 13751 -t LG_200703_50cm_2_1.tif --xx 0.5 --yy 0.5 --xt 6875.5 --yt 13751 -t
> LG_200703_50cm_2_2.tif --xx 0.5 --yy 0.5 --xt 13751 --yt 13751 -t
> LG_200703_50cm_2_3.tif --xx 0.5 --yy 0.5 --xt 20626.5 --yt 13751 -t
> LG_200703_50cm_2_4.tif --xx 0.5 --yy 0.5 --xt 0 --yt 6875.5 -t
> LG_200703_50cm_3_1.tif --xx 0.5 --yy 0.5 --xt 6875.5 --yt 6875.5 -t
> LG_200703_50cm_3_2.tif --xx 0.5 --yy 0.5 --xt 13751 --yt 6875.5 -t
> LG_200703_50cm_3_3.tif --xx 0.5 --yy 0.5 --xt 20626.5 --yt 6875.5 -t
> LG_200703_50cm_3_4.tif --xx 0.5 --yy 0.5 --xt 0 --yt 0 -t
> LG_200703_50cm_4_1.tif --xx 0.5 --yy 0.5 --xt 6875.5 --yt 0 -t
> LG_200703_50cm_4_2.tif --xx 0.5 --yy 0.5 --xt 13751 --yt 0 -t
> LG_200703_50cm_4_3.tif --xx 0.5 --yy 0.5 --xt 20626.5 --yt 0 -t
> LG_200703_50cm_4_4.tif --no-interpolate-terrain --tile-image-size 1024 -l 9
> --compressed -v 0.07 -o i:/lg-l9-malla-reducida-1024/lg.ive
>
> now things are faster with lower fps drops due to faster intersections,
> reduced loading times and the triangle density is still ok. But these wierd
> effects appeared when "--no-interpolate--terrain" was used
>
> images showing the effects are included
>
> original size 1920x1200 downscaled to 60%
>
> thanks
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------
> Todo ruedas: información práctica y todo el glamour del mundo del motor. MSN
> Estilo y Tendencias <http://estilo.es.msn.com/>
>
>
> ------------------------------
> Tecnología, moda, motor, viajes,.suscríbete a nuestros boletines para estar
> siempre a la última MSN 
> Newsletters<http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com>
>
> _______________________________________________
> 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

Reply via email to