A brief computer graphics / rendering course
Go to file
Dmitry V. Sokolov ee462caf46
Update Readme.md
2019-02-04 17:19:12 +01:00
doc anaglyph (red/blue) rendering 2019-02-03 15:26:12 +01:00
lib Added all necessary stuff for the homework assignment (environment mapping + triangulated meshes) 2019-01-20 13:30:16 +01:00
.gitignore checkerboard 2019-01-20 12:27:10 +01:00
.gitmodules Added all necessary stuff for the homework assignment (environment mapping + triangulated meshes) 2019-01-20 13:30:16 +01:00
.gitpod.yml files update + gitpod 2019-01-25 23:25:01 +01:00
CMakeLists.txt Added all necessary stuff for the homework assignment (environment mapping + triangulated meshes) 2019-01-20 13:30:16 +01:00
Dockerfile gitpod test in a branch 2019-01-25 17:33:30 +01:00
duck.obj Added all necessary stuff for the homework assignment (environment mapping + triangulated meshes) 2019-01-20 13:30:16 +01:00
envmap.jpg Added all necessary stuff for the homework assignment (environment mapping + triangulated meshes) 2019-01-20 13:30:16 +01:00
geometry.h First commit; rudimentary framebuffer check 2019-01-20 12:13:53 +01:00
Readme.md Update Readme.md 2019-02-04 17:19:12 +01:00
tinyraytracer.cpp anaglyph (red/blue) rendering 2019-02-03 15:26:12 +01:00

Anaglyph rendering

compilation

git clone --recurse-submodules https://github.com/ssloy/tinyraytracer.git
cd tinyraytracer
git checkout homework_assignment
git submodule update --init
mkdir build
cd build
cmake ..  
make

You can open the project in Gitpod, a free online dev evironment for GitHub:

Open in Gitpod

On open, the editor will compile & run the program as well as open the resulting image in the editor's preview. Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.