A brief computer graphics / rendering course
Go to file
2019-02-04 22:59:45 +01:00
doc xiaomi mi note 3 resolution image 2019-02-04 22:59:45 +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:20:36 +01:00
tinyraytracer.cpp buggy barrel distortion, it is same for both parts, and normally it needs to be symmetric 2019-02-04 22:53:58 +01:00

Stereoscopic 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.