From 497c6e668f834c9a3a788d68579b7a04e01f809c Mon Sep 17 00:00:00 2001 From: Mateusz Szczygielski Date: Tue, 17 Dec 2024 09:30:18 +0100 Subject: [PATCH 1/2] Bump API version (0.20.0), update CHANGELOG --- CHANGELOG.md | 14 ++++++++++++++ extensions.repos | 4 ++-- include/rgl/api/core.h | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3040439a..336c9930 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## [0.20.0] 17 December 2024 + +### Added + +- Added concept of reflectivity calculated as (alpha * intensity * distance^2) + - Added a new field + - `RGL_FIELD_REFLECTIVITY_F32` + - Added a new API call to configure reflectivity alpha values for RaytraceNode + - `rgl_node_raytrace_configure_reflectivity_alpha` + +### Fixed + +- Fixed hit point displacement calculation resulting from the animation + ## [0.19.0] 27 September 2024 ### Added diff --git a/extensions.repos b/extensions.repos index 3d3d86c4..5beec2ff 100644 --- a/extensions.repos +++ b/extensions.repos @@ -2,10 +2,10 @@ repositories: extensions/udp: type: git url: git@github.com:RobotecAI/RGL-extension-udp.git - version: develop + version: v0.20.0 extensions/weather: type: git url: git@github.com:RobotecAI/RGL-extension-weather.git - version: develop + version: v0.20.0 diff --git a/include/rgl/api/core.h b/include/rgl/api/core.h index e4414d69..25bf2277 100644 --- a/include/rgl/api/core.h +++ b/include/rgl/api/core.h @@ -50,7 +50,7 @@ #define RGL_API NO_MANGLING RGL_VISIBLE #define RGL_VERSION_MAJOR 0 -#define RGL_VERSION_MINOR 19 +#define RGL_VERSION_MINOR 20 #define RGL_VERSION_PATCH 0 // Invalid Entity ID is assign to rays that does not hit any Entity. From 6d8a3fa26a15475b8a50e1b497e4500d32a49dab Mon Sep 17 00:00:00 2001 From: Mateusz Szczygielski Date: Tue, 17 Dec 2024 10:22:58 +0100 Subject: [PATCH 2/2] Fix build on Windows --- test/src/scene/reflectivityTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/scene/reflectivityTest.cpp b/test/src/scene/reflectivityTest.cpp index 1f6b6eee..c7455bfc 100644 --- a/test/src/scene/reflectivityTest.cpp +++ b/test/src/scene/reflectivityTest.cpp @@ -11,7 +11,7 @@ struct ReflectivityTest : public RGLTestWithParam(0), static_cast(127), static_cast(255)), testing::Values(0.012, 0.123, 1.23))); TEST_P(ReflectivityTest, read_value)