home *** CD-ROM | disk | FTP | other *** search
-
- Walls V1.0
- ------------
-
- This is my attempt at making a fast raycaster that would be
- resource friendly enough to run smoothly even on slow Amigas.
- The raycaster itself was written around X-mas 92/93 and was thus
- probably the first ever Amiga raycaster to produce full-framerate
- full-screen walls on an A500 (I haven`t seen another one, but some
- people claim they have...). I never released it since I was
- going to make a game out of it, but then I lost interest in it
- and left the whole project where it was. After some discussions
- about wolf-type algorithms on the net some weeks ago I decided to
- touch up the routines a little and release a preview.
-
- The algorithm is built upon a concept I at the time thought
- was pretty clever - I described the technique I'm using in
- alt.amiga.demos some time ago - but it can still be improved.
-
- 1frame.exe :
- - An optimized version of the routine with a fast graphical hack
- to produce some pretty smooth and fast corridors. This routine
- runs at ~50 frames on a stock A500 without fastmem. It can still
- be optimized a bit - especially the linedrawer is awfully slow.
-
- 2planes.exe :
- - I always wondered whether 4 colours would be enough to make a
- smoothly depthshaded corridor. Try it out and decide for yourselves...
- Just like 1frame, this routine can probably still be optimized quite a
- bit. At the moment much of the CPU time is spent on waiting for the
- blitter. Code that depended upon Fastram could probably be made to run
- approximately 30-40% faster. Also, if made AGA-dependent, FMODE and
- other features would speed everything up a lot. The linedrawer and the
- dithering algorithms aren't very fast either.
-
- At the moment I'm working on incorporating filled vectorobjects,
- windows and floorpatterns into the routine. It's possible that I'll
- post updated executables later. As you can all see, the graphics-
- engine could easily be used as the base for a pretty speedy 3d-game.
- I just don't have the time nor the patience to get down to actually
- coding it.
-
- These routines should run on just about any Amiga. If it don't
- work, try turning off instructioncaches, interlacemodes etc.
- Press both mousebuttons to exit the demo.
-
- Comments, new ideas or improvements are welcome BUT don't bother
- sending me bugreports. I think I know about all the bugs, why they
- appear and whether they can or cannot be cured. I just don't have the
- time nor the inspiration to fix them. The routine works, doesn't it?
- If you`ve got questions, posting them into a newsgroup might be a
- better idea than posting to me privately, since others will then
- be able to read the answers as well.
-
- Have fun!
-
- / Mats
- mknip@alpha.hut.fi
-
-