mirror of
https://github.com/ssloy/tinyraytracer.git
synced 2025-08-12 09:23:59 +02:00
Merge pull request #1 from p1v0t/patch-1
Editted: Better markdown on Readme.md
This commit is contained in:
@@ -8,14 +8,15 @@ If you are looking for a software rasterizer, check the [other part of the lectu
|
|||||||
In my lectures I tend to avoid third party libraries as long as it is reasonable, because it forces to understand what is happening under the hood. So, the raytracing 256 lines of plain C++ give us this result:
|
In my lectures I tend to avoid third party libraries as long as it is reasonable, because it forces to understand what is happening under the hood. So, the raytracing 256 lines of plain C++ give us this result:
|
||||||

|

|
||||||
|
|
||||||
# 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
|
||||||
|
```
|
||||||
# Homework assignment
|
# Homework assignment
|
||||||
[homework_assignment branch](https://github.com/ssloy/tinyraytracer/tree/homework_assignment) contains all necessary stuff to easily add environment maps:
|
[homework_assignment branch](https://github.com/ssloy/tinyraytracer/tree/homework_assignment) contains all necessary stuff to easily add environment maps:
|
||||||

|

|
||||||
|
Reference in New Issue
Block a user