Fly a 747 with MATLAB: Multiple Views in a GUI, Dynamic Lighting
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
인용 양식
Simulink Dude (2024). 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. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Simulink > Simulation >
- Aerospace and Defense > Aerospace Blockset > Guidance, Navigation, and Control (GNC) >
- Industries > Aerospace and Defense > Quadcopters and Drones >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!