This commit is contained in:
Miloslav Číž 2018-10-04 12:53:13 +02:00
commit d538e9403e

View file

@ -1,8 +1,8 @@
# Pokitto Ray Casting Demos # Pokitto Ray Casting Demos
These are demos showing ray casting (pseudo) 3D rendering technique using These are demos showing advanced ray casting (pseudo) 3D rendering technique
raycastlib (a Pokitto-independent C library I made along with this project) on using raycastlib (a Pokitto-independent C library I made along with this
a small gaming console Pokitto. project) on a small open gaming console Pokitto.
![](https://gitlab.com/drummyfish/raycastlib/raw/master/media/pokitto1.gif) ![](https://gitlab.com/drummyfish/raycastlib/raw/master/media/pokitto1.gif)
![](https://gitlab.com/drummyfish/raycastlib/raw/master/media/pokitto2.gif) ![](https://gitlab.com/drummyfish/raycastlib/raw/master/media/pokitto2.gif)
@ -52,8 +52,8 @@ an info bar to the screen (it's better to add a vertical bar to the screen side
as that will also reduce the number of rays cast). as that will also reduce the number of rays cast).
This repository contains the version of raycastlib that I tested the demos This repository contains the version of raycastlib that I tested the demos
with, but you can find the most recent version of the library among my other with, but you can find the most recent version of the library
repositories. [among my other repositories](https://gitlab.com/drummyfish/raycastlib).
The demos use display Mode13, i.e. 110x88 with 256 colors. I recommend you use The demos use display Mode13, i.e. 110x88 with 256 colors. I recommend you use
this mode for your games, but the other ones are an option too. I created a this mode for your games, but the other ones are an option too. I created a
@ -61,6 +61,9 @@ custom general 256-color HSV-based palette that allows for fast brigtness
manipulation of colors, which is important for fog/dimming. Reusing this manipulation of colors, which is important for fog/dimming. Reusing this
palette (or modifying it) will most likely be the best option for your project. palette (or modifying it) will most likely be the best option for your project.
I used GNU Arm Embedded toolchain to compile the programs. Other compilers are
not tested. Don't forget to compile with `-O3`!
# License # License
Everything is under CC0 1.0, including all the assets (they are mostly based on Everything is under CC0 1.0, including all the assets (they are mostly based on