Skip to content

Add support for MAXAR_mesh_variants #773

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 14 commits into
base: ue4-main
Choose a base branch
from
Open

Add support for MAXAR_mesh_variants #773

wants to merge 14 commits into from

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants