mirror of
https://github.com/ssloy/tinyraytracer.git
synced 2025-08-19 20:41:26 +02:00
Update Readme.md
This commit is contained in:
committed by
GitHub
parent
fd4c4cdbde
commit
b9d2ca707b
12
Readme.md
12
Readme.md
@@ -1,8 +1,18 @@
|
|||||||
# compilation
|

|
||||||
|
|
||||||
|
## compilation
|
||||||
|
```sh
|
||||||
git clone https://github.com/ssloy/tinyraytracer.git
|
git clone https://github.com/ssloy/tinyraytracer.git
|
||||||
cd tinyraytracer
|
cd tinyraytracer
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
You can open the project in Gitpod, a free online dev evironment for GitHub:
|
||||||
|
|
||||||
|
[](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.
|
||||||
|
Reference in New Issue
Block a user