Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

USDZExporter: add parameters follow the openusd docs #29216

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

LynX39
Copy link
Contributor

@LynX39 LynX39 commented Aug 23, 2024

Description
Implemented various missing parameters in accordance with the OpenUSD documentation., in order to improve the quality of the exported data.

In detail:

  • Clearcoat and clearcoatRoughness maps have been added if the material is of type MeshPhysicalMaterial.

USDZ Model with clearcoat and clercoatRoughness params and without maps (preview from USDview Nvidia Omniverse)
model_without_clearcoat_maps

USDZ Model with clearcoat and clercoatRoughness params and maps (preview from USDview Nvidia Omniverse)
model_with_clearcoat_maps

USDZ Model with clearcoat and clercoatRoughness params and maps (photo from iPad Pro AR)
ar_from_ipad_pro

  • Parameters have been added to allow scaling of associated maps, using inputs:scale and utilizing the formula criterion provided by USD.
    scale_formula

This contribution is funded by Simtech

- Add a clearcoat and clearcoatRoughness maps
- Add a `inputs:scale` params in all maps

Dev-by: @LynX39
@Mugen87 Mugen87 added this to the r168 milestone Aug 25, 2024
@mrdoob mrdoob merged commit d641d31 into mrdoob:dev Aug 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants