cesium-unreal icon indicating copy to clipboard operation
cesium-unreal copied to clipboard

Add support for MAXAR_mesh_variants

Open nithinp7 opened this issue 2 years ago • 2 comments

Builds on: https://github.com/CesiumGS/cesium-native/pull/465

Added support for MAXAR_mesh_variants. GlTF nodes using the extension can now switch between multiple meshes, each representing a unique named variant. This is useful for representing things such as damage states (e.g., a vehicle parts that are pristine, damaged, destroyed, etc.).

Added a blueprint API to query and change the current variant mesh of a glTF node.

In this example, the tire mesh variants are switched from "Pristine" to "Damaged" when "hit".

variant-gif

nithinp7 avatar Mar 03 '22 20:03 nithinp7

Thanks for the pull request @nithinp7!

  • :heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

cesium-concierge avatar Mar 03 '22 20:03 cesium-concierge

@nithinp7 can you please open a PR for the cesium-native side of this one?

kring avatar Mar 21 '22 06:03 kring