File Exchange

image thumbnail

Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing

version 1.2.0.1 (832 KB) by

Several enhancements made to the original 747 demo.

12 Downloads

Updated

View License

In the video associated with the demo here:
http://www.mathworks.com/matlabcentral/fileexchange/26123-fly-a-747-using-matlab

There was a teaser posed in the video asking why the 747 in the animation did a 360 flip at certain points in the trajectory. The answer was: We were not using quaternions.

This demo uses the quaternion functions from the Aerospace Toolbox to resolve this paradox.

Also, to add realism to the scene, the terrain was modeled in Blender, a free 3D tool for authoring powerful 3D scenes:

http://www.blender.org/

The tutorial that was referenced for creating the mountains is available here:

http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Mountains_Out_Of_Molehills

Use the Export to VRML feature to bring into VRML format and add the aircraft from the Objects library in VRealm Builder editor.

The sky was modeled as a half-hemisphere with texturing.

The trajectory tracing was done by creating spheres dynamically using the PROTO declarations.

Comments and Ratings (2)

Masimo Lupen

Thank you

___________________________
ufo3d.com

Simulink Dude

Simulink Dude (view profile)

Other enhancements for this demo:

Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting:

http://www.mathworks.com/matlabcentral/fileexchange/28006-fly-a-747-with-matlab-multiple-views-in-a-gui-dynamic-lighting

and

Fly a 747 with MATLAB: Shaky Camera Effect, Sound Effect:

http://www.mathworks.com/matlabcentral/fileexchange/28010-fly-a-747-with-matlab-shaky-camera-effect-sound-effect

Updates

1.2.0.1

Updated license

1.2

Updated thumbnails

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

terrain/