image thumbnail

Operation Eigenfaust 3D (Tech Demo)

version 1.4.0.0 (1.37 MB) by Mingjing Zhang
A playable first-person shooter demo featuring interative objects and real-time ray casting.

4.8K Downloads

Updated 19 Jul 2013

View License

Operation Eigenfaust 3D Tech Demo for MATLAB v0.80
-----------------------------------------
Mingjing Zhang, Stellari Studio, 2013
Simon Fraser University
------------------------------------------

This is the first 3D game (demo) ever made with 'pure' MATLAB available on MATLAB Central.
In this demo, you can freely roam in a quasi-3D environment. The game runs at 40~60 FPS on my three year old Lenovo G460.

The sole purpose of this demo is to show off the discrete ray-casting engine I have written, which is an implementation of the ray casting algorithm on this page:
http://www.permadi.com/tutorial/raycast/

Right now the engine is almost fully functional. It even renders half-opened doors and objects behind them properly. You can interact with the doors by pressing space while standing in front of them. There is also perfect collision detection.

There is a switch hidden somewhere in this level, but you won't be able to interact with it...

How to play:
-----------------
WASD - move //
Left/Right arrow - rotate //
Enter - mouse on/off //
ESC - quit demo//
Move mouse - mouselook (when mouse is on) //
mouse wheel - zoom in/out
--------------------

Enjoy!

Cite As

Mingjing Zhang (2022). Operation Eigenfaust 3D (Tech Demo) (https://www.mathworks.com/matlabcentral/fileexchange/42251-operation-eigenfaust-3d-tech-demo), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!