Releases: BardoBard/Bardrix
v0.4.2
v0.4.2
Full Changelog: v0.4.1...v0.4.2
Overview
Fixed noexcept edge cases for binary_tree
.
Updated installation guide to include C++17+ requirement.
Documentation Changes
Added C++17+ requirement to Installation.
Added table of contents to Examples for navigation.
Code Changes
Minor Changes
Removed noexcept
from binary_tree
to avoid crashes on edge cases (e.g. tree.build(v.begin() - 1, v.end())
).
Added clear()
to build(Iterator begin, Iterator end)
in binary_tree
to avoid not clearing if begin >= end.
v0.4.1
v0.4.1
Full Changelog: v0.4.0...v0.4.1
Overview
Small optimizations and edge case fixes.
Documentation Changes
Updated example in dimension3
and dimension4
for the enable_if_n_t
function to be more clear.
Added edge cases explanation to binary_tree.
Code Changes
Minor Changes
Fixed edge cases surrounding Iterator begin, Iterator end
in binary_tree
, where if begin < end
it would crash.
Check for nullptr on callbacks and predicate in binary_tree
to avoid crashes.
Added pass by reference for all the callbacks in binary_tree
to avoid copying.
Changed static_cast<int>(color.(r/g/b/a)
to +color.(r/g/b/a)
in color
to avoid unnecessary casting.
Test Changes
Added tests for edge cases in binary_tree
.
v0.4.0
v0.4.0
Full Changelog: v0.3.3...v0.4.0
Overview
The changes have backward compatibility issues, as the bounding_box()
virtual function has been added to the shape
.
Added sphere
to objects.h.
Added bounding_box
to objects.h.
Added bounding_box()
to shape.
Added binary_tree
class to algorithms.h.
Added bvh_tree
class to algorithms.h.
Removed sphere
from examples, it's now a bardrix object.
Documentation Changes
Added bounding_box
to Bardrix_Reference.
Added binary_tree
to Bardrix_Reference.
Added bvh_tree
to Bardrix_Reference.
Updated class diagrams associated with the new changes.
Added changes from examples that used sphere
to bardrix::sphere
in Raytracing.
Code Changes
Major Changes
Added bounding_box
class to objects.h.
Added bounding_box()
to shape.
Added binary_tree
class to algorithms.h.
Added bvh_tree
class to algorithms.h.
Added sphere
to objects.h.
Minor Changes
Added ray(position : point3, end : point3)
to ray.
Updated material
default constructor to have a shininess of 1, which is the minimum value.
Added longest_axis()
and shortest_axis()
to bounding_box
.
Added enum class axis
to bardrix.h, where axis::none
is 0, axis::x
is 1, axis::y
is 2, axis::z
is 4 and axis::w
is 8.
Added operator[axis]
to dimension3
and dimension4
.
Test Changes
Added tests for bounding_box
and binary_tree
.
Added tests for ray(position : point3, end : point3)
.
Added tests for sphere
in objects.h.
Added tests for bvh_tree
in algorithms.h.
Added tests for longest_axis()
and shortest_axis()
in bounding_box
.
Added tests for operator[axis]
in dimension3
and dimension4
.
v0.3.3
v0.3.3
Overview
Fixed issue 42 where the pragma once
was missing in sphere.h
(wth?).
Fixed issue 43 where the +=
was incorrectly formatted in the reference.
Fixed issue 44 where the diagrams in the reference were incorrectly displayed.
Full Changelog: v0.3.2...v0.3.3
Documentation Changes
Fixed the issues mentioned above.
Code Changes
Minor Changes
Added close()
to window to close the window.
Added on_key_down(window, key)
to window to handle key presses.
Added camera movement to Raytracer example.
v0.3.2
v0.3.2
Overview
Added -=
, +=
to point3
with regards to vector3
.
Updated nuget targets file to include /Zc:__cplusplus
to add support for C++20.
Added <PrecompiledHeader>NotUsing</PrecompiledHeader>
to Bardio.Bardrix.targets
now you're able to use a pch.h (oops).
Full Changelog: v0.3.1...v0.3.2
Documentation Changes
Added -=
, +=
to point3
with regards to vector3
in Bardrix_Reference.
Added quaternion include to Raytracing Reflection.
Code Changes
Minor Changes
Added -=
, +=
to point3
with regards to vector3
in point3.
Updated nuget targets file to include /Zc:__cplusplus
to add support for C++20.
Test Changes
Added tests for point3
-=
, +=
with regards to vector3
.
v0.3.1
v0.3.1
Overview
Added color blending to color
.
Added physics (conversion calculations + gravity calculations).
Solved issues 36 and 37.
Full Changelog: v0.3.0...v0.3.1
Documentation Changes
Renamed a classes in Bardrix_Reference to be lowercase instead of uppercase.
Added color blending and physics to Bardrix_Reference.
Added #define NOMINMAX
to window.h to fix an issue with min
and max
being defined in windows.h
.
Updated the versions in examples (cmake).
Code Changes
Major Changes
Added color blending to color.
Added physics to physics.
Test Changes
Added tests for color blending.
Added tests for physics.
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.
v0.2.3
v0.2.3
Documentation hotfix, wrong formula in example.
Overview
Full Changelog: v0.2.2...v0.2.3
Solved issue 32, where Mathematics didn't have a table of contents.
Updated incorrect formula in Raytracing example for calculating the light intensity at a certain point.
Updated incorrect formula in Raytracing example for calculating the intersection point of a sphere.
Documentation Changes
Solved issue 32, where Mathematics didn't have a table of contents.
Updated incorrect formula in Raytracing example for calculating the light intensity at a certain point.
Updated incorrect formula in Raytracing example for calculating the intersection point of a sphere.
Added next step to Introduction.
v0.2.2
v0.2.2
Errors
In the sphere intersection it has an error which means this version (for raytracing example) is unstable.
Overview
Full Changelog: v0.2.1...v0.2.2
Solved issue 30, where in the README it doesn't properly link to the
github.
Updated table of contents in Bardrix_Reference to include objects (material/shape).
Updated README in Examples/Raytracing, forgot to finish a sentence and updated table of
contents; which now also properly links.
Documentation Changes
Updated [Bardrix_Reference]Docs/(Bardrix_Reference.md) to include objects (material/shape).
Updated README in [Examples/Raytracing]Docs/(Examples/Raytracing/README.md), forgot to finish a sentence and updated table of
contents; which now also properly links.
Updated name from light_sphere_example.png
to light_calculation_example.png
Updated 2.1 Light Sphere Intensity to Light Intensity.
Solved issue 30, where in the README it doesn't properly link to the
github.
v0.2.1
v0.2.1
Errors
In the sphere intersection it has an error which means this version (for raytracing example) is unstable.
Overview
Full Changelog: v0.2.0...v0.2.1
Added CONTRIBUTING.md to help contributors get started with the project.
Added more documentation to the codebase to help contributors understand the codebase.
Added a workflow to test the examples, this will help pushing correct code to the repository.
Documentation Changes
Added inverse square law example to Raytracing readme.
Added sphere light calculation example to Raytracing readme.
Added objects (shape, material) to Bardrix_Reference.
Added code and visual sphere intersection example to Raytracing readme.
Code Changes
Minor Changes
Updated raytracing example and window.cpp now doesn't
give a compiler error when running on an operating system other than Windows, instead it prints out a message that it is
not supported.
Added Examples/CMakeLists.txt to include all the examples in one build.
Renamed position
to position_
and made it protected in sphere example.
Test Changes
Added a generic workflow for building and testing on multiple platforms.
Added a workflow for testing if the examples compile.