Building Virtual Worlds for use with Simulink 3D Animation Toolbox

yardbellAI and Robotics

Nov 14, 2013 (3 years and 9 months ago)

101 views

1

CONFI DENTI AL

|

© 2012 The MathWorks, Inc.

CONFI DENTI AL

March,
2013

Ariel Rubanenko

Application, Consulting & Tool Implementation for


Large
-
scale simulations, Guidance, Navigation & Control


Building Virtual Worlds for use
with Simulink 3D Animation
Toolbox


2


Prepare a virtual scene


Associate your Simulink model with a virtual scene


During simulation, manipulate the position, rotation, and
other properties of a 3
-
D object to portray the object’s
movement

Working with 3D Animation Toolbox


3

Open Philosophy


VRML97


VRML = Virtual Reality Modeling
Language


International Standard ISO/IEC 14772
-
1:1997


Objects = Nodes


Geometric primitives


General shapes


Transforms


Lights


Viewpoints


Materials, textures, video, audio


Flexible and powerful language for
describing 3D interactive scenes


ideal for technical applications


4

Authoring Virtual Worlds: V
-
Realm Builder


Features


Graphical user interface


Native VRML
97
editor


Hierarchical tree
-
style viewer of elements


V
-
Realm Builder manual


Online documentation:

www.mathworks.com/access/helpdesk/help/toolbox/vr/


Virtual Worlds > VRML Editing Tools >
Editors for Virtual Worlds:
www.mathworks.com/support/solutions/data/
1
-
1
B
906
.html?product=VR&solution=
1
-
1
B
906


www.mathworks.com/support/solutions/files/s
3554
3
/VRealm_Man.zip



V
-
Realm Builder library solution:


www.mathworks.com/support/solutions/data/
1
-
3
JX
9
R
7
.html?product=VR&solution=
1
-
3
JX
9
R
7


5

Authoring Virtual Worlds: Other Tools


General 3
-
D authoring packages:


Flux Studio
TM
, 3ds Max
®
, Maya
®
, LightWave 3D
®
, World
Construction Set
®
, Scene Express, AC3D, Blender, …


CAD Packages:


SolidWorks, Catia, Pro/ENGINEER, …


3
-
D objects on the Web:


www.turbosquid.com
,
www.the3dstudio.com
, …


Conversion to VRML:


V
-
Realm Builder, Blender, Flux Studio
TM
, Deep Exploration
TM

CAD, NuGraf
®
, ...


Polygon reduction:


Blender, VIZup, Deep Exploration
TM
CAD, NuGraf
®


Standard text format. You can edit with any editor:


Syntax
-
highlighting editors:


VrmlPad


6

Virtual Scenes can Represent a
Real Geographic Environment


Import terrains from DEM data


Flight simulations and analysis

Image courtesy of
Quadelta, Inc.

Image courtesy of
George Mason University.

Image courtesy of
Syracuse
Research Corporation.


7

3
D Animation Toolbox Summary


Links MATLAB
®

and Simulink
®

with virtual reality graphics


Provides insight into dynamic systems that you model


Enables MATLAB and Simulink to control the position,
rotation, and other properties of objects in 3
-
D virtual
scenes



8

Further Information


Virtual Reality Toolbox product page


www.mathworks.com/products/virtualreality/


MATLAB Digest article, “Creating Standalone Virtual
Environments”


www.mathworks.com/company/newsletters/digest/2007/mar/synthetic.html


VRML97 Reference


www.web3d.org/x3d/specifications/vrml/


Webinars



http://www.mathworks.com/company/events/webinars/index.html


Books


Chris Marrin,
Teach Yourself VRML2 in 21 Days