mirror of
https://github.com/ssloy/tinyraytracer.git
synced 2024-04-18 07:30:54 +08:00
Update Readme.md
This commit is contained in:
parent
dc33a8e39c
commit
baaed5fe5e
12
Readme.md
12
Readme.md
|
@ -1,12 +1,6 @@
|
||||||
# Homework assignment
|
# Stereoscopic rendering
|
||||||
|
|
||||||
Add environment maps:
|
![](https://raw.githubusercontent.com/ssloy/tinyraytracer/stereoscope/doc/stereoscope.jpg)
|
||||||
![](https://raw.githubusercontent.com/ssloy/tinyraytracer/homework_assignment/out-envmap.jpg)
|
|
||||||
|
|
||||||
... and triangulated meshes:
|
|
||||||
![](https://raw.githubusercontent.com/ssloy/tinyraytracer/homework_assignment/out-envmap-duck.jpg)
|
|
||||||
|
|
||||||
All the boring code (image/obj files serializer etc) is already there; to obtain the above image it suffices to add 10-20 lines of code.
|
|
||||||
|
|
||||||
|
|
||||||
## compilation
|
## compilation
|
||||||
|
@ -22,7 +16,7 @@ make
|
||||||
```
|
```
|
||||||
You can open the project in Gitpod, a free online dev evironment for GitHub:
|
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/homework_assignment)
|
[![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.
|
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.
|
Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user