-
Notifications
You must be signed in to change notification settings - Fork 202
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
[MAYA-126919] Request to use displayColor when disabling "Textured" in the viewport #2802
Comments
Hi @chrizzFTD, Thank you for reporting this. I think this would be a great addition. I will go ahead and log this internally as I believe it may require some Maya side changes. |
This issue was internally logged as MAYA-126919. |
Issue synced internally to EMSUSD-742 |
Having the user preference will be nice, since we probably wouldn't want to have the vertex colors in untextured mode. However we would like to have the option to "Toggle Display Colors Attribute" like mentioned in my issue below: Maybe the keep current behavior can add this change? |
The suggested solutions (#1 and #2) can only be applied to diffuseColor input of USdPreviewShader. What happens if the preview shader has connections to opacity, specularColor or any other parameter of the preview shader? It would be great if those cases could be supported too. If you are planning to use a preference option already, can you please consider supporting option #3: "fallback option". When hardware texturing is disabled, the preview shader should use fallback parameter of the connected UsdUVTexture or UsdPrimvarReader shaders instead of using the connected shaders themselves. In other words, the shader should behave in the same way as if the specified texture or the primvar was not found. The benefits of the option #3:
References: |
Hi maya-usd team, happy new year!
I was unsure if this is a bug or a feature request, so I'm logging this as a "Feature request".
Context
This relates to the request from #2206 to allow a USD Stage to "listen" to the
Textured
control from the viewport toolbar:Current Behavior
With the update from #2599, textures get disabled (good) but meshes are drawn with black color instead of drawing according to their
displayColor
property.This magazines.zip zip file contains the
usdz
stage fromentity/books_magazines01/books_magazines01.usda
from the ALab phase 2.Go to
Create / Universal Scene Description (USD) / Stage From File...
and select the zip file. You can see how toggling theTextured
button goes from textured geometry to black geometry:When loading the complete ALab set, the same happens:
Expected Behavior
USDView and Houdini respect
displayColor
when disabling scene materials, which is why as a user, I would expect for Maya to do the same. In the ALab example, we can see that meshes which did not have a material previously applied, continue to draw withdisplayColor
:USDView exposes this with the
Enable Scene Materials
menu:Houdini does it with the
Display Materials on Objects
toggle:Could the Maya
Textured
toggle follow the same approach?Thanks!
The text was updated successfully, but these errors were encountered: