Re: [osg-users] [vpb] rendering problem
Hi, Thank you for the information! Indeed, the coord system of my dem is in degrees. gdal_info give this : Driver: USGSDEM/USGS Optional ASCII DEM (and CDED) Files: 104n04_0100_deme.dem Size is 1201, 1201 Coordinate System is: GEOGCS[NAD83, DATUM[North_American_Datum_1983, SPHEROID[GRS 1980,6378137,298.257222101, AUTHORITY[EPSG,7019]], TOWGS84[0,0,0,0,0,0,0], AUTHORITY[EPSG,6269]], PRIMEM[Greenwich,0, AUTHORITY[EPSG,8901]], UNIT[degree,0.0174532925199433, AUTHORITY[EPSG,9108]], AXIS[Lat,NORTH], AXIS[Long,EAST], AUTHORITY[EPSG,4269]] Origin = (-133.75010416660,59.25010416667) Pixel Size = (0.0002083,-0.0002083) Metadata: AREA_OR_POINT=Point Corner Coordinates: Upper Left (-133.7501042, 59.2501042) (133d45'0.37W, 59d15'0.38N) Lower Left (-133.7501042, 58.9998958) (133d45'0.37W, 58d59'59.63N) Upper Right (-133.4998958, 59.2501042) (133d29'59.62W, 59d15'0.38N) Lower Right (-133.4998958, 58.9998958) (133d29'59.62W, 58d59'59.63N) Center (-133.625, 59.125) (133d37'30.00W, 59d 7'30.00N) Band 1 Block=1201x1201 Type=Int16, ColorInterp=Undefined NoData Value=-32767 Unit Type: m I don't know what to write in my command line except --geocentric so that this works, I tried several things but it doesn't work. Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29720#29720 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] rendering problem
Hi, Is it normal to have a rendering like this (enclose file) typing osgdem.exe -d 104n04_0100_deme.dem -l 5 -o 104n04_0100_deme.osg? When I add --geocentric, I don't have problem in rendering. Thank you! Cheers, Lucie[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29686#29686 Attachments: http://forum.openscenegraph.org//files/rendu_167.jpg ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi lucielemon, it looks like a unfinished database where the full LOD is not reached. have you tried to rum osgdem without the lLOd limitation to Level 5 ? osgdem.exe -d 104n04_0100_deme.dem -o 104n04_0100_deme.osg Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29687#29687 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi, Thank you for your reply! No I have not tried without limitation because I think it will take considerable time, isn't it? Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29688#29688 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi, On the other hand, I don't understand why I don't have the same problem when I add --geocentric. Could you explain it? Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29689#29689 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi Lucie, It looks like a numerical precision issue on the terrain due to a very small XY range. Is the coord system of your dem in degrees? Using --geocentric introduces Earth Center Earth Fixed coordinates which are in meters which avoids the issue numerical issues. Also changing the target coordinate system into meters will avoid the issue you are seeing. Robert. On Mon, Jul 5, 2010 at 4:01 PM, lucie lemonnier lucielemonn...@hotmail.fr wrote: Hi, Is it normal to have a rendering like this (enclose file) typing osgdem.exe -d 104n04_0100_deme.dem -l 5 -o 104n04_0100_deme.osg? When I add --geocentric, I don't have problem in rendering. Thank you! Cheers, Lucie[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29686#29686 Attachments: http://forum.openscenegraph.org//files/rendu_167.jpg ___ 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
Re: [osg-users] [vpb] rendering problem
Hi, it looks like a problem with normals. I don't know if the corresponding code is the same for geocentric and flat databases. Of course, if you finish your database build without LOD limitation, it takes more time than a inclomplete DB :) My first VPB attempts with incomplete VPB runs looked like your image so I assume you should give VPB a chance and finish the run without limitations :) If you compile only the DEM without textures, it should be complete in less than an hour for an area of europe on the srtm 3arcs resolution on an up to date PC. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29690#29690 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi, Thanks for your reply Robert. I don't know if my dem is in degrees, I found it in this site : http://www.geobase.ca/geobase/en/index.html. I will try to put the coordinate system into meters. Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29692#29692 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] rendering problem
Hi Lucie, I would recommend getting familiar with the GDAL tools such as gdalinfo, this command line app will report all the geospatial coords on your data. Robert. On Mon, Jul 5, 2010 at 4:41 PM, lucie lemonnier lucielemonn...@hotmail.fr wrote: Hi, Thanks for your reply Robert. I don't know if my dem is in degrees, I found it in this site : http://www.geobase.ca/geobase/en/index.html. I will try to put the coordinate system into meters. Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29692#29692 ___ 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