arnold-usd
arnold-usd copied to clipboard
primvars on packed agents
Describe the bug Im very sorry in advance, this will probably by the worst bug report ever. I have zero knowledge of USD, yet i have wound some bug that doesnt exist in Karma and its connected to primvars. If i have primvars on top of packed agents, those primvars are not visible to arnold. Only the primvars inside the packed agents are visible.
To Reproduce 1 Create 4 crowd agents, where primvar TEST is inside each agent and random valued TEST2 is on packed agents.
2 Import to Solaris with sopimport node and enable sourcing all attributes. In my sceneGraphDetails i will see both TEST and TEST2 primvars with values.
3 With Arnold i can get values from TEST, they will all be the same as values i can see when unpacking agents at SOP level. But if i try to access values from TEST2, primvars that are being added on top of packed agents, i will not get any values
Expected behavior In Karma, and thats what i would expect, i can get values TEST2 and use them at shader lever
Used Software Versions
- Arnold: [6.0.3.0beta14]
See the ticket in HtoA https://trac.solidangle.com/htoa/ticket/1423, to investigate the scene.
I added simple scene that is using houdini agents only, no custom thingy to above link. Trying to load attribute TEST2 which exists on packed agents. Can load them with Karma, cant use them with Arnold
This might be fixed now that #282
needs confirmation of the fix
The USER2 attribute is now coming through correctly, being picked up by user data in the scene.
There is a warning in the log related to skinning however, and the crowd animation isn't coming through:
00:00:32 3060MB WARNING | /sopimport1/agentdefinitions/definition_0/shapelibrary/default_geo_skin/mesh_0: varying user-data count wrong! (found 37460 expected 9365) -- disabling user-data 'skel:jointIndices'
Issue synced internally to ARNOLD-13243