Skip to content

Conversation

@nithinp7
Copy link
Contributor

@nithinp7 nithinp7 commented Mar 3, 2022

Builds on: CesiumGS/cesium-native#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

@cesium-concierge
Copy link

Thanks for the pull request @nithinp7!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

@kring
Copy link
Member

kring commented Mar 21, 2022

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

@nithinp7 nithinp7 marked this pull request as ready for review March 23, 2022 15:52
Base automatically changed from metadata-textures to ue4-main April 11, 2022 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants