From a0d897324b04888568509c95590939a0e9109d04 Mon Sep 17 00:00:00 2001 From: Matthias Specht Date: Tue, 4 Jan 2022 18:23:27 +0100 Subject: [PATCH 1/4] CE-9745: added changelog for PRT 2.6 --- changelog.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/changelog.md b/changelog.md index a3b23d73..53d23ae6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,56 @@ +# CITYENGINE SDK 2.6.XXXX CHANGELOG + +This section lists changes compared to CityEngine SDK 2.5.7799. + +## General Info +* The focus of this release is to fix some issues which are important for certain client applications such as plugins. There is no CityEngine version using this version of the SDK. + +## PRTX API +* Fixed `prtx::ResolveMap::amnchorRelativeKey` for the "key = URI" case. Note that the signature changed (new `ResolveMap` argument). +* Fixed `prtx::URI::replaceExtension()` to use the correct string encoding when percent encoding. +* Improved `prtx::EncodePreparator` to keep the numerical precision of meshes which are far away (>10'000 m) from the initial shape's orgin. However, such meshes won't be merged to one mesh anymore if "merge by material" is enabled. +* Fixed documentation of the texture trafo (XXXmapTrafo) keys of `prtx::Material`. + + +## CGA +* Changes to existing features: + * setback, setbackToArea, setbackPerEdge, shapeLUO operation: Setback faces are now more likely to attach to neighboring edges at convex vertices. This avoids gaps in precence of altering setback distances. If the setback face cannot be attached to an edge the respective side is cut inwards in order to avoid spikes. + * i operation: Assets with very large coordinates (> 10'000) are now handled differently on insert and export. This greatly improves numerical precision. However, such assets are not considered instanced anymore. + +* Bugfixes: + * envelope, setback, setbackToArea, setbackPerEdge, shapeLUO operation: Fixed wrong result and improved performance on shapes with many holes. + * innerRectangle operation: Fixed wrong remainder in rare cases. + * offset operation: Improved support for shapes with collinear vertices. + +## Built-In Codecs Changes and Fixes +* All Decoders: + * Fixed a bug where referenced textures with non-ASCII characters in their path could not be read. +* GLTF Decoder & Encoder: + * Support for texture transform extension (mapped to CGA attributes, e.g. material.colormap.su). +* GLTF Encoder: + * Now keeps original image fomat on export instead of converting all images to png. +* Unreal Encoder: + * Support for exporting texture transforms (CGA attributes, e.g. material.colormap.su). + * Added new options "Export Twinmotion Compatible" and "Use Unreal Base Materials". + * Removed obsolete files LibRaw.dll and FreeImage317.dll from the build. +* OBJ Encoder: + * Fixed mtl definitons for textures with non-ASCII characters in their name. +* OBJ Decoder: + * Improved robustness for cases where referenced MTL files contain non-ASCII charactes in their path and the OBJ was written with an unknown non-ASCII encoding: Now, many "illegal" situations can be resolved with smart heuristics. +* VUE Encoder: + * Fixed some isses with non-ASCII strings (e.g. file names). +* IFC Encoder: + * Now supports the "ApplicationName" and "ApplicationVersion" encoder options. +* USD Encoder & Decoders: + * Updated to USD 21.11 library. + +## Misc Changes and Fixes +* Updated 3rd party libraries: + * updated to libtiff 4.3.0 library. + * updated to libxml2 2.9.12 library. + + + # CITYENGINE SDK 2.5.7799 CHANGELOG This section lists changes compared to CityEngine SDK 2.4.7316. From f26778e71e3c1971af779316b5ff21f220db15bb Mon Sep 17 00:00:00 2001 From: Matthias Specht Date: Thu, 6 Jan 2022 08:53:22 +0100 Subject: [PATCH 2/4] CE-9745: added buildnumber --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 53d23ae6..83a4b429 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,4 @@ -# CITYENGINE SDK 2.6.XXXX CHANGELOG +# CITYENGINE SDK 2.6.8135 CHANGELOG This section lists changes compared to CityEngine SDK 2.5.7799. From 8f059f3eea478480975035de0064c8eb1ae4a39a Mon Sep 17 00:00:00 2001 From: Matthias Specht Date: Thu, 6 Jan 2022 10:05:27 +0100 Subject: [PATCH 3/4] CE-9745: fixed typo --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 83a4b429..13b386ef 100644 --- a/changelog.md +++ b/changelog.md @@ -6,7 +6,7 @@ This section lists changes compared to CityEngine SDK 2.5.7799. * The focus of this release is to fix some issues which are important for certain client applications such as plugins. There is no CityEngine version using this version of the SDK. ## PRTX API -* Fixed `prtx::ResolveMap::amnchorRelativeKey` for the "key = URI" case. Note that the signature changed (new `ResolveMap` argument). +* Fixed `prtx::ResolveMap::anchorRelativeKey` for the "key = URI" case. Note that the signature changed (new `ResolveMap` argument). * Fixed `prtx::URI::replaceExtension()` to use the correct string encoding when percent encoding. * Improved `prtx::EncodePreparator` to keep the numerical precision of meshes which are far away (>10'000 m) from the initial shape's orgin. However, such meshes won't be merged to one mesh anymore if "merge by material" is enabled. * Fixed documentation of the texture trafo (XXXmapTrafo) keys of `prtx::Material`. From a37f7a4ae2e25e7776be783fabff8aaf207072a5 Mon Sep 17 00:00:00 2001 From: Matthias Specht Date: Thu, 6 Jan 2022 18:16:43 +0100 Subject: [PATCH 4/4] CE-9745: imporovements & fixes from review --- changelog.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 13b386ef..8d03e316 100644 --- a/changelog.md +++ b/changelog.md @@ -6,41 +6,46 @@ This section lists changes compared to CityEngine SDK 2.5.7799. * The focus of this release is to fix some issues which are important for certain client applications such as plugins. There is no CityEngine version using this version of the SDK. ## PRTX API -* Fixed `prtx::ResolveMap::anchorRelativeKey` for the "key = URI" case. Note that the signature changed (new `ResolveMap` argument). +* Fixed `prtx::ResolveMap::anchorRelativeKey` for the "key = URI" case if the anchored key contains characters that need to be percent encoded. Note that the signature changed (new `ResolveMap` argument). * Fixed `prtx::URI::replaceExtension()` to use the correct string encoding when percent encoding. * Improved `prtx::EncodePreparator` to keep the numerical precision of meshes which are far away (>10'000 m) from the initial shape's orgin. However, such meshes won't be merged to one mesh anymore if "merge by material" is enabled. +* Fixed a crash in `prtx::Material::getBlindData()` if an illegal key was used. * Fixed documentation of the texture trafo (XXXmapTrafo) keys of `prtx::Material`. ## CGA * Changes to existing features: - * setback, setbackToArea, setbackPerEdge, shapeLUO operation: Setback faces are now more likely to attach to neighboring edges at convex vertices. This avoids gaps in precence of altering setback distances. If the setback face cannot be attached to an edge the respective side is cut inwards in order to avoid spikes. + * setback, setbackToArea, setbackPerEdge, shapeLUO operation: Setback faces are now more likely to attach to neighboring edges at convex vertices. This avoids gaps in presence of altering setback distances. If the setback face cannot be attached to an edge the respective side is cut inwards in order to avoid spikes. * i operation: Assets with very large coordinates (> 10'000) are now handled differently on insert and export. This greatly improves numerical precision. However, such assets are not considered instanced anymore. * Bugfixes: * envelope, setback, setbackToArea, setbackPerEdge, shapeLUO operation: Fixed wrong result and improved performance on shapes with many holes. - * innerRectangle operation: Fixed wrong remainder in rare cases. - * offset operation: Improved support for shapes with collinear vertices. + * innerRectangle operation: Fixed wrong remainder in rare cases. + * offset operation: Improved support for shapes with collinear vertices. ## Built-In Codecs Changes and Fixes -* All Decoders: - * Fixed a bug where referenced textures with non-ASCII characters in their path could not be read. +* All Texture Decoders: + * Fixed a bug where textures with non-ASCII characters in their path could not be read. * GLTF Decoder & Encoder: * Support for texture transform extension (mapped to CGA attributes, e.g. material.colormap.su). * GLTF Encoder: - * Now keeps original image fomat on export instead of converting all images to png. + * Now keeps the format of jpg images on export instead of converting all images to png. + * FBX Decoder: + * Now correctly reads non-ASCII names (of e.g. materials, meshes and textures). + * Collada Decoder: + * Now correctly reads non-ASCII names (of e.g. materials, meshes and textures). * Unreal Encoder: * Support for exporting texture transforms (CGA attributes, e.g. material.colormap.su). * Added new options "Export Twinmotion Compatible" and "Use Unreal Base Materials". * Removed obsolete files LibRaw.dll and FreeImage317.dll from the build. * OBJ Encoder: - * Fixed mtl definitons for textures with non-ASCII characters in their name. + * Now, non-ASCII characters in texture names are legalized. This fixes broken mtl desfinitions. * OBJ Decoder: * Improved robustness for cases where referenced MTL files contain non-ASCII charactes in their path and the OBJ was written with an unknown non-ASCII encoding: Now, many "illegal" situations can be resolved with smart heuristics. * VUE Encoder: - * Fixed some isses with non-ASCII strings (e.g. file names). + * Added support for non-ASCII strings in file names, layer names, and material names. * IFC Encoder: - * Now supports the "ApplicationName" and "ApplicationVersion" encoder options. + * Now supports the "applicationName", "applicationVersion", "applicationString, "applicationVendor" and "author" encoder options. * USD Encoder & Decoders: * Updated to USD 21.11 library.