Race through breathtaking 3-D graphics with Futhark through OpenCL (not OpenGL)!
make to build the library, and then run
./futdoom.py to run the example programs. Use the
--help argument to see which settings exist.
There are two rendering approaches:
chunked (the default) and
scatter_bbox. Both are pretty slow, but
chunked is faster.
futracer also depends on PyGame, PyPNG (only
futdoom.py), and NumPy.
Use the arrow keys for now. Use Page Down and Page Up to decrease and increase the view distance for rendering (fun!). Use 1 and 2 to decrease and increase the draw distance.
Use R to switch rendering approaches.
chunked rendering approach, use A and D to decrease and
increase the number of draw rectangles on the X axis, and W and S on the
Y axis. Sometime in the future this should be chosen automatically.
Warning: This might slow down the program to a crawl for some reason.
futdoom.py supports custom maps. For an example of a (poorly)
randomly generated map, run:
./futdoomlib/scripts/generate_random_map.py | ./futdoom.py --auto-fps --level -