also, when using the no-interpolate option, the height image is flipped 
vertically


From: [EMAIL PROTECTED]
To: [email protected]
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

_________________________________________________________________
MSN Noticias
http://noticias.msn.es/comunidad.aspx
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to