Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Arnold 7 cannot read usd primvars for instanced geo in htoa/mtoa

3 REPLIES 3
Reply
Message 1 of 4
dlekanis
255 Views, 3 Replies

Arnold 7 cannot read usd primvars for instanced geo in htoa/mtoa

Is there anyone that has the same issue?

Describe the bug

I am testing a layout setup inside Solaris, where I generate per instance geo primvars to control shading variations.

While everything works fine inside Houdini Hydra with Arnold, and the shading variations work fine, when rendering the cached usd file with a standin, either in htoa or mtoa, the primvars are not being picked up and the shading variation doesn't work.


Replicate the bug

  • bring multiple copies of the same packed primitive, with different integer index attibutes, inside Solaris and apply a shader with where we color jitter the diffuse Color using the index attribute inside a user_data_int
  • Test if it works inside Solaris
  • Save the Usd, and try to render it from a procedural, checking if the shading variations get picked up
  • In the packed primitive option of Sop import/sop create, change to xforms or unpack, save as a different version and test if the error exists for this one too


Expected Behaviour

Expected the result from the Arnold procedural to give me the same shading variation as when rendered inside Solaris.


Screenshots

image.pngRender inside Solarisimage-1.pngRender from Arnold Procedural

Used Software Versions

  • Arnold 7.0.0.3
  • Htoa 6.0.2.2
  • Houdini 19.0.531
  • OS: centos 7
  • USD Version: 21.08


File:

testUsdPrimvars.zip

Tags (4)
Labels (4)
3 REPLIES 3
Message 2 of 4
Stephen.Blair
in reply to: dlekanis

@ Can you post your test scene please?


// Stephen Blair
// Arnold Renderer Support
Message 3 of 4
dlekanis
in reply to: Stephen.Blair

Added it in the main description
Message 4 of 4
Stephen.Blair
in reply to: dlekanis

The second usd file doesn't work at all with the procedural. I get

00:00:03   190MB ERROR   |      [usd] Failed to open file ()
00:00:03   190MB WARNING |      [ginstance] /torus2/torus_0002: trying to clone a NULL object
00:00:03   191MB WARNING |      [ginstance] /torus2/torus_0001: trying to clone a NULL object
00:00:03   191MB WARNING |      [ginstance] /torus2/torus_0000: trying to clone a NULL object


And if I write out the usd files again, neither of them works ("Failed to open file" )




// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report