A simple raycaster engine. Raycasting is an old technique for rendering pseudo 3d graphics. You may know this technique from Wolfenstein 3D. For each column of the screen a ray is emmited. If the ray intersects an object (e. g. a wall), the texture of this object get rendered. This technique is limited to walls of the same height.
- Copy vertex.mod into your
%BlitzMax%/mod
folder - Make sure you have setup MinGW for BlitzMax correctly. Please check this topics:
- Open the MaxIDE, goto Program > Build Modules
- Now you can import the raycaster engine by writing
import vertex.raycaster
This screenshot is taken from the examples/Game.bmx example.