Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into instance-feature-meta…
Browse files Browse the repository at this point in the history
…data
  • Loading branch information
timoore committed Oct 30, 2024
2 parents 9e43361 + d2a6e7e commit 73055df
Show file tree
Hide file tree
Showing 37 changed files with 1,959 additions and 640 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/buildApple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,26 @@ jobs:
- name: Make some more disk space
run: |
df -h
ls /Applications
brew uninstall google-chrome
sudo rm -rf /Users/runner/Library/Android
sudo rm -rf /Applications/Xcode_15.0.1.app
sudo rm -rf /Applications/Xcode_15.0.app
sudo rm -rf /Applications/Xcode_15.1.0.app
sudo rm -rf /Applications/Xcode_15.1.app
sudo rm -rf /Applications/Xcode_15.2.0.app
sudo rm -rf /Applications/Xcode_15.2.app
sudo rm -rf /Applications/Xcode_15.3.0.app
sudo rm -rf /Applications/Xcode_15.3.app
sudo rm -rf /Applications/Xcode_15.4.0.app
sudo rm -rf /Applications/Xcode_15.4.app
sudo rm -rf /Applications/Xcode_16.0.0.app
sudo rm -rf /Applications/Xcode_16.0.app
sudo rm -rf /Applications/Xcode_16.0
sudo rm -rf /Applications/Xcode_16.1.0.app
sudo rm -rf /Applications/Xcode_16.1.app
sudo rm -rf /Applications/Xcode_16.1_beta.app
sudo rm -rf /Applications/Xcode_16_beta_6.app
ls /Applications
df -h
- name: Set XCode version
uses: maxim-lobanov/setup-xcode@v1
Expand Down
31 changes: 30 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
# Change Log

### ? - ?
### Next Version - Not Released Yet

##### Additions :tada:

- Added `CircumscribedGroundHeight` property to `CesiumSunSky`. It defaults to 0, which is consistent with the previous behavior. It can be set to a larger value (like 40) to avoid dark splotchy artifacts when zoomed out far from the globe in certain tilesets where geometry extends very far beyond the ellipsoid in the low-detail representation, such as Google Photorealistic 3D Tiles.

##### Fixes :wrench:

- Fixed a bug that caused incorrect lighting for tilesets using `KHR_materials_unlit`.
- Reduced the memory used by tiles with `KHR_materials_unlit`.
- `CesiumGlobeAnchor` properties are no longer shown on the main `CesiumSunSky` Details panel, because it is almost never necessary to set these. They can still be set on the component's own Details panel if needed.

### v2.9.0 - 2024-10-01

##### Additions :tada:

- Added `SampleHeightMostDetailed` function to `Cesium3DTileset`, which asynchronously queries the height of a tileset at a list of positions. It is callable from both C++ and Blueprints.

##### Fixes :wrench:

- Drastically reduced tile mesh memory usage in UE 5.3 and 5.4 by working around a bug that causes those engine versions to add more texture coordinate sets than necessary.
- Fixed a bug where the `scale`, `noData`, and `default` values of a property in `EXT_strutural_metadata` were not correctly passed to the tileset's material.

This release updates [cesium-native](https://github.com/CesiumGS/cesium-native) from v0.39.0 to v0.40.1. See the [changelog](https://github.com/CesiumGS/cesium-native/blob/main/CHANGES.md) for a complete list of changes in cesium-native.

### v2.8.0 - 2024-09-02

##### Additions :tada:

- Added universal (Intel and Apple Silicon) binaries for Unreal Engine 5.2. Unreal Engine 5.3 and 5.4 already had universal binaries.
- Raster overlays now have `bAllowAnyoneToDestroyMe` set to true by default. This allows them to be dynamically removed and destroyed at runtime via the Blueprint `Destroy Component` function called from anywhere, including Level Blueprints. Previously, attempting to delete a raster overlay from outside the Actor would result in an error.

##### Fixes :wrench:

- Fixed a bug introduced in the previous release that caused instanced tilesets to render incorrectly.
- Debug sections are no longer compressed on Linux and Android, improving compatibility.
- Fixed a bug where calling `Refresh` on a `CesiumRasterOverlay` would cause the overlay to appear on the Cesium3DTileset, even if inactive.

This release updates [cesium-native](https://github.com/CesiumGS/cesium-native) from v0.38.0 to v0.39.0. See the [changelog](https://github.com/CesiumGS/cesium-native/blob/main/CHANGES.md) for a complete list of changes in cesium-native.

### v2.7.1 - 2024-08-01

Expand Down
4 changes: 2 additions & 2 deletions CesiumForUnreal.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 62,
"VersionName": "2.7.1",
"Version": 64,
"VersionName": "2.9.0",
"FriendlyName": "Cesium for Unreal",
"Description": "Unlock the 3D geospatial ecosystem in Unreal Engine with real-world 3D content and a high accuracy full-scale WGS84 globe.",
"Category": "Geospatial",
Expand Down
2 changes: 1 addition & 1 deletion Source/CesiumEditor/CesiumEditor.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public CesiumEditor(ReadOnlyTargetRules Target) : base(Target)

string libPath = useDebug ? libPathDebug : libPathRelease;

string[] allLibs = Directory.GetFiles(libPath, libSearchPattern);
string[] allLibs = Directory.Exists(libPath) ? Directory.GetFiles(libPath, libSearchPattern) : new string[0];

PublicAdditionalLibraries.AddRange(allLibs);

Expand Down
2 changes: 1 addition & 1 deletion Source/CesiumRuntime/CesiumRuntime.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public CesiumRuntime(ReadOnlyTargetRules Target) : base(Target)

string libPath = useDebug ? libPathDebug : libPathRelease;

string[] allLibs = Directory.GetFiles(libPath, libSearchPattern);
string[] allLibs = Directory.Exists(libPath) ? Directory.GetFiles(libPath, libSearchPattern) : new string[0];

PublicAdditionalLibraries.AddRange(allLibs);

Expand Down
Loading

0 comments on commit 73055df

Please sign in to comment.