4.6

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

Virtual Reality Terrain Modeling

by Stacey Gage

 

09 Jun 2004 (Updated 10 Jun 2004)

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 release MATLAB 6.5 (R13)
Other requirements Created in MATLAB 7.0 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
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

18 Apr 2005 David Clark

Excellent, just what i was looking for!

11 Nov 2005 Daniel LÓPEZ SÁNCHEZ  
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

22 Feb 2008 Bedassa Regassa  
Please login to add a comment or rating.
Updates
10 Jun 2004

add R14 to keywords

Tag Activity for this File
Tag Applied By Date/Time
usgs Stacey Gage 22 Oct 2008 07:22:58
terrain Stacey Gage 22 Oct 2008 07:22:58
visualization Stacey Gage 22 Oct 2008 07:22:58
r14 Stacey Gage 22 Oct 2008 07:22:58
virtual Stacey Gage 22 Oct 2008 07:22:58
r14 kiren 25 Mar 2011 01:35:59
dem kiren 25 Mar 2011 01:36:02

Contact us at files@mathworks.com