8000 GitHub - zhu-fei/miniray: Business card raytracer / eventual IOCCC winner · GitHub
[go: up one dir, main page]

Skip to content
zhu-feiPublic
forked from mzucker/miniray

About

Business card raytracer / eventual IOCCC winner

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniray

Business card raytracer / eventual IOCCC winner. See full writeup at https://mzucker.github.io/2016/08/03/miniray.html

Building

To build:

cd /path/to/miniray
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
make ppm_images #optional, takes a while

Using the software

For all versions, you can pipe the output to a PPM image (displayable with ImageMagick display command among other apps):

./miniray > image.ppm

For versions 4.2 and after, you can input your own text:

./miniray "my text" > image.ppm
./miniray "my text" -preview > image.ppm # faster, reflections & AA disabled

See also

About

Business card raytracer / eventual IOCCC winner

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages< 3165 /h2>

Contributors

Languages

0