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

Pixar Light Colors Gama Corrected #3792

Open
Viewgob opened this issue May 29, 2024 · 1 comment
Open

Pixar Light Colors Gama Corrected #3792

Viewgob opened this issue May 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Viewgob
Copy link

Viewgob commented May 29, 2024

Hello:
When we create a PxrRect light and give it a color of 1 .6 .4, duplicate it as usd data and the view the USD data for the light, the colors have been shifted to 1 .32 .133. A simple, non Pixar point light with the same color outputs at 1 .6 .4:

// USD Layer identifier: anon:0x7ff36c0359d0:anonymousLayer1
// Real Path:
// #sdf 1.4.32
//
// def RectLight "PxrRectLight" (
// prepend apiSchemas = ["ShapingAPI", "ShadowAPI"]
// kind = "assembly"
// )
// {
// color3f inputs:color = (1, 0.325037, 0.13320851)
// token visibility = "inherited"
// }
//
// def SphereLight "pointLight1" (
// prepend apiSchemas = ["ShadowAPI"]
// kind = "assembly"
// )
// {
// color3f inputs:color = (1, 0.6, 0.4)
// float inputs:diffuse = 1
// float inputs:intensity = 1
// float inputs:radius = 0
// color3f inputs:shadow:color = (0, 0, 0)
// bool inputs:shadow:enable = 1
// float inputs:specular = 1
// bool treatAsPoint = 1
// token visibility = "inherited"
// }
//

After speaking with Pixar on their forums they suggested setting PIXMAYA_LINEAR_COLORS=1 but it doesn't seem to have an effect. I see this in the terminal so I'm pretty sure it's recognizing the env var:

#########################################################################
#  PIXMAYA_LINEAR_COLORS is overridden to 'true'.  Default is 'false'.  #
#########################################################################

Is there some other place we can look to see where or why the color is being modified? Thank you!

Rocky Linux 8.9
Maya 2023.2
Maya USD 0.25
Pxr USD 22.05b
Renderman For Maya 26.1

@Viewgob Viewgob added the bug Something isn't working label May 29, 2024
@santosg87
Copy link
Collaborator

thanks you for reporting this! we will investigate and discuss possible next steps with the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants