A semi-cross-platform application made for rendering scenes using raymarching via signed distance fields utilizing OpenGL. If I decide to further my work, I will focus on utilizing on compute shaders instead of purely fragments.
- OpenGL Version: 4.1 Metal
- GLSL Version: 4.1
- OpenGL Version: ES 3.0 (WebGL 2.0)
- GLSL Version: ES 3.0
Regarding prerequisites, premake5 is required to build the project. Once premake is installed, this command can be used to build the project:
premake5 --os=<target> --file=build/premake5.lua gmake
BEFORE BUILDING: make sure to have Haxe 4.3 to compile SDL into a static library, in which Haxe can be installed via Homebrew. Once Haxe is installed, go to the build directory and run the script via:
cd build
haxe build.hxml
And SDL used to produce a static library.
To run the project:
./bin/program
Key | Description |
---|---|
W | Move forward |
S | Move backwards |
A | Move left |
D | Move right |
Q | Move Up |
E | Move Down |
Escape | Tab Out |