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.
Requirements:
· MATLAB Release: R13
· Mapping Toolbox
· Virtual Reality Toolbox