Virtual Reality Terrain Modeling

Use actual terrain data within Virtual Reality Toolbox.
5.5K Downloads
Updated 1 Sep 2016

View License

Contains a script (create_terrain_node.m) to create a VRML97 file (terrain.wrl) containing actual USGS DEM data for the Grand Canyon. Create_terrain_node.m uses Mapping Toolbox to load the DEM data into MATLAB, then opens a template VRML97 file (vr_terrain_template.wrl) and adds a node to the template information for the terrain. Finally, create_terrain_node.m saves all the VRML97 information to a new VRML97 file (terrain.wrl). Terrain.wrl can be viewed in a web browser with a VRML plug-in or with Virtual Reality Toolbox.

Cite As

Stacey Gage (2026). Virtual Reality Terrain Modeling (https://www.mathworks.com/matlabcentral/fileexchange/5164-virtual-reality-terrain-modeling), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

convert to toolbox

1.0.0.0

add R14 to keywords