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