An open API service indexing awesome lists of open source software.

https://github.com/olekspickle/rtracer-rs

Rewrite bheislers ray-tracer to a more modern version.
https://github.com/olekspickle/rtracer-rs

Last synced: 3 months ago
JSON representation

Rewrite bheislers ray-tracer to a more modern version.

Awesome Lists containing this project

README

        

# rtracer-rs

[![v](https://img.shields.io/badge/v-0.0.6-blueviolet)]()
![raytracing example](https://user-images.githubusercontent.com/22867443/182672124-c3fa0155-8215-41e7-8ecd-4c58dd8afa18.png)

Thanks to amazing [criterion author](https://github.com/bheisler) for his raytraycing project!

It turned out to be hell of a mutch bigger deal I initially thought it would.
Consider this a version update.

This stuff is hard for me personally without any background in rendering and
basic understanding of linear transformations.
Also some parts are different two years later, so I am not able to blindly re-type all of the code anyway.
And this is great experience! <3

1. Simple sphere
2. Spheres on a plane
3. Basic shadows
4. Texturing: using vector products to calculate texture
5. Reflections: basic implementation with recursive restriction.

#### useful resourses
[Scrathpixel](https://www.scratchapixel.com/index.php?redirect) is fantastic library!
They have great materials and specific images and docs! You should definitely check them out.
##### (although they seem to have some certificate issues as of today 02/06/2020...)