Doom 1.3

Fly through a 3D scene like in a first-person shooter in god mode
5.5K Downloads
Updated 20 Dec 2005

View License

Editor's Note: This file was a File Exchange Pick of the Week

Does the key combination WASD sound familiar to you? Did you ever look over the shoulder of your half-grown son, when he played his latest ego-shooter? Would you expect him to intuitively explore 3D data in Matlab much faster than you could ever do - with your good old 'zoom', 'pan', and 'rotate' buttons?

The next-generation engineer will use the 3D control scheme he has grown up with:

Mouse : Look up/down/left/right

'w' : Move forward
's' : Move backward
'a' : Move left
'd' : Move right
'Space' : Move up
'Ctrl' : Move down
'Shift' : Accelerate movement
'm' : Toggle up/down
'q' : Toggle mouse motion capture
'Esc' : Close figure

Example:
z = peaks;
surf (z)
axis off
doom

Cite As

Joerg Buchholz (2024). Doom 1.3 (https://www.mathworks.com/matlabcentral/fileexchange/9340-doom-1-3), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Video games in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Version 1.3: drawnow cures freezing on some graphic cards