OpenSceneGraph: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(OpenSceneGraph moved into own page)
 
(+intro)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[http://www.openscenegraph.org/ OpenSceneGraph] can read directly from the GRASS database when the [[Compile_and_install_GDAL-GRASS_plugin|GRASS-GDAL plugin]] was installed.
The [http://www.openscenegraph.org/ OpenSceneGraph] (OSG) is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. It supports globe view, stereo anaglyph rendering and more.
 
OpenSceneGraph can read directly from the GRASS database if the [[Compile_and_install_GDAL-GRASS_plugin|GRASS-GDAL plugin]] is installed.


Example:
Example:
 
<source lang="bash">
   GRASSDATA=$HOME/grassdata/nc_spm_08/PERMANENT
   GRASSDATA=$HOME/grassdata/nc_spm_08/PERMANENT
   export GRASSDATA
   export GRASSDATA
Line 11: Line 13:
   # you can already watch while the conversion is still running:
   # you can already watch while the conversion is still running:
   osgviewer north_carolina.ive
   osgviewer north_carolina.ive
</source>


[[Category:Documentation]]
[[Category:Documentation]]

Latest revision as of 11:51, 19 April 2011

The OpenSceneGraph (OSG) is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. It supports globe view, stereo anaglyph rendering and more.

OpenSceneGraph can read directly from the GRASS database if the GRASS-GDAL plugin is installed.

Example:

  GRASSDATA=$HOME/grassdata/nc_spm_08/PERMANENT
  export GRASSDATA
  
  osgdem --xx 10 --yy 10 -t ${GRASSDATA}/cellhd/landuse96_28m \
         --xx 10 --yy 10 -d ${GRASSDATA}/cellhd/elevation \
         -l 4 -v 0.1 -o north_carolina.ive
  # you can already watch while the conversion is still running:
  osgviewer north_carolina.ive