4.6

4.6 | 5 ratings Rate this file 38 Downloads (last 30 days) File Size: 255 KB File ID: #5164
image thumbnail

Virtual Reality Terrain Modeling

by

 

09 Jun 2004 (Updated )

Use actual terrain data within Virtual Reality Toolbox.

| Watch this File

File Information
Description

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.

Required Products Mapping Toolbox
Simulink 3D Animation
MATLAB
MATLAB release MATLAB 6.5 (R13)
MATLAB Search Path
/
/dems
/dems/Grand Canyon
Other requirements Created in MATLAB 7.0 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
22 Feb 2008 Bedassa Regassa  
15 Apr 2007 Eddie Mayhew

Being able to read DEM data directly into a VRML file from code allows the developer to exchange terrain tiles (and their corresponding texture maps) on-the-fly.

Doing so means that cost effective 3D fly-throughs can be maintained over great distances while the burden on RAM can be controlled based upon the hardware specifications available.

There is more to reaching these objectives than what is provided by Stacey here but none of them can be met without a means to exchange DEM data files as the simulation is being executed. What is provided is an elegant means to do so.

The results are extraordinary.

Real nice job. Well done Stacey.

Eddie Mayhew
Sr. Modeling and Simulation Engineer
Quadelta, Inc.
emayhew@quadelta.com

11 Nov 2005 Daniel LÓPEZ SÁNCHEZ  
18 Apr 2005 David Clark

Excellent, just what i was looking for!

07 Feb 2005 R J

Where can I find the VR Toolbox for matlab as well as the vrmlplot.m file for matlab. I can't find it anywhere

Updates
12 Nov 2014

convert to toolbox

Contact us