Skip to content

yuzhoumo/fmarch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fmarch

Real-time OpenGL fractal renderer using raymarching

mandelbulb-screenshot

Cloning

External dependencies are included as git submodules in lib. Clone source files and dependencies using:

git clone git@github.com:yuzhoumo/fmarch.git --recursive

Note: If using NixOS, there is no need for the --recursive flag since dependencies are pulled from nix-store.

Building with CMake

mkdir build && cd build
cmake ..
make

Building with Nix

On NixOS, you can build by running nix-build in the main project directory or entering the build environment using nix-shell and following the CMake build instructions. When building using nix-build, the resulting binary can be run with ./result/bin/fmarch in the same directory.

Usage

./fmarch vertex_shader_path fragment_shader_path
Command Key
Exit the program ESC
Toggle mouse input M
Toggle supersampling P
Reload shader files R
Move camera position W, A, S, D
Move camera view direction (Move the mouse)

Dependencies

About

Real-time fractal rendering with ray marching

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published