1
0
mirror of https://github.com/ssloy/tinyraytracer.git synced 2025-01-16 21:58:13 +01:00

Update Readme.md

This commit is contained in:
Dmitry V. Sokolov 2019-02-04 17:23:45 +01:00 committed by GitHub
parent fd4c4cdbde
commit b9d2ca707b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,18 @@
# compilation
git clone https://github.com/ssloy/tinyraytracer.git
cd tinyraytracer
mkdir build
cd build
cmake ..
make
![](https://raw.githubusercontent.com/ssloy/tinyraytracer/autostereogram/doc/autostereogram.jpg)
## compilation
```sh
git clone https://github.com/ssloy/tinyraytracer.git
cd tinyraytracer
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/autostereogram)
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.