Skip to content

everywill/mini-raytracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

mini-raytracing

Minimum ray tracer implementing ray-sphere intersection.

While ray-sphere intersection detection is simple, it gets a little bit more diffcult to detect intersection between ray and polygon(for example triangle). Matrix determinant's power is lend to solve the problem above.

Usually Ray-Tracing is slower than raserization because it needs spwan numerous shadow rays from intersection point to simulate how ray transports. Correspondingly the renderin result is more photo-realism.

How to run

g++ -std=c++11 -I src/ src/main.cpp -o main ./main >> image.ppm

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages