Renderer/README.md

23 lines
802 B
Markdown
Raw Normal View History

2022-04-07 23:18:27 +02:00
# Renderer - Grafik-AG
2022-06-04 13:51:32 +02:00
2022-08-06 15:59:51 +02:00
Programmed in the [Computergrafik-AG](https://fsinfo.cs.tu-dortmund.de/ags/cg-ag/start).
2022-08-06 15:45:03 +02:00
2022-08-02 18:30:39 +02:00
Following [Raytracing In One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html).
2022-08-06 15:59:37 +02:00
Some rendered images are in `images/`.
2022-08-02 18:30:39 +02:00
2022-08-06 15:29:50 +02:00
### Image after adding metal material for spheres
![RaytracingInOneWeekend](images/RayTracingInOneWeekend1.jpg)
2022-08-02 19:21:31 +02:00
### One of the final images from the guide
2022-08-02 18:30:39 +02:00
![RaytracingInOneWeekend](images/RayTracingInOneWeekend2.png)
2022-08-02 19:21:31 +02:00
### Upgraded with triangles and mesh importing
2022-08-02 18:30:39 +02:00
![Suzanne Rainbow](images/suzanne_rainbow.png)
2022-06-04 13:51:32 +02:00
***
### Performance analysis with Flamegraph
https://github.com/flamegraph-rs/flamegraph
2022-08-06 15:45:03 +02:00
If installed (`cargo install flamegraph`, `perf` linux package), run `cargo-flamegraph flamegraph` and `firefox flamegraph.svg` afterwards.