arnold-usd icon indicating copy to clipboard operation
arnold-usd copied to clipboard

UV RenderVar does not render with kick

Open stephenrblair opened this issue 2 years ago • 1 comments

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

  • Extract the attached zip file
  • Kick the usda file
  • st AOV is all 0 0 0

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

  • Arnold: [7.1.3]

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

stephenrblair avatar Sep 08 '22 14:09 stephenrblair

Issue synced internally to ARNOLD-13310