Commit graph

6 commits

Author SHA1 Message Date
Antoine Martin 04deae1d88 library: document core module 2020-03-22 00:14:25 +01:00
Bruno BELANYI 552c0cb966 library: implement refraction
This necessitated to rework how light properties for a material were
given. A material can have either reflectivity or transparency. This
changes the parsing of materials, using a `LightProperty` structure at
its core.

This is does not implement the true Fresnel equations to take into
account the amount of reflection that an incident goes through when
encountering a transparent object.
2020-03-19 18:23:20 +01:00
Bruno BELANYI 2dd5c675af library: core: add Camera implementation 2020-03-17 19:17:52 +01:00
Bruno BELANYI a4caa456ce library: core: add Film implementation 2020-03-17 19:17:52 +01:00
Bruno BELANYI b89631adce library: core: add LinearColor type 2020-03-16 15:16:37 +01:00
Bruno BELANYI ecde825407 library: add core module 2020-03-16 15:16:20 +01:00