r.out.vrml.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <h2>DESCRIPTION</h2>
  2. This module exports a GRASS raster map to the Virtual Reality Modeling
  3. Language (VRML) format for 3D visualization.
  4. <p>This version only outputs raster maps in VRML 1.0 format.
  5. The newer VRML 2.0 format will be more efficient for geographic
  6. applications, as it introduces an "ElevationGrid" node so that
  7. only the elevation points will have to be written instead
  8. of the whole geometry. The vast majority of VRML viewers
  9. currently only support VRML 1.0.
  10. If the extension "wrl" (world) is not present in the he
  11. <em>output</em> parameter, it will be added.
  12. <h2>WARNING</h2>
  13. VRML is not well suited for large geometrys which can result from even
  14. a small geographic region. Most viewers seem to bog down with more
  15. than 12,000 polygons, depending on your hardware &amp; specific
  16. viewer. Each grid cell results in two polygons, so a reasonable size
  17. region would be something less than about 75x75. For improved
  18. performance and smaller file size, leave off a color map. Since VRML
  19. is ascii text, gzip works very well to significantly compress file
  20. size.<p>
  21. <h2>NOTE</h2>
  22. This is a preliminary release of "<em>r.out.vrml</em>".
  23. For further information about VRML and available viewers for various platforms, see:<p><a href="http://www.w3.org/MarkUp/VRML/">VRML Virtual Reality Modeling Language</a>
  24. <h2>BUGS:</h2>
  25. Currently the region is transformed to a unit size, so real geographic
  26. location is lost. Side effects when working in a lat-lon location are
  27. that besides general distortion due to projection, a very small
  28. exaggeration factor (on order of .001) must be used to compensate for
  29. vertical units expected to be the same as map units.
  30. <h2>TODO</h2>
  31. Update to the more modern <a href="http://www.geovrml.org">GeoVRML format</a>,
  32. or probably better the next generation
  33. <a href="http://www.web3d.org">X3D format</a>.
  34. See also the <a href="http://www.xj3d.org">Xj3D project</a>.
  35. <p>Future plans for this module are to allow draping of sites objects and
  36. vector maps and using the new sites format available in floating
  37. point GRASS to embed WWW links into site objects. It will also be
  38. upgraded to support VRML 2.0 and will allow entering multiple preset
  39. "views" using the existing GRASS 3d_view file format.<p>
  40. Other possible additions:
  41. <ul>
  42. <li> Allow animation of elevation, color, or sites based on
  43. user interaction.
  44. <li> Degradation of the raster to produce TINs for improved
  45. performance.
  46. </ul>
  47. <h2>AUTHOR</h2>
  48. Bill Brown, US Army Construction Engineering Research Laboratory
  49. <p><i>Last changed: $Date$</i>