File Exchange

image thumbnail

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

version 1.0.0.1 (987 KB) by Simulink Dude
Enhancements to the original 747 demo

5 Downloads

Updated 01 Sep 2016

View Version History

View License

This example improves upon the previous attempts made on this demo:
http://www.mathworks.com/matlabcentral/fileexchange/26123

A more recent enhancement for adding realism, quaternions and trajectory tracing was added to this submission here:

http://www.mathworks.com/matlabcentral/fileexchange/27986

1. Multiple viewpoints and a 3D plot embedded inside a MATLAB GUI.

2. By attaching the Viewpoint node to the aircraft node, the second view from the aircraft is created which gives a better view of how the terrain looks from above.

3. As mentioned in 2, we also add a Spot Light node to the aircraft and alter is direction to create a lighting effect.

4. Experiment with the parameters a and b of the helical trajectory to see the various animations and views.

If you would like to explore more on how to use various VRML nodes, please refer to the tutorials available on the web:

http://www.lighthouse3d.com/vrml/tutorial/script.shtml?script

Cite As

Simulink Dude (2021). Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting (https://www.mathworks.com/matlabcentral/fileexchange/28006-fly-a-747-with-matlab-multiple-views-in-a-gui-dynamic-lighting), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Simulink Dude

Other enhancements for this demo:
Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing

http://www.mathworks.com/matlabcentral/fileexchange/27986-fly-a-747-with-matlab-adding-realism-quaternions-trajectory-tracing

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

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!