Autodesk / arnold-usd

Arnold components for USD
https://www.arnoldrenderer.com/
Other
243 stars 57 forks source link

UV RenderVar does not render with kick #1286

Open stephenrblair opened 2 years ago

stephenrblair commented 2 years ago

Describe the bug If you set up a render var that uses the st primvar, it renders in the render delegate, but not when you render with kick (with kick, you get all 0 0 0)

For example


            def RenderVar "rendervar1"
            {
                uniform token dataType = "color3f"
                custom string driver:parameters:aov:channel_prefix = "UV"
                custom int driver:parameters:aov:clearValue = 0
                custom token driver:parameters:aov:format = "color3f"
                custom bool driver:parameters:aov:multiSampled = 0
                custom string driver:parameters:aov:name = "UV"
                uniform string sourceName = "st"
                uniform token sourceType = "primvar"
            }

To Reproduce

If you convert the usda file to ass, there is a shader setup for the "st" AOV (it uses a user data shader to read the "st" attribute). But there is no "st" user data on the polymesh.

Used Software Versions

Additional context Add any other context about the problem here. testing.zip

autodesk-oss-arnold-bot[bot] commented 1 year ago

Issue synced internally to ARNOLD-13310