You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Anton Lydike 7b8b6e844d added link to website, improved main.c 5 years ago
images@a070980af1 cleaned up, added new images.h version 5 years ago
renders added logo, fixed naming in main 5 years ago
src performance improvements 5 years ago
.gitignore added example render 5 years ago
.gitmodules Initial commit, basic shading 5 years ago
README.md added link to website, improved main.c 5 years ago
default.nix Initial commit, basic shading 5 years ago
main.c added link to website, improved main.c 5 years ago
marcher.h performance improvements 5 years ago

README.md

Raymarching in C

Visit the website at renders.datenvorr.at

infinite spheres

Compiling:

in fish:

# load requirements
nix-shell --run fish
# run gcc with flags
gcc (pkg-config --cflags --libs gtk+-3.0 | string split " ") -lm -Wall -Wextra -o march.out main.c

Running

give it the number of threads you want to use

./march.out <num threads>