mirror of
https://github.com/ssloy/tinyraytracer.git
synced 2024-04-18 07:30:54 +08:00
23 lines
773 B
Markdown
23 lines
773 B
Markdown
# Stereoscopic rendering
|
|
|
|
![](https://raw.githubusercontent.com/ssloy/tinyraytracer/stereoscope/doc/stereoscope.jpg)
|
|
|
|
|
|
## compilation
|
|
```sh
|
|
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](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinyraytracer/tree/stereoscope)
|
|
|
|
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.
|