Cesium for Unreal 2.0 现在已经可用
今天我们很自豪地发布Cesium for Unreal 2.0,这是我们免费的、开源的Unreal Engine 3D地理空间插件的最新版本。
Cesium for Unreal是为了让开发者使用 Unreal Engine 创建丰富的真实峦生数字世界和应用程序,最早的版本发布于2021年,作为游戏引擎中的第一个WGS84球体。
从那时起,3D地理空间和虚幻引擎的创建工具的强大结合激发了跨行业的创新,如建模,仿真和培训,房地产,能源和航空航天。查看最近的用户故事,了解开发者如何使用Cesium For Unreal。
Cesium and Epic Games demo
Cesium and Epic Games demo of real-time visualization and simulation with Unreal Engine, Cesium, and Google’s Photorealistic 3D Tiles. Images of Project Hillside and Habitat 67 courtesy of Safdie Architects.
Cesium for Unreal 2.0是与Unreal Engine 5集成的一个重大飞跃的插件,包括3D Tiles 1.1元数据支持,改进的工作流程,地理参考,子级别系统等。这是由我们从Cesium社区论坛收到的大量积极反馈和要求驱动的。
功能包括:
- 3D Tiles 1.1元数据支持包括EXT_mesh_features和EXT_structural_metadata扩展,支持选择和样式。
-
一个改进的子关卡系统,利用虚幻引擎5的 streaming level instances,允许用户在全球(球面、地球上)多个地点创建复杂的体验。
-
更加组件化和灵活的设计。这包括 CesiumOriginShiftComponent,它允许地理原点(georeference origin)在移动时随 Actor 或 Pawn 移动,以及CesiumFlyToComponent,它使全球各地之间的平滑飞行成为可能。
-
改进 Cesiumgereference 和 globe transformations,允许在虚幻世界中精确定位球体。
-
一个新类 Cesiumtilleexcluder,它允许使用蓝图或c++实现自定义逻辑的球面部分地区从选择、加载和渲染中排除。
-
一个更一致、更易于使用的蓝图和c++ API。
完整的更新日志可以在Github上找到。阅读升级指南和我们更新的教程,以了解新的API并学习如何升级您的项目。
我们很高兴能够授权开发者将真实世界带到他们的虚幻引擎应用和体验中。
Download Cesium for Unreal 2.0
v2.0.0 - 2023-11-01
This release no longer supports Unreal Engine v5.0. Unreal Engine v5.1, v5.2, or v5.3 is required.
Breaking Changes 📣
- Removed
FCesiumIntegerColor
,FCesiumFloatColor
,UCesiumFeatureTexturePropertyBlueprintLibrary::GetIntegerColorFromTextureCoordinates
andUCesiumFeatureTexturePropertyBlueprintLibrary::GetFloatColorFromTextureCoordinates
. Check out the upgrade guide for how retrieve metadata from property textures with the new API. - Renamed
GetTextureCoordinateIndex
toGetUnrealUVChannel
in bothUCesiumFeatureIdTextureBlueprintLibrary
andUCesiumPropertyTexturePropertyBlueprintLibrary
. Contrary to what the documentation claimed, this function retrieved the index of the texture coordinate set in the Unreal static mesh, which is not necessarily equal to the texture coordinate set index in the glTF primitive. For the latter value, useGetGltfTextureCoordinateSetIndex
instead. - Removed the old “exclusion zones” feature, which has been deprecated since v1.11.0. Use
CesiumCartographicPolygon
orCesiumTileExcluder
instead.
Additions 🎉
- Added new functions to
UCesiumPropertyTexturePropertyBlueprintLibrary
to retrieve detailed property information and get the values of the property as a certain type. Check out the upgrade guide for how retrieve metadata from property textures with the new API. - Added
UCesiumMetadataPickingBlueprintLibrary::FindUVFromHit
, which computes the UV coordinates from a line trace hit without requiring “Support UV Hit Info” to be enabled. This can used to retrieve more accurate feature IDs or metadata values by sampling at an intermediary point on the face. - Added
GetPropertyTableValuesFromHit
andGetPropertyTextureValuesFromHit
toUCesiumMetadataPickingBlueprintLibrary
to retrieve the respective metadata from a line trace hit. For both functions, the target to sample is specified by index. - Added
UCesiumFeatureIdSetBlueprintLibrary::GetFeatureIDFromHit
to retrieve the feature ID from a line trace hit on a primitive containing the feature ID set. This returns more accurate values for feature ID textures thanGetFeatureIDForVertex
. - Added
UCesiumPrimitiveFeaturesBlueprintLibrary::GetFeatureIDFromHit
to retrieve the feature ID from a line trace hit on a primitive, where the desired feature ID set is specified by index. For feature ID textures, this returns more accurate values thanGetFeatureIDFromFace
. - Added
UCesiumFeatureIdTextureBlueprintLibrary::GetFeatureIDForUV
, which samples a feature ID texture withFVector2D
UV coordinates. - Added
GetGltfTextureCoordinateSetIndex
toUCesiumFeatureIdTextureBlueprintLibrary
andUCesiumPropertyTexturePropertyBlueprintLibrary
to avoid ambiguity withGetUnrealUVChannel
. - Added
UCesiumMetadataValueBlueprintLibrary::GetValuesAsStrings
to convert a map ofFCesiumMetadataValues
to their string representations. - Added support for
file:///
URLs across all platforms and Unreal Engine versions. - Added “Create Sub Level Here” button on
CesiumGeoreference
. - Added “Please Georeference Origin Here” button to
CesiumSubLevelComponent
. - Added “Google Photorealistic 3D Tiles” to the Quick Add panel.
Fixes 🔧
- Fixed a bug that could cause tiles in a
Cesium3DTileset
to have an incorrect transformation. - Fixed a crash that occurred when a
LevelSequenceActor
in the level did not have aLevelSequencePlayer
assigned. - Fixed a bug that would spam Georeference-related messages to the log when editing a globe anchor component that is not embedded in a world. For example, when editing a Blueprint asset with a globe anchor.
- Fixed several problems that could cause tilesets in sub-levels to be misaligned with the rest of the globe.
Deprecated ⌛
UCesiumFeatureIdTextureBlueprintLibrary::GetFeatureIDForTextureCoordinates
has been deprecated. UseUCesiumFeatureIdTextureBlueprintLibrary::GetFeatureIDForUV
instead.UCesiumPropertyTexturePropertyBlueprintLibrary::GetSwizzle
andUCesiumPropertyTexturePropertyBlueprintLibrary::GetComponentCount
have been deprecated, since they are no longer necessary to handle property texture property values in the plugin. UseUCesiumPropertyTexturePropertyBlueprintLibrary::GetChannels
instead.UCesiumMetadataPickingBlueprintLibrary::GetMetadataValuesForFace
has been deprecated. UseUCesiumMetadataPickingBlueprintLibrary::GetPropertyTableValuesForHit
instead.UCesiumMetadataPickingBlueprintLibrary::GetMetadataValuesForFaceAsStrings
has been deprecated. UseUCesiumMetadataValueBlueprintLibrary::GetValuesAsStrings
to convert the output ofUCesiumMetadataPickingBlueprintLibrary::GetPropertyTableValuesForHit
instead.UCesiumPropertyTableBlueprintLibrary::GetMetadataValuesForFeatureAsStrings
has been deprecated. UseUCesiumMetadataValueBlueprintLibrary::GetValuesAsStrings
to convert the output ofUCesiumPropertyTableBlueprintLibrary::GetMetadataValuesForFeature
instead.
In addition to the above, this release updates cesium-native from v0.28.1 to v0.29.0. See the changelog for a complete list of changes in cesium-native.
原文连接:https://cesium.com/blog/2023/11/02/cesium-for-unreal-2-0/