Doom 1.3
编者注: 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
引用格式
Joerg Buchholz (2024). Doom 1.3 (https://www.mathworks.com/matlabcentral/fileexchange/9340-doom-1-3), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Version 1.3: drawnow cures freezing on some graphic cards |