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

Use Adapter to author MeshLightAPI for RfM's PxrMeshLight #2613

Merged
merged 4 commits into from
Sep 21, 2022

Conversation

dj-mcg
Copy link
Collaborator

@dj-mcg dj-mcg commented Sep 19, 2022

Also apply gamma correction to color values on RfM lights

Also apply gamma correction to color values on RfM lights
@dj-mcg
Copy link
Collaborator Author

dj-mcg commented Sep 19, 2022

Shoot it looks like the meshLightAPI is just slightly too new for this to go in without version guards.

Restore MeshLight-as-Prim export for older versions of Usd that predate
the introduction of the MeshLightAPI
Remove inline ifdefs and just exclude it from the build
@dj-mcg
Copy link
Collaborator Author

dj-mcg commented Sep 21, 2022

Hi @seando-adsk - this is an attempt to use the existing adapters to author out a MeshLightAPI on export. Note that we didn't add import steps as they were not needed at Pixar, and unfortunately we are a bit overloaded on production-facing tasks. Despite this I'd love to integrate this into the codebase since the code spans several files and will likely cause merge conflicts going forward if we keep patching it on top.

Thanks!
Dan

@seando-adsk seando-adsk added the import-export Related to Import and/or Export label Sep 21, 2022
Copy link
Collaborator

@JGamache-autodesk JGamache-autodesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Thanks!

@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Sep 21, 2022
@seando-adsk seando-adsk merged commit d1f3a4a into Autodesk:dev Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants