SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

ma2ze - a 3D maze written in matlab scripting language

Robert Cimrman
e-mail: cimrman3@students.zcu.cz

Copying: Use at your own risk.

I. Description

This collection of matlab scripts and functions displays a simple 3D maze. You can use the keyboard to move observer's point or input the position and view angle by mouse on the maze map.

It was written out of curiosity, for mere exploration purposes and fun, so do not expect anything damn fast or useful ;-). On a K6-2 400 MHz it has only slightly above 1.5 FPS, but it works! (BTW. it is my first code able to run in M$ Windoze... Nothing to be too proud of, but portability is a nice thing.) I tried to render the same scene by the matlab surf command - it was more than 10 times slower. (Poor matlab must do real 3D, I do just a pseudo 3D...)

The name ma2ze stands for 'MAtlab MAZE'. Matlab is a wide-spread commercial computer algebra system produced by Mathworks.

II. Running

Run matlab, and maze_main script. Browse the comments at the top of maze_main.m to learn the movement keys and to change the maze map, textures and other things.


This file was created 27.02.2000.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.