jvsn19 / ray-tracing

A implementation of a ray tracing for my college

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rt

A implementation of a ray tracing for my college

To manipulate spheres just modify the sdl file, on the object field g = -x0 h = -y0 j = -z0 R^2 = x0² + y0² + z0² - k

sphere: (x-x0)² + (y-y0)² + (z-z0)² = R²

To run, just compile the main.cpp (g++ main.cpp -o out -std=c++11 && ./out)

About

A implementation of a ray tracing for my college


Languages

Language:C++ 57.5%Language:C 18.9%Language:CMake 13.4%Language:Makefile 10.2%