Re: [osg-users] How read articles on osghelp.com
osghelp is now in http://code.google.com/p/sigmaosg/ Not much to see anymay. -- A. On Wed, Jul 27, 2011 at 2:34 AM, Martin Haffner str...@gmx.net wrote: Hi, During the search for OSG tutorials (since the documentation is rather bad) I found this site: http://www.osghelp.com/news.php Unfortunately I can't read them, since they require you to be registered. But I never found the registration button. Where the hell can I register myself to read the articles on this site? Thank you! Cheers, Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41656#41656 ___ 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] osg help documentation
Or buy the new begginers guide book. https://www.packtpub.com/openscenegraph-3-0-beginners-guide/book -- A. On Thu, Jan 20, 2011 at 3:22 AM, Robert Osfield robert.osfi...@gmail.com wrote: 2011/1/20 hongyang wang hywang1...@gmail.com: hello! I want to know ,How can I get osg help documentation? You could try the documention link on the openscenegraph.org front page. Robert. ___ 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] VirtualPlanetBuilder ETOPO5
Hi, I suggest you to try first gdalinfo to see if the gdal tools can read the data. If so, perhaps it's better to convert them to GeoTiff with gdal_translate and then use VPB. BTW why ETOPO5 if you can use ETOPO1? Regards, -- A. On Mon, Jan 10, 2011 at 10:51 AM, lucie lemonnier lucielemonn...@hotmail.fr wrote: Hi, I would like to build a digital terrain model with underwater data with VirtualPlanetBuilder. I would like to read the format ETOPO5 with VirtualplanetBuilder. Is it possible? Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35498#35498 ___ 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] Terrain creation procedure in vpb
Hi, The data should have geographic metadata so don't use -xx -yy. Have you tried gdalinfo with your data? (part of gdaltools wich yoo need installed for VPB proper working) Reqards, -- A. On Sat, Dec 25, 2010 at 3:45 AM, Vijeesh Theningaledathil vije...@nal.res.in wrote: Hi, I'm new to vpb/osg. I have a tiff file which is only 5x5km. Also I dowloaded the srtm hgt data from dds.cr.usgs.gov. I want to create a terrain out of these two files. I tried osgdem with --xx 10 --yy 10 as specified in vpb tutorial. Terrain is created but when it is loaded, Only a small portion at one corner of the terrain is having the elevation data and rest are all flat. What could be the reason. Also I would like to know what exactly --xx --yy argument specifies. I'm a new bie in the terrain modelling. Also I want to know how to check whether the tiff file is actually georeferenced or not. Please help me ... Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35166#35166 Attachments: http://forum.openscenegraph.org//files/osg_first_233.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] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide
Finally another good OSG book beside yours, Paul! :-) Yes, nice work, too Windows oriented to my taste, but of course the code must work in any platform where OSG works. Congratulations! -- A. On Thu, Dec 23, 2010 at 11:02 AM, Paul Martz pma...@skew-matrix.com wrote: Easy to purchase and download online. It's a PDF, and encoded in the PDF is a license mentioning me as the purchaser, to discourage distribution of free copies. Very nice touch. The book is just beautiful. Well done, great work! -Paul On 12/22/2010 5:22 PM, Wang Rui wrote: Hi Paul, Yse, there is an ebook version of this book on the Packt website. Take care of your eyes. Long time working at the computer will harm them, too. Cheers, Wang Rui 2010/12/22 Paul Martzpma...@skew-matrix.com: Is the book available electronically? Kindle, safari, PDF, etc? (Due to my eyesight, I am no longer able to read print material of any kind.) Thanks, -Paul ___ 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 -- -Paul Martz Skew Matrix Software http://www.skew-matrix.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
Re: [osg-users] VPB How to add geometry to an existing terrain
Thanks. The next natural question is, how do I know which levels belongs to higher resolution texture and which to geometry, given that my previous high resolution data was 3 for geometry and 1 for texture? Regards, -- A. On Fri, Oct 29, 2010 at 2:13 AM, J.P. Delport jpdelp...@csir.co.za wrote: http://www.openscenegraph.org/projects/VirtualPlanetBuilder/wiki/PatchExisting On 29/10/10 08:05, Alejandro Aguilar Sierra wrote: Hello: A year ago we built a terrain of Mexico using data from GTopo30 (30) and SRTM (3) for the geometry and Bluemarble (15) and Landsat (near 1) for the texture. It took a complete weekend and 100GB IVE database in a Dell Precision T5400 with 8GB RAM and 1TB HD. Today we want to refine the terrain with data for specific regions (1 from INEGI) without rebuilding everything. After all we would not change the existing data (levels 1 to 12), just add finer geometry creating upper levels. Is that possible with current VPB? How? Thanks in advance. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ 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
[osg-users] VPB How to add geometry to an existing terrain
Hello: A year ago we built a terrain of Mexico using data from GTopo30 (30) and SRTM (3) for the geometry and Bluemarble (15) and Landsat (near 1) for the texture. It took a complete weekend and 100GB IVE database in a Dell Precision T5400 with 8GB RAM and 1TB HD. Today we want to refine the terrain with data for specific regions (1 from INEGI) without rebuilding everything. After all we would not change the existing data (levels 1 to 12), just add finer geometry creating upper levels. Is that possible with current VPB? How? Thanks in advance. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Solved Re: Problem compiling 2.9.9 with Qt in MacOSX
Hi, Apparently the only problem was that I had Qt 32bits only. I updated Qt to the latest version with cocoa and 64b support and OSG 2.9.9 compiled without complain. Thanks for the help anyway. ;-) -- A. On Tue, Sep 28, 2010 at 12:58 PM, Alejandro Aguilar Sierra algsie...@gmail.com wrote: Hello: I am trying to compile 2.9.9 in a Mac OSX 10.6 snow leopard and I got a problem with Qt (error log below). In fact it would be better if I can compile it without Qt. Any hint? Regards, -- Alejandro [ 98%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o In file included from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qfont.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QFont:1, from /Users/ale/src/OpenSceneGraph-2.9.9/include/osgQt/QFontImplementation:19, from /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:13: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration. In file included from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qmatrix.h:46, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qtransform.h:44, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qimage.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QImage:1, from /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:21: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h: In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h:160: error: ‘toQDRgn’ was not declared in this scope lipo: can't figure out the architecture type of: /var/folders/qE/qEL4-gb+HEiohD3qgoFONE+++TI/-Tmp-//ccGy7LHP.out make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o] Error 1 make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2 make: *** [all] Error 2 Alejandro-Aguilar-Sierras-iMac:OpenSceneGraph-2.9.9 ale$ ccmake . ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Problem compiling 2.9.9 with Qt in MacOSX
Hello: I am trying to compile 2.9.9 in a Mac OSX 10.6 snow leopard and I got a problem with Qt (error log below). In fact it would be better if I can compile it without Qt. Any hint? Regards, -- Alejandro [ 98%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o In file included from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qfont.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QFont:1, from /Users/ale/src/OpenSceneGraph-2.9.9/include/osgQt/QFontImplementation:19, from /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:13: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration. In file included from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qmatrix.h:46, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qtransform.h:44, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qimage.h:45, from /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/QImage:1, from /Users/ale/src/OpenSceneGraph-2.9.9/src/osgQt/QFontImplementation.cpp:21: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h: In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers/qregion.h:160: error: ‘toQDRgn’ was not declared in this scope lipo: can't figure out the architecture type of: /var/folders/qE/qEL4-gb+HEiohD3qgoFONE+++TI/-Tmp-//ccGy7LHP.out make[2]: *** [src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.cpp.o] Error 1 make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Error 2 make: *** [all] Error 2 Alejandro-Aguilar-Sierras-iMac:OpenSceneGraph-2.9.9 ale$ ccmake . ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Compiling without Qt? Was Re: Compiling on Snow Leopard, problem with GDAL
Hi, Actually, it was enough to set the architecture to just x86_64 and it compiles 2.8.3. But when I tried to compile 2.9.8, at compiling osgQt it complains for the same reason, Qt is 32 bits. As at least currently I am not using Qt with OSG, I'd like to compile OSG without Qt support. In the CMakeList.txt I found the variable DESIRED_QT_VERSION but it didn't when I tried DESIRED_QT_VERSION=none or DESIRED_QT_VERSION=0. How is the right way to compile OSG without Qt? Regards, -- A. On Mon, Jul 12, 2010 at 3:37 PM, Stephan Huber ratzf...@digitalmind.de wrote: Hi, if you are compiling against 64bit, then you can't use the quicktime-plugin, as quicktime is 32bit only. Set OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX to imageio and try a recompile. cheers, Stephan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Compiling on Snow Leopard, problem with GDAL
Hello: I am trying to compile osg 2.8.3 in an iMac OSX 10.6.4 Snow leopard, cmake 2.6-4. I have the GAL framework that came with QGis ( http://www.kyngchaos.com/software:qgis ) and also a more recent version I compiled from source and installed to conventional UNIX /usr/local subdir. It compiles fine until 80%, when complains about missing required architecture ppc in file. [ 79%] Built target osgdb_vtf [ 80%] Building CXX object src/osgPlugins/gdal/CMakeFiles/osgdb_gdal.dir/ReaderWriterGDAL.cpp.o [ 80%] Building CXX object src/osgPlugins/gdal/CMakeFiles/osgdb_gdal.dir/DataSetLayer.cpp.o Linking CXX shared module ../../../lib/osgPlugins-2.8.3/osgdb_gdal.so ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks//gdal.framework/gdal, missing required architecture ppc in file Undefined symbols for architecture ppc: _GDALGetDataTypeName, referenced from: ReaderWriterGDAL::local_readImage(std::basic_stringchar, std::char_traitschar, std::allocatorchar const, osgDB::ReaderWriter::Options const*)in ReaderWriterGDAL.cpp.o ReaderWriterGDAL::local_readHeigh Why it is trying to compile for PPC in an Intel architecture? Any hint? Regards, Alejandro ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Compiling on Snow Leopard, problem with GDAL
That works, thank you! Now it stops at osgdb_qt, complaining about Movie not defined [ 97%] Built target osgdb_imageio [ 98%] Building CXX object src/osgPlugins/quicktime/CMakeFiles/osgdb_qt.dir/MovieData.cpp.o In file included from /Users/ale/src/OpenSceneGraph-2.8.3/src/osgPlugins/quicktime/MovieData.cpp:14: /Users/ale/src/OpenSceneGraph-2.8.3/src/osgPlugins/quicktime/MovieData.h:54: error: ISO C++ forbids declaration of ‘Movie’ with no type /Users/ale/src/OpenSceneGraph-2.8.3/src/osgPlugins/quicktime/MovieData.h:54: error: ‘Movie’ declared as an ‘inline’ field However Movie is defined in Movies.h included by QuickTime.h typedef struct MovieType** Movie; What is the problem now? Any idea? Regards, -- A. On Mon, Jul 12, 2010 at 10:57 AM, Stephan Huber ratzf...@digitalmind.de wrote: Hi, Am 12.07.10 16:46, schrieb Alejandro Aguilar Sierra: Why it is trying to compile for PPC in an Intel architecture? osg tries to build universal libs on mac os x. Set CMAKE_OSX_ARCHITECTURES according to your needs and do a recompile. cheers, Stephan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB question...
You can consult the version requirements table at the bottom of this page: http://www.openscenegraph.org/projects/VirtualPlanetBuilder IMHO VPB is a work in progress, the newer the better. Regards, -- A. On Tue, Dec 1, 2009 at 11:31 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: Can anyone tell me what version of VirtualPlanetBuilder is stable with OSG 2.8.2? I’m upgrading to OSG 2.8.2 and I want to make sure to get the right version of VPB that works with this… Thanks, -Shayne ___ 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 question...
Wrong. Please check the versions requirements table. On Tue, Dec 1, 2009 at 11:37 AM, Chris 'Xenon' Hanson xe...@alphapixel.com wrote: Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: Can anyone tell me what version of VirtualPlanetBuilder is stable with OSG 2.8.2? I’m upgrading to OSG 2.8.2 and I want to make sure to get the right version of VPB that works with this… I don't know what version it calls itself, but the most-current SVN checkout of VPB should be the correct one for OSG 2.8.2. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ 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 question...
Yeah. Chris, excuse me for the rush to correct it, I should have waited. Regards. -- A. On Tue, Dec 1, 2009 at 11:39 AM, Chris 'Xenon' Hanson xe...@alphapixel.com wrote: Chris 'Xenon' Hanson wrote: I don't know what version it calls itself, but the most-current SVN checkout of VPB should be the correct one for OSG 2.8.2. Sorry, that was incorrect. VPB-SVN is for the current OSG-SVN, not 2.8.2. Alejandro is right, for OSG 2.8.x, you want VPB 0.9.10. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ 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] Help loading bunny
No, they are just different resolutions of the model. Use the one without res. On Tue, Nov 3, 2009 at 4:54 PM, Brett Thomas Lee brettle...@hotmail.com wrote: Hi, Thank you very much for the quick reply. There are lots of ply files.Do I need all the files ??? Thank you! Cheers, Brett -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19132#19132 ___ 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] Help loading bunny
osgviewer can view ply files without any problem, and you can convert it with osgconv. ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz Cheers, -- A. On Tue, Nov 3, 2009 at 3:55 PM, Brett Thomas Lee brettle...@hotmail.com wrote: Hi, I want to load bunny model into osg. Does someone have .osg or osg compatible files for the bunny please. Thank you! Cheers, Brett -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19128#19128 ___ 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
[osg-users] Annoying version verification of models
Hello, I generated a terrain model in my laptop at home, then I did bring the model to my workstation at work. I can not see the model, I get this message: $ osgviewer isolineas/ene_cont.ive DataInputStream::DataInputStream(): The version found in the file is newer than this library can handle. osgviewer: No data loaded This is silly, the OSG version in my laptop is as much one week newer than the one I have here. VPB is exactly the same version in both machines. Is there a way to make osgdb less picky? Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: creating flat earth DB with specified projection
Perhaps not the best solution, but you could reproject your terrain data with gdaltranslate, before using osgdem. Regards. -- A. On Tue, Oct 13, 2009 at 8:26 AM, John Vidar Larring larr...@weatherone.tv wrote: Hi all, I'd like to create a flat VPB terrain with a specified projection and I a having some trouble. I'm hoping someone else have already done this and can share some insight. osgdem -t bm_east.tif -l 3 -o qwe.ive ... creates a flat earth in latlong projection. But when I try to specify a coordinate system for the destination database like the following: osgdem -t bm_east.tif -l 3 --cs +proj=stere +lat_ts=60 +lat_0=90 +lon_0=10 -o qwe.ive ...osgdem output the following a creates a database that does not show in osgviewer: % osgdem -t bm_east.tif -l 3 --cs +proj=stere +lat_ts=60 +lat_0=90 +lon_0=10 -o qwe.ive -t bm_east.tif --cs +proj=stere converted to PROJCS[unnamed,GEOGCS[WGS 84,DATUM[unknown,SPHEROID[WGS84,6378137,298.257223563]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Stereographic],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,0],PARAMETER[scale_factor,1],PARAMETER[false_easting,0],PARAMETER[false_northing,0]] -o qwe.ive Adding terrainTile DataSet::_run() 0 0 started DataSet::createDestination(3) AR=2.013294 C1=1 R1=2 createNewDestinationGraph Time for _destinationGraph-computeMaximumSourceResolution() = 0.58 Time for createDestinationGraph 0.000616 Time for after_computeNeighbours 0.43 Time for consolodateRequiredResolutions 0.00 reprojecting to file temporaryfile_bm_east.tif ERROR 1: CPLCreateThread() failed in ChunkAndWarpMulti() Note !! Time for after_reproject 48.371744 Time for after_sort 0.18 completed DataSet::createDestination(3) There are 1 contributing source files: bm_east.tif ... ...[snip]... ... vpb::access(qwe_root_L0_X0_Y0/qwe_L1_X0_Y1_subtile.ive, W_OK)=0 completed DataSet::writeDestination(qwe.ive) Elapsed time = 49.149146 Is this a usage issue, a bug or not-implemented-yet issue? My initial attempts of creating a flat projected database were based on this documentation from osgdem --help: --cs coordinates system string Set the coordinates system of source imagery, DEM or destination database. The string may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPS Best regards, John -- This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.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
Re: [osg-users] VPB: creating flat earth DB with specified projection
Robert, welcome back! IMHO, with better documentation, the growing set of VPB users (including me) could help. OTOH, there should be a set of automatic tests to assure that the different tasks of osgdem remain bug free. A bit more test driven development would be good. I will raise the topics again when you get the OpenGL ES port done. ;) -- A. On Sat, Oct 17, 2009 at 5:52 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi John, On Tue, Oct 13, 2009 at 2:26 PM, John Vidar Larring larr...@weatherone.tv wrote: Is this a usage issue, a bug or not-implemented-yet issue? My initial attempts of creating a flat projected database were based on this documentation from osgdem --help: I believe your usage should be correct. It's a while since I tested the setting of the destination coordinate system and don't have time right now to spend some time relearning, testing it. If you can't find a fix please raise the topic again once I've got the OpenGL ES 2.0 port done as I'll then have a bit of time to put into VPB. Robert. ___ 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
[osg-users] Solved Re: VPB: How to get and convert model coordinates?
Hi: The solution was in the same example code I am using (osgpick), but Glenn Waldron from osggis told me the hint. Quotiong: { 1) Find the osg::CoordinateSystemNode (CSN) atop your VPB database scene graph; 2) Get the EllipsoidModel from the CSN 3) call EllipsoidModel::convertXYZToLatLongHeight(). } Tha's exactly what osgpick does to get the current elevation. Regards, -- A. On Mon, Oct 12, 2009 at 1:12 AM, Alejandro Aguilar Sierra algsie...@gmail.com wrote: Hello: I want to be able to pick local coordinates from a terrain and convert them to model coordinates so I can obtain GIS data from a GIS data base, using those coordinates. Using the osgpick example code, I can get local and world geometries. I suppose I must get the corresponding TerrainTile, and call getLocator()-convertLocalToModel . Am I right? How can I get the picked terrain tile object? Regards, -- Alejandro ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: How to get and convert model coordinates?
Hello: I want to be able to pick local coordinates from a terrain and convert them to model coordinates so I can obtain GIS data from a GIS data base, using those coordinates. Using the osgpick example code, I can get local and world geometries. I suppose I must get the corresponding TerrainTile, and call getLocator()-convertLocalToModel . Am I right? How can I get the picked terrain tile object? Regards, -- Alejandro ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: Multitexture control question
Yes. Bluemarble is in layer 0 and Landsat in layer 1. Using just one landsat image it works like a charm. If I use all, as in the image I sent, they are present both all times o matter how far and close I go. -- A. On Tue, Oct 6, 2009 at 2:12 AM, J.P. Delport jpdelp...@csir.co.za wrote: Hi, BTW, did you place the high res images on a different layer when using vpb? jp J.P. Delport wrote: Hi, Alejandro Aguilar Sierra wrote: Hello: I have a terrain with two layers of texture, the first one is from bluemarble and the other is a landsat image of much higher resolution. I first tested the multitexturecontrol example with just one landsat image and it works fine: from a distance it shows only the bluemarble layer. When I approach to the terrain, it fades to the landsat image. Next I rebuild the terrain, this time with all the mosaic of landsat images over Mexico (image attached). Now it shows landsat images from any distance. I have been playing with the maxElevationTransition parameter in the source code without any change. Any hint? you can just call setTextureWeight manually to get whatever mix of textures you want. The example only shows one possible way to use it, where the weight is coupled to height. jp Regards. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ 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: Multitexture control question
Yes, from multitexturecontrol example, I wrote a program in which, key 2 brings layer 2, key 3 brings layer 3 (assigning 1.o to their weights). But I really would like it to work based on distance, as the example is intended for. Regards, -- A. On Tue, Oct 6, 2009 at 9:21 AM, J.P. Delport jpdelp...@csir.co.za wrote: Have you tried manually using setTextureWeight? Any hint? you can just call setTextureWeight manually to get whatever mix of textures you want. The example only shows one possible way to use it, where the weight is coupled to height. jp -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ 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: Is it possible to use a texture atlas over a vpb generated terrain?
Hi Robert: On Tue, Oct 6, 2009 at 2:56 AM, Robert Osfield robert.osfi...@gmail.com wrote: Is it possible to use a texture atlas over a vpb generated terrain? How? You just decorate your scene graph with the StateSet that contains your texture, and a use a TexGenNode to generate the coordinates. Sounds easy. Any example? I'm afraid this question is too open ended for me to answer. Do you at the same time? What do exactly you mean by super impose in this context? I have in layer 0 bluemarble textures, in layer 1 detailed landsat ones. In layer 2 I want to put an image of some physical variable, like sun ultraviolet radiation. I have one of those for each month of the year, I would like to put the January one and change it either by hand or animation until december. I tried to put all 12 images in dfferent layers but I just got a mess. I found a message in the archives in which in a similar case you suggest not using layers but atlas or 3d texture for this. How do you suggest I should do it? Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: Multitexture control question
Hello: I have a terrain with two layers of texture, the first one is from bluemarble and the other is a landsat image of much higher resolution. I first tested the multitexturecontrol example with just one landsat image and it works fine: from a distance it shows only the bluemarble layer. When I approach to the terrain, it fades to the landsat image. Next I rebuild the terrain, this time with all the mosaic of landsat images over Mexico (image attached). Now it shows landsat images from any distance. I have been playing with the maxElevationTransition parameter in the source code without any change. Any hint? Regards. -- A. attachment: mex.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: How to use a vector database with osgdem?
Hi Robert, Thanks for the information. By the way, how you can modify a terrain without rebuild it? I mean, suppose you have more raster data that you want to put as additional texture layers. How you can do it without rebuild the entire thing, as it would do using a source file? Regards, -- A. On Thu, Oct 1, 2009 at 11:43 AM, Robert Osfield robert.osfi...@gmail.com wrote: HI Alejandro and Chris, On Thu, Oct 1, 2009 at 6:55 AM, Chris 'Xenon' Hanson xe...@alphapixel.com wrote: I was just asking about the same thing. I'm curious too, I'm not sure if they're fully implemented. In VPB the vector (build and forest outlines imported from shape files) support is limited to databases build that use polygonal meshes rather than osgTerrain::TerrainTile. VPB now defaults to generating databases with osgTerrain::TerrainTile's as they are more compact and more flexible as they allow runtime decimation of data as well as terrain modifications, but it doesn't yet have support for handling vector data. To use the polygonal build you'll need to use --polygonal. I would like to see support added to osgTerrain::TerrainTile to allow us to provide polygonal outlines and fixed points of interest that the tesselation will honour, once this is in place we'll be able to get the shapefile support in VPB rolled out to all combinations. I should add that I'm not the author of the shapefile support in VPB, so I can't answer in too much about it's implementation. Robert. ___ 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: How to use a vector database with osgdem?
That would be ideal, but osggis seems to be pretty unstable, always segfaults, whatever I do. In my lap I am using osg 2.9.0 and osggis revision 193. In my main workstation at my lab, osg 2.9.6. Any hint? -- A. On Thu, Oct 1, 2009 at 6:54 AM, Jason Beverage jasonbever...@gmail.com wrote: Hi Chris and Alejandro, I'm not sure what the status of of these options are in osgdem, but you can use osgGIS to accomplish these tasks. It works well with draping over VPB databases. Thanks, Jason ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] About osggis (was VPB: How to use a vector database with osgdem?
Actually, osggis works but it needs that the shape has a .prj file. Regards. -- A. On Thu, Oct 1, 2009 at 8:37 PM, Alejandro Aguilar Sierra algsie...@gmail.com wrote: That would be ideal, but osggis seems to be pretty unstable, always segfaults, whatever I do. In my lap I am using osg 2.9.0 and osggis revision 193. In my main workstation at my lab, osg 2.9.6. Any hint? -- A. On Thu, Oct 1, 2009 at 6:54 AM, Jason Beverage jasonbever...@gmail.com wrote: Hi Chris and Alejandro, I'm not sure what the status of of these options are in osgdem, but you can use osgGIS to accomplish these tasks. It works well with draping over VPB databases. Thanks, Jason ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: How to use a vector database with osgdem?
Hello: Can someone please explain how can be used the command line option --vector with osgdem? Is there reproducible examples of the use of --building, --forest, --type-attribute, --height options? Thanks in advance for any help. -- Alejandro ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgOcean 1.0 (LGPL) Released
Hi Kim, Great news, congratulations! To compile, is there a way to avoid using the debug libraries of openthreads, fftw and osgviewer? Regards, Alejandro On Mon, Jun 15, 2009 at 5:02 PM, Kim C Balek.b...@hull.ac.uk wrote: Hi all, After much clawing and gnashing of teeth I've tagged version 1.0 of osgOcean. http://code.google.com/p/osgocean/ Feature list: - FFT ocean simulation model and rendering - Foam caps - Refraction/Reflection Passes - God Rays - Surface glare - Underwater depth of field - Underwater/above water fogging - Simulated light absorption and scattering - Silt effects - Screen distortion effects - Choice of FFT library dependancy Possibly the most important change is that the library is now held under a LGPL license. The CMake build now offers the choice between FFTW (GPL) or FFTSS (LGPL) for the FFT library dependancy which resolves the license issue. FFTW is the faster option, but the differance if fairly negliable within the context that it's used. The library now searches for it's resource dependancies using the osgDB registry so they're not bound to a specific path. I've also included a fix for the shader bug on 7 series nVidia cards which caused an error when indexing arrays using uniform variables. The example application now supports real-time changes to the ocean surface and effects so you can have a play with the settings to see what they do. A lot of the work has been submitted by Jean-Sebastian. If anybody else would like to contribute do get in touch. Many hands make light work and all that ;) For those of you that suggested features/enhancement that aren't in this release, don't worry I haven't forgotten about them, they're still on my list of things to do. Regards, Kim. * To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html * ___ 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] osgOcean 1.0 (LGPL) Released
Nevermind, I made it compile. It looks nice (see attached image) and is fast for a real time ocean simulation. But apparently it doesn't find the instaled resources, neither in the bin directory (instaled there by default) nor in the OSG data directory (where osgDB find things). Only finds them if I run it from the source directory. I got these output in the console: Building scene... . Loading cubemaps: 0.321772s . Generating ocean surface: 0.000128s . Creating ocean scene: 0.001092s . Loading islands: cannot change type of Shader cannot change type of Shader 0.08298s . Setting up lighting: 7.6e-05s complete. Time Taken: 0.406433s Why it cannot change type of Shader? I'm running it in a Debian GNU/Linux 2.6.26, 8GB RAM, OSG 2.9.3, NV Quadro FX 1700. Regards, Alejandro On Mon, Jun 15, 2009 at 5:53 PM, Alejandro Aguilar Sierraalgsie...@gmail.com wrote: Hi Kim, Great news, congratulations! To compile, is there a way to avoid using the debug libraries of openthreads, fftw and osgviewer? Regards, Alejandro On Mon, Jun 15, 2009 at 5:02 PM, Kim C Balek.b...@hull.ac.uk wrote: Hi all, After much clawing and gnashing of teeth I've tagged version 1.0 of osgOcean. http://code.google.com/p/osgocean/ Feature list: - FFT ocean simulation model and rendering - Foam caps - Refraction/Reflection Passes - God Rays - Surface glare - Underwater depth of field - Underwater/above water fogging - Simulated light absorption and scattering - Silt effects - Screen distortion effects - Choice of FFT library dependancy Possibly the most important change is that the library is now held under a LGPL license. The CMake build now offers the choice between FFTW (GPL) or FFTSS (LGPL) for the FFT library dependancy which resolves the license issue. FFTW is the faster option, but the differance if fairly negliable within the context that it's used. The library now searches for it's resource dependancies using the osgDB registry so they're not bound to a specific path. I've also included a fix for the shader bug on 7 series nVidia cards which caused an error when indexing arrays using uniform variables. The example application now supports real-time changes to the ocean surface and effects so you can have a play with the settings to see what they do. A lot of the work has been submitted by Jean-Sebastian. If anybody else would like to contribute do get in touch. Many hands make light work and all that ;) For those of you that suggested features/enhancement that aren't in this release, don't worry I haven't forgotten about them, they're still on my list of things to do. Regards, Kim. * To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html * ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org attachment: test.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] FirstPersonManipulator
Yeah, it would be better to have a complete, working, example, to test its basics. -- A. On Tue, May 19, 2009 at 11:37 AM, Pierre Bourdin (gmail) pierre.bour...@imerir.com wrote: I've just made an osgViewer with a FirstPersonManipulator... I've tested with a terrain... The Manipulator is shouting: you are lost in space! What kind of model you suggest to use it ? I had no time for a more complete test, so maybe I missed something obvious ?...? At least I can say it compiles on Linux Debian Testing with 2.8.1-rc5 without any problem... Pierre. Le mardi 19 mai 2009 à 17:05 +0200, Simon Loic a écrit : Hi, I don't think it would make sense anyway to review a code where very few people find interest. So I totally understand your position. Anyway, from what I've seen on this ML, users are quite active and I think they just didn't paid attention. So let's wait for feedback. Cheers. Loïc On Tue, May 19, 2009 at 4:56 PM, Robert Osfield robert.osfi...@gmail.com wrote: On Tue, May 19, 2009 at 3:43 PM, Simon Loic simon1l...@gmail.com wrote: Hi Robert, I'm not sure if the code is clean enough to fulfill OSG standards. Yet I was expecting some feedbacks about the manipulator (stability on different machines, missing features, weird behaviours, ...) before to release a submission. If you feel it's clean enough I guess you can check it in. Yet, as we don't get any feedback, maybe it's not worth it. I was hoping to have feedback from others before diving in with a review myself. I have plenty on my plate so having to do all the review work myself is something I'd rather not do. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Loïc Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org Pierre BOURDIN I.M.E.R.I.R. Av. Pascot BP 90443 66004 PERPIGNAN tél: 04 68 56 84 95 fax: 04 68 55 03 86 email: bour...@imerir.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
Re: [osg-users] Is osggis updated? Re: shp file and ive file
Sure, I'll try it tomorrow. Regards, -- A. 2009/5/14 Jason Beverage jasonbever...@gmail.com: Hi Alejandro, I'm currently having issues with my Linux dev environment, I'm going to need to rebuild it to get things rolling again. I primarily work in Windows, and things work fine there. Can you build in debug and try to get a stack trace as Glenn suggested? Thanks! Jason 2009/5/13 Jason Beverage jasonbever...@gmail.com Hi Alejandro, I just tried the latest osgGIS against OSG 2.8.0 on Linux and get segfaults as well. I'm doing a debug build of OSG and osgGIS to hopefully track down what is going on. Ill probably get to it sometime tommorow. Thanks! Jason 2009/5/13 Glenn Waldron gwald...@gmail.com No clue. Can you run in debug and produce a stack trace? Glenn Waldron : Pelican Mapping 2009/5/13 Alejandro Aguilar Sierra algsie...@gmail.com It helps, it apparently finishes the task. Then I run osggis_mapper and it dies noisily, droping a lot of hardware info: [osgGIS] Loading map default [osgGIS] Opened feature store at source/boston-buildings-downtown-utm19n-meters.shp Extent = (326354.28860, 4687724.18966 = 332731.03306, 4693913.93281) SRS = PROJCS[UTM Zone 19, Northern Hemisphere,GEOGCS[Geographic Coordinate System,DATUM[NAD83,SPHEROID[GRS 1980,6378137,298.2572220960423]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Transverse_Mercator],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,-69],PARAMETER[scale_factor,0.9996],PARAMETER[false_easting,50],PARAMETER[false_northing,0],UNIT[Meter,1]] [...] 4a000-b7f4c000 rwxp 00:0d 1232 /dev/zero b7f4c000-b7f4e000 rw-p b7f4c000 00:00 0 b7f4e000-b7f4f000 r-xp b7f4e000 00:00 0 [vdso] b7f4f000-b7f6b000 r-xp 08:04 150996684 /lib/ld-2.9.so b7f6b000-b7f6c000 r--p 0001b000 08:04 150996684 /lib/ld-2.9.so b7f6c000-b7f6d000 rw-p 0001c000 08:04 150996684 /lib/ld-2.9.so bfb57000-bfb6b000 rwxp bffeb000 00:00 0 [stack] bfb6b000-bfb6c000 rw-p b000 00:00 0 Aborted Any hint? -- A. 2009/5/8 Glenn Waldron gwald...@gmail.com: Try using the --threads 1 option and see if that helps. osggis_build --threads 1 project.xml Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 2009/5/8 Alejandro Aguilar Sierra algsie...@gmail.com Hi Jason, When I run osggis_build, it get stuck at some point. Sometimes at 37%, some others at 46% or 81%. I could left it running for hours and never go further. ... [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y5.ive: started [osgGIS] 38/49 tasks (77%) complete, 00:00:00 remaining [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: started [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: completed, time = 6e-06s [osgGIS] 39/49 tasks (79%) complete, 00:00:00 remaining [osgGIS] 0 out/buildings/gL0_X4_Y3.ive: completed, time = 2.62004s [osgGIS] 40/49 tasks (81%) complete, 00:00:00 remaining -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Alejandro, When you say it gets stuck, does it get stuck building the VPB database or does it get stuck when you try to run the osggis_build? Jason 2009/5/8 Alejandro Aguilar Sierra algsie...@gmail.com Hi, Good to know, but recently I tried to compile osggis with the current OSG and VPB branches. It compiles without a problem, but the example doesn't work. It is stucked building the example. Does anybody has been successful building the example? Regards, -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Andrew, I would recommend using osgGIS for this. It has the capability to make a paged database from a vector dataset like a shapefile and clamp it to an existing terrain database (like an IVE). http://www.osggis.org Thanks! Jason 2009/5/8 Jakob Ruhe jakob.r...@gmail.com Hi Andrewxie! The ESRIShapeReaderWriter plugin can read ESRI shape files so if you build that plugin and the ive plugin you can convert a shape file with something like this: osg::Node* node = osgDB::readNodeFile(myshape.shp); osgDB::writerNodeFile(*node, myhsape.ive); Good luck! /Jakob Ruhe 2009/5/8 Andrewxie rongyao...@163.com: Hi, how to clamp a shp file onto a ive file? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11667#11667 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users
Re: [osg-users] Taking it easy for a couple of days
Hi Robert, Me too, hope you get well soon. If this is the swine flu, don't worry, it's less bad than common influenza. Neil, evidence suggest that women's immune system is stronger, but not always. In the case of swine flu, at least in my country, there were infected more women than men. At the point when the flu becomes mortal (pneumonia) apparently it doesn't discriminate. Regards, -- A. On Wed, May 13, 2009 at 6:10 AM, neil.hug...@tesco.net wrote: Hi Robert, Hope you get well soon. Coincidently, this article appeared on the bbc today. So manflu does exist :-) http://news.bbc.co.uk/1/hi/health/8047321.stm Kind regards Neil. Robert Osfield robert.osfi...@gmail.com wrote: Hi All, I've gone down with a bad cold, so am struggling to focus, read and think clearly today. So... please don't expect much support from me today, some active threads will just have do without my contribution for a couple of days. Luckily human virus can't be transmitted by email/forums just yet. Robert. ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Is osggis updated? Re: shp file and ive file
It helps, it apparently finishes the task. Then I run osggis_mapper and it dies noisily, droping a lot of hardware info: [osgGIS] Loading map default [osgGIS] Opened feature store at source/boston-buildings-downtown-utm19n-meters.shp Extent = (326354.28860, 4687724.18966 = 332731.03306, 4693913.93281) SRS = PROJCS[UTM Zone 19, Northern Hemisphere,GEOGCS[Geographic Coordinate System,DATUM[NAD83,SPHEROID[GRS 1980,6378137,298.2572220960423]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Transverse_Mercator],PARAMETER[latitude_of_origin,0],PARAMETER[central_meridian,-69],PARAMETER[scale_factor,0.9996],PARAMETER[false_easting,50],PARAMETER[false_northing,0],UNIT[Meter,1]] [...] 4a000-b7f4c000 rwxp 00:0d 1232 /dev/zero b7f4c000-b7f4e000 rw-p b7f4c000 00:00 0 b7f4e000-b7f4f000 r-xp b7f4e000 00:00 0 [vdso] b7f4f000-b7f6b000 r-xp 08:04 150996684 /lib/ld-2.9.so b7f6b000-b7f6c000 r--p 0001b000 08:04 150996684 /lib/ld-2.9.so b7f6c000-b7f6d000 rw-p 0001c000 08:04 150996684 /lib/ld-2.9.so bfb57000-bfb6b000 rwxp bffeb000 00:00 0 [stack] bfb6b000-bfb6c000 rw-p b000 00:00 0 Aborted Any hint? -- A. 2009/5/8 Glenn Waldron gwald...@gmail.com: Try using the --threads 1 option and see if that helps. osggis_build --threads 1 project.xml Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 2009/5/8 Alejandro Aguilar Sierra algsie...@gmail.com Hi Jason, When I run osggis_build, it get stuck at some point. Sometimes at 37%, some others at 46% or 81%. I could left it running for hours and never go further. ... [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y5.ive: started [osgGIS] 38/49 tasks (77%) complete, 00:00:00 remaining [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: started [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: completed, time = 6e-06s [osgGIS] 39/49 tasks (79%) complete, 00:00:00 remaining [osgGIS] 0 out/buildings/gL0_X4_Y3.ive: completed, time = 2.62004s [osgGIS] 40/49 tasks (81%) complete, 00:00:00 remaining -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Alejandro, When you say it gets stuck, does it get stuck building the VPB database or does it get stuck when you try to run the osggis_build? Jason 2009/5/8 Alejandro Aguilar Sierra algsie...@gmail.com Hi, Good to know, but recently I tried to compile osggis with the current OSG and VPB branches. It compiles without a problem, but the example doesn't work. It is stucked building the example. Does anybody has been successful building the example? Regards, -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Andrew, I would recommend using osgGIS for this. It has the capability to make a paged database from a vector dataset like a shapefile and clamp it to an existing terrain database (like an IVE). http://www.osggis.org Thanks! Jason 2009/5/8 Jakob Ruhe jakob.r...@gmail.com Hi Andrewxie! The ESRIShapeReaderWriter plugin can read ESRI shape files so if you build that plugin and the ive plugin you can convert a shape file with something like this: osg::Node* node = osgDB::readNodeFile(myshape.shp); osgDB::writerNodeFile(*node, myhsape.ive); Good luck! /Jakob Ruhe 2009/5/8 Andrewxie rongyao...@163.com: Hi, how to clamp a shp file onto a ive file? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11667#11667 ___ 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 ___ 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 ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org
[osg-users] Is osggis updated? Re: shp file and ive file
Hi, Good to know, but recently I tried to compile osggis with the current OSG and VPB branches. It compiles without a problem, but the example doesn't work. It is stucked building the example. Does anybody has been successful building the example? Regards, -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Andrew, I would recommend using osgGIS for this. It has the capability to make a paged database from a vector dataset like a shapefile and clamp it to an existing terrain database (like an IVE). http://www.osggis.org Thanks! Jason 2009/5/8 Jakob Ruhe jakob.r...@gmail.com Hi Andrewxie! The ESRIShapeReaderWriter plugin can read ESRI shape files so if you build that plugin and the ive plugin you can convert a shape file with something like this: osg::Node* node = osgDB::readNodeFile(myshape.shp); osgDB::writerNodeFile(*node, myhsape.ive); Good luck! /Jakob Ruhe 2009/5/8 Andrewxie rongyao...@163.com: Hi, how to clamp a shp file onto a ive file? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11667#11667 ___ 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 ___ 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] Is osggis updated? Re: shp file and ive file
Hi Jason, When I run osggis_build, it get stuck at some point. Sometimes at 37%, some others at 46% or 81%. I could left it running for hours and never go further. ... [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y5.ive: started [osgGIS] 38/49 tasks (77%) complete, 00:00:00 remaining [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: started [osgGIS] 1 /home/ale/3d/gis/boston-sample/out/buildings/gL0_X6_Y6.ive: completed, time = 6e-06s [osgGIS] 39/49 tasks (79%) complete, 00:00:00 remaining [osgGIS] 0 out/buildings/gL0_X4_Y3.ive: completed, time = 2.62004s [osgGIS] 40/49 tasks (81%) complete, 00:00:00 remaining -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Alejandro, When you say it gets stuck, does it get stuck building the VPB database or does it get stuck when you try to run the osggis_build? Jason 2009/5/8 Alejandro Aguilar Sierra algsie...@gmail.com Hi, Good to know, but recently I tried to compile osggis with the current OSG and VPB branches. It compiles without a problem, but the example doesn't work. It is stucked building the example. Does anybody has been successful building the example? Regards, -- A. 2009/5/8 Jason Beverage jasonbever...@gmail.com: Hi Andrew, I would recommend using osgGIS for this. It has the capability to make a paged database from a vector dataset like a shapefile and clamp it to an existing terrain database (like an IVE). http://www.osggis.org Thanks! Jason 2009/5/8 Jakob Ruhe jakob.r...@gmail.com Hi Andrewxie! The ESRIShapeReaderWriter plugin can read ESRI shape files so if you build that plugin and the ive plugin you can convert a shape file with something like this: osg::Node* node = osgDB::readNodeFile(myshape.shp); osgDB::writerNodeFile(*node, myhsape.ive); Good luck! /Jakob Ruhe 2009/5/8 Andrewxie rongyao...@163.com: Hi, how to clamp a shp file onto a ive file? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11667#11667 ___ 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 ___ 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 ___ 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] terrain database popping...
Hi Stefan, I played with libmini some time ago. I didn't studied the code deeply, but I think some things are already in OSG, like the viewer. I don't have too much time right now, but with the proper insight, I may try to do it. Regards, -- A. On Thu, Apr 16, 2009 at 4:32 AM, Stefan Roettger ste...@stereofx.org wrote: On Apr 15, 2009, at 11:44 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: I think it would be good to fold libmini (or something equivalent) into OSG. That way you can use the databases built with VPB. I don't know much about VTP but using VPB databases are nice... Yes. I have been thinking for almost 2 years now about folding libMini into OSG, but so far did not have the necessary time to do it. So it got delayed and delayed... If someone is volunteering though, I'd be happy to give the necessary insight into libMini. Cheers, Stefan ___ 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] FFmpeg has a stable release!! 0.5 is now out the door
Yeah, good news! :) -- A. On Tue, Mar 10, 2009 at 10:38 AM, Tanguy Fautre tang...@aristechnologies.com wrote: Wow! That was unexpected! T -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Tuesday 10 March 2009 16:09 To: OpenSceneGraph Users Subject: Spam: [osg-users] FFmpeg has a stable release!! 0.5 is now out the door Hi All, After getting used to the idea that FFmpeg was a wacky project publicly committed to not providing stable releases that have done the unthinkable - they've gone and made a stable release! Check the front page of http://ffmpeg.org/ out. This is good news for us as it gives a stable base to reference, and the chance that binaries will start appearing across platforms to make it easier for 3rd parties to get our new ffmpeg plugin working ;-) Robert. ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Problem compiling latest trunk, ffmpeg problem
Hi Robert, I updated ffmpeg a month and a half ago in order to be able to encode videos to h264, so I need that version, I can't downgrade it. It is SVN-r17646. I agree on not using deprecated functions. Best regards, -- A. On Sat, Feb 28, 2009 at 3:33 AM, Robert Osfield robert.osfi...@gmail.com wrote: HI Alejandro, Which version of ffmpeg do you have installed? As J.P. mentioned ffmpeg is a bit of moving target and were' only just getting into learning about FFmpeg foibles. We'll probably need to add version checking into our FindFFmpeg.cmake to avoid these issue. Also migrating the code across from not using deprecated functions will be a possible solution. Adopting use ffmpeg suggest use of swscale isn't though as it's GPL'd, so we may have to create our own local equivalents for colour conversion. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Problem compiling latest trunk, ffmpeg problem
Hi, I just updated both ffmpeg and osg/trunk, compiled and instaled ffmpeg but osg can't compile because these errors: [ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: In member function 'void osgFFmpeg::FFmpegDecoderVideo::publishFrame(double)': /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:228: error: 'img_convert' was not declared in this scope /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: In member function 'void osgFFmpeg::FFmpegDecoderVideo::yuva420pToRgba(AVPicture*, const AVPicture*, int, int)': /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:264: error: 'img_convert' was not declared in this scope make[2]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o] Error 1 make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 make: *** [all] Error 2 Before updating ffmpeg, I got other ffmpeg related compilation errors. Any hint? My system is GNU/Linux 2.6.26-1-686 Debian Sid, gcc 4.3.1. Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OpenSceneGraph-2.8.0 release - adds character animation, volume rendering and much more!
And after that rest, perhaps we will talk about documenting VPB. ;) Cheers! -- A. On Thu, Feb 12, 2009 at 9:21 AM, Serge Lages serge.la...@gmail.com wrote: Congratulation Robert, you've made an amazing work these past weeks to get out this release ! I think you can now take a rest ! :) On Thu, Feb 12, 2009 at 3:58 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi All, I am delighted to announce the long hours of testing and refinement are over, I have just tagged the 2.8.0 release ;-) Downloads page: http://www.openscenegraph.org/projects/osg/wiki/Downloads News page: http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG2.8 Many many thanks to all those have put long hours developing new features,conducting testing and debugging. I'm confident this is the highest quality release we've ever done. Have fun! Robert. -- From the News page. PERTHSHIRE, Scotland - 12th February 2009 - OpenSceneGraph Professional Services announces the release of OpenSceneGraph 2.8, the industry's leading open-source scene graph technology, designed to accelerate application development and improve 3D graphics performance. OpenSceneGraph 2.8 written entirely in Standard C++ and built upon OpenGL, offers developers working in the visual simulation, game development, virtual reality, scientific visualization and modeling markets - a real-time visualization tool which eclipses commercial scene graph toolkits in functionality, stability and performance. OpenSceneGraph 2.8 runs on all Microsoft Windows platforms, Apple OS/X, GNU/Linux, IRIX, Solaris, HP-UX, AIX and FreeBSD operating systems. Open-source development delivers industry-leading features and performance ¶ The OpenSceneGraph 2.8 release is the culmination of 10 years of work by the lead developers and the open-source community that has grown up around the project. The real-time graphics industry and academia embraced it from the very beginning, deploying it in real-world applications, and actively participating in its development, testing and refinement. The end result is a high-quality library with a feature set relevant to application developers' needs. Updates include: ¶ * New osgVolume library for volume rendering, with support for: o High quality GPU based Ray tracing o Transfer functions o Per pixel lighting o Iso surface rendering o Maximum Intensity Projection rendering o Non-power-of-two 3D textures, and 3D texture compression o DICOM loading for reading dicom medical data * New osgAnimation library for character and scene animation. * New plugin for reading Biovision hierarchical files (.BVH) to generate character motion animations. * New osgShadow support for Light Space Perspective Shadow Maps. * Three new scene graph widgets for placing traditional 2D capability into fully interactive 3D scenes: o PDF widget (based on libPoppler) o VNC client widget (based on libVNCServer) o Internet browser client widget (based on Gecko/UBrowser) * New plugins for loading Half-Life 2 maps and models. * New plugin for loaded EXR, high dynamic range imagery * Improvements to DatabasePager, tailored for low latency paging. * Improved run-time stats collection and on screen reporting. * Performance improvements through optimization of matrix operations. * Support for the OpenGL draw instanced extension. * Support for zlib compressed native .ive and .gz files * Improvements to COLLADA support. * Build reporting using CDash * New packaging support using CPack * A wide range of build and bug fixes Downloads and Licensing ¶ OpenSceneGraph is open-source, so full source code is provided, and can be copied, modified and used free of charge for commercial and non-commercial use. Access to the source allows end users greater flexibility in how they develop, debug and deploy their applications. They gain productivity and freedom by being able to leverage the tool chain in accordance with their own release cycles. Downloads of binaries and source can be found in the Downloads section of the openscenegraph.org website. OpenSceneGraph is released under the OpenSceneGraph Public License, which is based on the Lesser GNU Public License (LGPL), permitting the software to be used free of charge across the full spectrum of commercial and open-source applications. Furthermore, it allows both static and dynamic linking of the OpenSceneGraph libraries without restricting the licensing of the user's software. OpenSceneGraph Books now available ¶ The OpenSceneGraph Quick Start Guide is now available in Chinese as well as English, and alongside the Reference Manual, books can be found at OsgBooks. Professional support and services ¶ OpenSceneGraph project is backed up with professional services by OpenSceneGraph Professional Services,
[osg-users] Open Inventor like Sensors in OSG?
Hi, In Open Inventor, sensors are special classes that respond when an object state is changed and call a callback. They were IMHO not very clean, designed before Design Patterns, but I think they are like observers or signal/slot objects. Is there anything similar in Open Scenegraph? Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgviewer
Hi, Change or disable the camera manipulator with setCameraManipulator. Use your own viewer loop instead of viewer.run(). -- A. On Fri, Dec 12, 2008 at 8:31 AM, Kaiser, Hagen hagen.kai...@siemens.com wrote: Just wanted know if someone knows a simple way to temporarily disable the mouseevent-handling of the osgviewer. Thanks ___ 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] LOD: discrete or continuous?
Hi Robert, It would be interesting to implement an interactive and improved version of ROAM or SOAR or even CLIPMAP for OSG. In vtp you can find standalone working implementations. Both would require paged DB. The internal representation would use different data structures. The only two OSG ready implementations I found at vtp was demeter and chunked lod. -- A. On Fri, Dec 12, 2008 at 9:00 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Yong, On Fri, Dec 12, 2008 at 2:53 PM, Yong Wang yw...@dandp.com wrote: Does OSG support continuous Level of Detail? Or support only discrete LOD? The core OSG only includes discete LOD, but it's possible to extend the OSG to provide CLOD. The VirtualTerrainProject has a number of CLOD implementations that extend the OSG. Robert. ___ 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] LOD: discrete or continuous?
Hi Robert, ChunkLOD is not CLOD, it's a static paged database, which really is far less use than what the OSG provides natively with its DatabasePager with VirtualPlanetBuilder generating the databases. Exactly, your current implementation is much better than the old OSG ready ones you can find at VTP. As for CLOD implementations, most don't scale well, don't handle geocentric databases, and most don't perform particular well in comparison to static paged databases. Personally I think CLOD is not as useful as it once was, the balance between GPU power and bandwidth/CPU power has drastically altered in the last five years, what made sense five years ago really doesn't these days. Ok. But by all means go spend time on stuff that isn't really useful... I rather would like to contribute vpb with useful stuff. IMHO there is yet room for improvement, and I would be more than happy to contribute. If just we had better documentation. ;-) Regards. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: Partial terrain with vpbmaster, why?
Hi Robert, I tried but no clue yet. How is going the VPB documentation project? Regard, -- A. On Sat, Nov 29, 2008 at 5:41 AM, Robert Osfield [EMAIL PROTECTED] wrote: HI Alejandro, Thanks for the test files. I can recreate the problem which is the good news. The bad news is that I don't have any good ideas what might be exactly wrong. My best guess is that the task generation is not building all the required tasks to cover the region, with the extreme aspect ratio being a likely to clue to what is going wrong. It's probably just a small typo somewhere. I have a lot of other tasks on my plate right now so can't dive into the VPB code to figure out what is wrong. If you can't wait for me to get back to VPB work, just dive into the VPB code and see what is happening with the tasks generation. Robert. On Fri, Nov 28, 2008 at 9:41 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Hi Robert, Ok, same command lines, same result. osgdem -d fv.tif -t fv_tx.tif -l 5 -o fv.ive vpbmaster -d fv.tif -t fv_tx.tif -l 5 -o fv2.ive I am using latest vpb and osg from svn. Apparently the whole terrain (fv2) appears on screen at starting osgviewer, but the right side disapears instantly. fv works fine. As the images are not big, I am attaching them so you can reproduce the problem (or not). Regards, -- A. On Fri, Nov 28, 2008 at 11:11 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alehandro, I can't see how I or others can really answer your question. The best I can do is point out that your command lines are different, so... this might have an effect. Try using the same command lines. Robert. On Fri, Nov 28, 2008 at 4:17 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Hi, Building the same terrain, osgdem creates it complete but vpbmaster does just the first left chunk. Why? Am I missing some parameter? I used these commands, respectively: osgdem -d fv.tif -t fv_tx.tif -l 5 -v 20 -o fv.ive Elapsed time = 70.969066 vpbmaster -d fv.tif --layer 0 -t fv_tx.tif --layer 1 -t fv_gmt.tif --terrain -o fv2.ive Total elapsed time = 1.818129 All images are geotiff created with gdal from DEM data (etopo1) and height/palette tables. Thanks in advance and regards. -- A. ___ 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 ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] maxTime( OpenGL, OSG )
Hello: I started in late eighties programming directly the VGA (I wrote a primitive raytracer for the 256 color mode) and phigs (a opengl predecessor). Then in the 90s I tried a bit OpenGL (I wrote a rubik cube simulator). Then for many years I was no more than an occasional 3d graphics user (mainly for visualization and gamming, doom and quake series). It was until two or three years ago that I restarted to program 3d graphics, first with Open Inventor, Open GL and now OSG and GLSL. Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: Partial terrain with vpbmaster, why?
Hi, Building the same terrain, osgdem creates it complete but vpbmaster does just the first left chunk. Why? Am I missing some parameter? I used these commands, respectively: osgdem -d fv.tif -t fv_tx.tif -l 5 -v 20 -o fv.ive Elapsed time = 70.969066 vpbmaster -d fv.tif --layer 0 -t fv_tx.tif --layer 1 -t fv_gmt.tif --terrain -o fv2.ive Total elapsed time = 1.818129 All images are geotiff created with gdal from DEM data (etopo1) and height/palette tables. Thanks in advance and regards. -- A. attachment: with_osgdem.jpgattachment: with_vpbmaster.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: osgdem ignoring vertical multiplier
Hello: I created a geotiff file with all necesary data. The resulting terrain, using osgdem, is correct. Now I'd like to exagerate the vertical scale in another model. I tried to force the vertical scale assigning a vertical multiplier -v 10.0 but osgdem ignores it. Any hint? Thanks in advance. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Linux Dev. Env. Poll
Hi, Debian Sid, emacs, g++. Regards. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] bump mapping using GLSL shaders
Hi, I suggest you to see the osgshaders example (how osg deals with glsl) and then consult chapter 11 of the orange book (OpenGL shading language). You can find the shaders used in the book at http://3dshaders.com/ Hope it helps. -- A. On Mon, Nov 24, 2008 at 10:39 AM, Morné Pistorius [EMAIL PROTECTED] wrote: Hi all, I added bump mapping to a model using osgFX::BumpMapping, but I need something more flexible. My model has two sided lighting and osgFX doesn't support that. Do we have GLSL shaders for bumpmapping in OSG? I think that would be easier to modify to suit my needs than the assembler coded shaders used in osgFX. If anyone has an example of applying normal mapping with shaders in OSG, I would greatly appreciate it. Thank you kindly, Morne ___ 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
[osg-users] VPB: Moon sources (was Re: vpb: Spherical terrains?
Hi, I'm not Glenn but as himself said, perhaps your question was meant for me. Celestia motherlode has excelent images http://www.celestiamotherlode.net/catalog/moon.php The better ones are from NASA and the USGS. Google moon has links here http://www.google.com/moon/about.html I'd like to know about your progress with these models. Regards, -- A. On Sat, Nov 22, 2008 at 2:34 AM, Rahul Jain [EMAIL PROTECTED] wrote: Hi Guys, I also want to create the moon model for my project. But I am not able to find any data sources till now. Glenn, can you tell me the source of the imagery you have used for generating the terrain. Are there any free data sources for the moon imagery ? RJ Alejandro Aguilar Sierra wrote: Hi Glenn, Yes, thanks. Using more accurate moon metrics osgdem --geocentric --whole-globe -t moontex.tif -d moon_tiled.tif \ -l 10 \ --radius-equator 1737100 --radius-polar 1735970 \ -v 0.257 \ -o lunasph.ive I got the attached images. Regards, --A. On Tue, Sep 30, 2008 at 11:23 AM, Glenn Waldron [EMAIL PROTECTED] wrote: Alejandro, Try adding --radius-polar in addition to --radius-equator. Glenn ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to pass a fixed possition to a vertex shader?
Hi Umit, You have used same texture unit for 2 texture so your last initilazed texture on unit 1 active. I mean, EarthCloudGloss active on unit 1. so you should texture EarthCloudGloss to the unit 2. That's what I thought but it was not working. There was a silly mistake in my osg code, I was reusing texture2 instead of texture3 in the last image assignment (as you can see in my first message). That's fixed now. My problem is tha I have a fixed possition in world coordinates (LightPosition) as a Uniform parameter. At the time of passing it to the vertex shader, apparently it is seen as fixed in screen coordinates. If I move the view, the scene moves but not the effect of the shader. How should I convert the vertex coordinate? I know this is maybe a faq but as I told, it's my first shader experiment, and I can't make it work. I will highly appreciate any help. Best regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Shaders and multitextures
Hello: I built a terrain with two textures to test osgmultitexturecontrol. It fade between both textures. Now, for the effect I am looking for in another scene, the use of shaders would be convenient. I want to reproduce in osg the example from chapter 10.3 of the orange book (Multitexturing Example). The shaders are available in the book's site http://3dshaders.com/home/index.php?page=shop.product_detailsflypage=shop.flypageproduct_id=12category_id=1manufacturer_id=0option=com_virtuemartItemid=3 The reason this shader is suitable is that it uses a daytime or a nightime image of Earth, and uses on the sphere the corresponding texture to the position of the sun. Actually I want to control not two but four areas on the sphere (also the polar circles). Perhaps this can be done with subtextures, but the shaders seems to be good for the job. The problem, as usual, is the lack of documentation. Currently I am able to texture the daytime image and the clouds cover, but not the nightime image. What is the purpouse of the second parameter (int) of the Uniform constructor. A reference for the texture unit or something else? osg::Uniform* terrainTextureSampler = new osg::Uniform(EarthDay, 0); This is the first time I use shaders with osg, so please be patient. I am pasting the shaders and texture functions. I will appreciate any hint. Best regards, -- A. static void shaders(osg::StateSet* stateset) { osg::Vec3 LightPosition = osg::Vec3( 0.0f, 1.0f, 0.0f ); // uniform sampler2D EarthTexture; osg::Uniform* LightPositionUniform = new osg::Uniform(LightPosition, LightPosition); stateset-addUniform(LightPositionUniform); osg::Uniform* terrainTextureSampler = new osg::Uniform(EarthDay, 0); stateset-addUniform(terrainTextureSampler); osg::Uniform* terrainTextureSampler2 = new osg::Uniform(EarthNight, 1); stateset-addUniform(terrainTextureSampler2); osg::Uniform* terrainTextureSampler3 = new osg::Uniform(EarthCloudGloss, 1); stateset-addUniform(terrainTextureSampler3); osg::Program* program = new osg::Program; stateset-setAttribute(program); program-addShader(osg::Shader::readShaderFile(osg::Shader::VERTEX, CH10-earth-3tex.vert)); program-addShader(osg::Shader::readShaderFile(osg::Shader::FRAGMENT, CH10-earth-3tex.frag)); } void Estaciones::textura() { estado = geonodo-getOrCreateStateSet(); osg::ref_ptrosg::Image imagen1 = osgDB::readImageFile(dia.jpg); osg::ref_ptrosg::Texture2D textura1(new osg::Texture2D); textura1-setImage(imagen1.get()); estado-setTextureAttributeAndModes(0, textura1.get(),osg::StateAttribute::ON); osg::ref_ptrosg::Image imagen2 = osgDB::readImageFile(noche.jpg); osg::ref_ptrosg::Texture2D textura2(new osg::Texture2D); textura2-setImage(imagen2.get()); estado-setTextureAttributeAndModes(1, textura2.get(),osg::StateAttribute::ON); osg::ref_ptrosg::Image imagen3 = osgDB::readImageFile(nubes.jpg); osg::ref_ptrosg::Texture2D textura3(new osg::Texture2D); textura2-setImage(imagen3.get()); estado-setTextureAttributeAndModes(2, textura3.get(),osg::StateAttribute::ON); } ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB: Superimposed or switch different textures possible?
Hello: Is it possible to switch between different textures over the same terrain? Is it possible to superimpose different textures over the same terrain? Thanks in advance, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: Superimposed or switch different textures possible?
Hi Robert and Umit, How should I run the osgmultitexturecontrol example? Regards, -- A. On Sat, Nov 8, 2008 at 11:14 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, The best way to manage swtiching between different textures over the same terrain is use multiple texture units, and then if you blend between them as required. The osgTerrain::TerrainTile class supports multiple osgTerrain::Layer(s) so you can attach multiple images as multiple layers and these in turn map to multiple texture units. You can then manage the blending between them using osgFX::MultiTextureControl node decorating the whole terrain. The osgmultitexturecontrol example shows this in action. Robert. On Sat, Nov 8, 2008 at 3:13 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Hello: Is it possible to switch between different textures over the same terrain? Is it possible to superimpose different textures over the same terrain? Thanks in advance, -- A. ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Migrating to a forum?
Robert: That system already exists. It is the google group http://groups.google.com/group/osg-users . It can work as a mailing list for those who want to get the e-mails, or as a forum for those who don't. Another advantage is that it will not fall when osg servers fail. I guess currently that group is just a subscriber to the mailman server, but it should not be very hard to make it the master. Regards, -- A. On Tue, Nov 4, 2008 at 9:00 AM, Robert Osfield [EMAIL PROTECTED] wrote: Guys. Please re-read the previous thread on this discussion. Everything has been said before, everything has be rehashed to death. You are never going to please everyone by going for a forum or by going for mailing list only. The only way to appease everyone is to have a system where users can subscribe as a mailing list or visit a forum to interact with the same materials in their own preferred way. If such a system has been developed that is viable, and can import all our mailman history, and we have expert volunteers that can make it happen, i.e. do the work on the server, then great, but until that day we'll be sticking with a Mailman based mailing list. If you can't make such as system happen then please take heed I'm not taking votes, migrating from a mailing list is not up for debate until we have the above solution that deployable and we have the manpower to make it happen. Robert. ___ 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 bug or faulty data?
Hi Ralph, I am using the last versions from svn. Perhaps this warning from gdalinfo gives a hint on what is wrong with this data? gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength because otherwise it recognizes that there is no projection but has all georeferencing information needed. Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) I built it with gdal_translate directly from the BIL file gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif The header of the BIL file says: NROWS 3600 NCOLS 7200 NBANDS 1 NBITS 16 BYTEORDER I LAYOUT BIL SKIPBYTES 0 NODATA 0.00 BYTEORDER I XDIM 0.000278 YDIM 0.000278 ULXMAP -98.999862 ULYMAP 19.9998612 Apparently it misses vertical information, but that is not the problem right now. Regards, -- A. On Mon, Oct 27, 2008 at 1:06 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro Im not 100% here, but I think you still need to specify some sort of projection basis, even plain lat lon uses some defenition of the geoid like WGS84 og similar. Natrally it could be a problem with you GTiff file. What version of VPB OSG are you using? Brgs. Ralf 2008/10/27 Alejandro Aguilar Sierra [EMAIL PROTECTED] Hi, Actually the data has no projections, it is in plain longitude/latitude coordinates. Which is the recomended projection for data about 1 or two degrees long so I can have it in kilometers? Regards, -- A. On Sun, Oct 26, 2008 at 2:04 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro It seams you are missing projection information in the createt geotiff file. VPB needs some sort of projection system information in the input or you should specify the projection in the commandline for VPB It will be faster if you project your source data using ie gdalwarp, adal translate can also encode the projection data if its missing and you know what it should be. Brgs. Ralf Stokholm 2008/10/26 Alejandro Aguilar Sierra [EMAIL PROTECTED] Hello: I got DEM data from INEGI (Mexican Geographic Institute) and convert it to Geo Tiff. gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif gdaladdo -r average volcanes.tif 2 4 8 16 32 gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength Driver: GTiff/GeoTIFF Files: volcanes.tif Size is 7200, 3600 Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) Band 1 Block=256x256 Type=UInt16, ColorInterp=Gray NoData Value=0 Overviews: 3600x1800, 1800x900, 900x450, 450x225, 225x113 Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength If I try to create the terrain database this way I get only a line osgdem -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive so I have to give approximate pixel size with xx and yy and it apparently works. osgdem --xx 33 --yy 33 -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive Is there not enough information in the geotiff file? or this is a bug? Regards, -- A. ___ 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 ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB bug or faulty data?
Hi Robert and Umit, As probably you already read it, my data is georeferenced but has no projection info (plain latitude, l,ongitude). Using plain osgdem produces a wrong 1 dimension field (a line). osgdem -d volcanes.tif -l 8 -v 1.0 -o kk I have to give some approximated --xx and --yy data to make it work and even so it does wrongly, creating the mirror image in the Y direction, as you can see comparing the texture image with the produced terrain. Any hint? Where can I find documentation about vpbmaster, vpbcache and vpbsize? Regards, -- A. On Mon, Oct 27, 2008 at 3:40 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Umit, On Mon, Oct 27, 2008 at 9:25 AM, Ümit Uzun [EMAIL PROTECTED] wrote: Thanks for clarification. But I remember that, VPB can manipulate only WGS84 referenced data. But it may be valid for only BlueMarble viewer. Sorry for wrong comment :) When building geocentric databases VPB reprojects the data into WGS84 and then builds the data, if you are using vpbmaster then you'll need to do this reprojection as a prior step to calling vpbmaster. The vpbcache utility can do this reprojection for you. If you are just using osgdem standalone then it can do the reprojection for you. The key is that your source data should have at least a projection that GDAL recognizes otherwise you end up having to build your own projection. GDAL has tools to allow you to do this. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org attachment: texture.jpgattachment: terrain.jpg___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB bug or faulty data?
Hi Robert: Yes but they are perfectly georeferenced. What shoud I do? --geocentric is enough? -- A. On Mon, Oct 27, 2008 at 10:38 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, There is no coordinate systeml information for VPB to go on, and empty string for the coordinate system is not sufficient for determining the coordinate system, the origin and pixel size info aren't sufficient on their own. Robert. On Mon, Oct 27, 2008 at 4:32 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Hi Ralph, I am using the last versions from svn. Perhaps this warning from gdalinfo gives a hint on what is wrong with this data? gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength because otherwise it recognizes that there is no projection but has all georeferencing information needed. Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) I built it with gdal_translate directly from the BIL file gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif The header of the BIL file says: NROWS 3600 NCOLS 7200 NBANDS 1 NBITS 16 BYTEORDER I LAYOUT BIL SKIPBYTES 0 NODATA 0.00 BYTEORDER I XDIM 0.000278 YDIM 0.000278 ULXMAP -98.999862 ULYMAP 19.9998612 Apparently it misses vertical information, but that is not the problem right now. Regards, -- A. On Mon, Oct 27, 2008 at 1:06 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro Im not 100% here, but I think you still need to specify some sort of projection basis, even plain lat lon uses some defenition of the geoid like WGS84 og similar. Natrally it could be a problem with you GTiff file. What version of VPB OSG are you using? Brgs. Ralf 2008/10/27 Alejandro Aguilar Sierra [EMAIL PROTECTED] Hi, Actually the data has no projections, it is in plain longitude/latitude coordinates. Which is the recomended projection for data about 1 or two degrees long so I can have it in kilometers? Regards, -- A. On Sun, Oct 26, 2008 at 2:04 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro It seams you are missing projection information in the createt geotiff file. VPB needs some sort of projection system information in the input or you should specify the projection in the commandline for VPB It will be faster if you project your source data using ie gdalwarp, adal translate can also encode the projection data if its missing and you know what it should be. Brgs. Ralf Stokholm 2008/10/26 Alejandro Aguilar Sierra [EMAIL PROTECTED] Hello: I got DEM data from INEGI (Mexican Geographic Institute) and convert it to Geo Tiff. gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif gdaladdo -r average volcanes.tif 2 4 8 16 32 gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength Driver: GTiff/GeoTIFF Files: volcanes.tif Size is 7200, 3600 Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) Band 1 Block=256x256 Type=UInt16, ColorInterp=Gray NoData Value=0 Overviews: 3600x1800, 1800x900, 900x450, 450x225, 225x113 Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength If I try to create the terrain database this way I get only a line osgdem -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive so I have to give approximate pixel size with xx and yy and it apparently works. osgdem --xx 33 --yy 33 -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive Is there not enough information in the geotiff file? or this is a bug? Regards, -- A. ___ 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 ___ osg-users mailing list osg
Re: [osg-users] VPB bug or faulty data?
Hi Ralph, It works, thank you very much! :) -- A. On Mon, Oct 27, 2008 at 1:57 PM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro You can use gdalwarp to (stamp) the projection information into you data. try using something similar to the following: //call gdalwarp to project my data to wgs84 //This will create a virtual raster (vrt) which does not copy the data of the original raster //but creates a sort of filter for reading the data. gdal_translate -of vrt -a_srs EPSG:4326 volcanes.tif volcanes.vrt //Then use the vrt as input osgdem -d volcanes.vrt -l 8 -v 1.0 -o kk EPSG:4326 is short form defenition of a basic lat lon coordinate system, same format you will receive ie landsat data in. Hope this helps. Brgs. Ralf Stokholm 2008/10/27 Robert Osfield [EMAIL PROTECTED] Hi Alejandro, Your data *is* the problem, please add the coordinate system info. Using the --xx etc options really is not a good solution going forward. Use properly set up data and things will work fine. Please go check out the gdal website for info on how to set up your data. As for VPB docs, I haven't had a chance to write full docs for all the utilities yet. There are some notes online. Robert. On Mon, Oct 27, 2008 at 4:43 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Hi Robert and Umit, As probably you already read it, my data is georeferenced but has no projection info (plain latitude, l,ongitude). Using plain osgdem produces a wrong 1 dimension field (a line). osgdem -d volcanes.tif -l 8 -v 1.0 -o kk I have to give some approximated --xx and --yy data to make it work and even so it does wrongly, creating the mirror image in the Y direction, as you can see comparing the texture image with the produced terrain. Any hint? Where can I find documentation about vpbmaster, vpbcache and vpbsize? Regards, -- A. On Mon, Oct 27, 2008 at 3:40 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Umit, On Mon, Oct 27, 2008 at 9:25 AM, Ümit Uzun [EMAIL PROTECTED] wrote: Thanks for clarification. But I remember that, VPB can manipulate only WGS84 referenced data. But it may be valid for only BlueMarble viewer. Sorry for wrong comment :) When building geocentric databases VPB reprojects the data into WGS84 and then builds the data, if you are using vpbmaster then you'll need to do this reprojection as a prior step to calling vpbmaster. The vpbcache utility can do this reprojection for you. If you are just using osgdem standalone then it can do the reprojection for you. The key is that your source data should have at least a projection that GDAL recognizes otherwise you end up having to build your own projection. GDAL has tools to allow you to do this. Robert. ___ 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 ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB bug or faulty data?
Hi, Actually the data has no projections, it is in plain longitude/latitude coordinates. Which is the recomended projection for data about 1 or two degrees long so I can have it in kilometers? Regards, -- A. On Sun, Oct 26, 2008 at 2:04 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Alejandro It seams you are missing projection information in the createt geotiff file. VPB needs some sort of projection system information in the input or you should specify the projection in the commandline for VPB It will be faster if you project your source data using ie gdalwarp, adal translate can also encode the projection data if its missing and you know what it should be. Brgs. Ralf Stokholm 2008/10/26 Alejandro Aguilar Sierra [EMAIL PROTECTED] Hello: I got DEM data from INEGI (Mexican Geographic Institute) and convert it to Geo Tiff. gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif gdaladdo -r average volcanes.tif 2 4 8 16 32 gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength Driver: GTiff/GeoTIFF Files: volcanes.tif Size is 7200, 3600 Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) Band 1 Block=256x256 Type=UInt16, ColorInterp=Gray NoData Value=0 Overviews: 3600x1800, 1800x900, 900x450, 450x225, 225x113 Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength If I try to create the terrain database this way I get only a line osgdem -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive so I have to give approximate pixel size with xx and yy and it apparently works. osgdem --xx 33 --yy 33 -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive Is there not enough information in the geotiff file? or this is a bug? Regards, -- A. ___ 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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VPB bug or faulty data?
Hello: I got DEM data from INEGI (Mexican Geographic Institute) and convert it to Geo Tiff. gdal_translate -of GTiff -co TILED=YES MDE-n20s19e097o099.bil volcanes.tif gdaladdo -r average volcanes.tif 2 4 8 16 32 gdalinfo volcanes.tif Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength Driver: GTiff/GeoTIFF Files: volcanes.tif Size is 7200, 3600 Coordinate System is `' Origin = (-99.000,20.000) Pixel Size = (0.0002778,-0.0002778) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -99.000, 20.000) Lower Left ( -99.000, 19.000) Upper Right ( -97.000, 20.000) Lower Right ( -97.000, 19.000) Center ( -98.000, 19.500) Band 1 Block=256x256 Type=UInt16, ColorInterp=Gray NoData Value=0 Overviews: 3600x1800, 1800x900, 900x450, 450x225, 225x113 Warning 1: TIFFReadDirectory:volcanes.tif: Wrong StripByteCounts field, ignoring and calculating from imagelength If I try to create the terrain database this way I get only a line osgdem -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive so I have to give approximate pixel size with xx and yy and it apparently works. osgdem --xx 33 --yy 33 -d volcanes.tif -l 8 -v 1.0 -o volcanes.ive Is there not enough information in the geotiff file? or this is a bug? Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgmultitexturecontrol example data base?
Hi, Where can I find a osgmultitexturecontrol ready example data base to run the example? Thanks in advance. -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] vpb: From sphere to plane
Hello: As you approach toa planet, the terrain become flatter. Is there a simple way to switch from a median detail spheric terrain to a high detail plane terrain? Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpb: Spherical terrains?
On Wed, Oct 8, 2008 at 3:44 AM, Robert Osfield [EMAIL PROTECTED] wrote: I think vpb should have a set of well documented and flexible parameters that allow to use it for any planetary terrain, otherwise we will need --geoecentric-mars, --geoecentric-mercury, etc. I don't think anyone of us would disagree with this sentiment. Especially if you are willing to help with this effort :-) Sure. Where should I start? Poles are little bit awkward to fix with the simple quad tree approach used by the OSG (and many other whole whole techniques.) We could certainly do more to try and alleviate this problem by better sampling around the poles when building the terrain. Anisotropic filtering can help at runtime. As Colin Middleton points out, that filtering will not be enough. I am willing to help on implementing the polyhedron based projection. I know of a few papers and references, including and adaptation of the ROAM algorithm to the cube projection. But since I am a newbie as osg (and vpb) developer I just need some directions and links. Regards, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] vpb: Spherical terrains?
Hi Robert: It's not my intention to jump into a new scheme, but using current vpb algorithms, it should be possible to do a few adaptations to better deal with spherical terrains, that's all. Ok I will wait until there is a minimal set of documents about vpb at the wiki, next month. Regards, -- A. On Wed, Oct 8, 2008 at 9:15 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, On Wed, Oct 8, 2008 at 2:49 PM, Alejandro Aguilar Sierra [EMAIL PROTECTED] wrote: Sure. Where should I start? The wiki... ;-) I will actually be doing docs on VTP in the next month so it probably worth waiting till I get this done then adding to bits that could deserve with more info. Poles are little bit awkward to fix with the simple quad tree approach used by the OSG (and many other whole whole techniques.) We could certainly do more to try and alleviate this problem by better sampling around the poles when building the terrain. Anisotropic filtering can help at runtime. As Colin Middleton points out, that filtering will not be enough. I am willing to help on implementing the polyhedron based projection. I know of a few papers and references, including and adaptation of the ROAM algorithm to the cube projection. But since I am a newbie as osg (and vpb) developer I just need some directions and links. Using a substantially different terrain division algorithm would require a major rewrite of VirtualPlanetBuilder, and it's not just a little bit of code that is straight forward to learn and easy to tinker with. The papers you might come across we just scratch the surfaces on the actual details required for implementation of highly scalable terrain generation. VPB can handle terrabytes of source and output data, there's only a few pieces software in the world that currently does this for terrain, and VPB is the only open sourced one I'm aware of. Handling terrabytes of moziaced multi-resolution data is the hard part that few bits of software handle. So... jumping to a new scheme is not easy at all, and the papers won't help you, and rather than look for grand all encompassing solutions look for smaller solutions, and there are some such as changing the sample dimensions on polar tiles that will actually solve most of the problem with massive changes or long learning curves. Robert. ___ 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
[osg-users] vpb: Spherical terrains?
Hello: As recommended in this forum, I installed both osg and vpb from svn and I was able to reproduce the example with the Punget terrain. Now I want to try it with planets, starting with the moon. I started trying with these parameters --geocentric --spherical --radius-equator 1735000 but I get this error: ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for moon_heigth.tif. There is no affine transformation and no GCPs. I assume I could add that transformation in a world file or creating a geotiff file, but I am not sure how to do that. I also assume that the bluemarble options only works at Earth scale, as in this example: http://www.andesengineering.com/BlueMarbleViewer/ Sorry if these are faqs, I am a newvbie and there is not much documentation about this subject. I will appreciate any advice. Regards, -- Alejandro Sierra ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org