v0.3.0
v0.3.0
Major changes to the API have been made regarding material
and vector3::reflection
.
Overview
Full Changelog: v0.2.3...v0.3.0
The changes have backward compatibility issues (compared to v0.2.x), only if you were using material
class
or vector3::reflection
.
Documentation Changes
Updated Bardrix_Reference
to include material
and vector3::reflection
updates.
Updated Mathematics
to include the correct vector3::reflection
formula.
Added readme to Docs/.
Added sphere normal calculation example
to Raytracing readme.
Added documentation to sphere class
in sphere example.
Made sure that in Release Notes the links are to the versions they are referring to instead of the latest version.
Added
documentation Raytracing-Reflections.
Solved issue 33, where degenerate cases aren't marked as such.
Code Changes
Major Changes
Updated shininess in material to
have a limit between [1, infinity)] which for some reason wasn't the case.
Updated diffuse and specular to not be opposites anymore because I thought they were, but they are not.
Updated vector3::reflection to now
actually work instead of returning the inverse of the reflection. Also reflection now doesn't return a unit vector but
instead a vector with the same length as the input vector.
Minor Changes
Renamed protected variable bmi
(bitmap info) to bmi_
, back_buffer
to back_buffer_
and front_buffer
to
front_buffer_
in window example.
Added material
to sphere constructor
in sphere example.
Test Changes
Added tests for material
and vector3::reflection
to account for the new changes.
Renamed workflow template from Build Job
to Build And Test CMake
to better reflect what it does.