You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like boolean primvars and material parameters are skipped over completely by UsdIn (and pxrUsdIn). Would it be possible to have them cast to an integer upon import? Where this is causing an issue for me is that the Autodesk Standard Surface shader has the "thin_walled" parameter declared as a bool. But this parameter cannot be inspected from within katana as it is completely skipped over on import. The only option is to declare the parameter as an int within the USD file, breaking the spec for that shader.
Thanks.
--Ken
The text was updated successfully, but these errors were encountered:
Sorry, I need to clarify the above a bit. While digging deeper into this I realised that UsdIn actually is
casting boolean material parameters into integer values, but it is not for primvars. This makes it difficult to use a primvar to override a boolean shader parameter.
Attached is a repro showing both bool and int material parameters and bool and int primvars. The material parameters get expressed as attributes when imported into katana. However for the primvars only the integer one comes in with its value intact.
Hello,
It looks like boolean primvars and material parameters are skipped over completely by UsdIn (and pxrUsdIn). Would it be possible to have them cast to an integer upon import? Where this is causing an issue for me is that the Autodesk Standard Surface shader has the "thin_walled" parameter declared as a bool. But this parameter cannot be inspected from within katana as it is completely skipped over on import. The only option is to declare the parameter as an int within the USD file, breaking the spec for that shader.
Thanks.
--Ken
The text was updated successfully, but these errors were encountered: