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: 

targeting geometry subsets

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
andreskluge
319 Views, 2 Replies

targeting geometry subsets

Hi,

im reading in a usd procedural that has geometry subsets. Whats the best way to override the materials on those subsets with different ones in my current scene? It seems like the assign material rop does not recognize them by name.

br,

andres

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

If this is the Arnold USD procedural, then operators would be the only way.

An Arnold usd procedural is going to translate to Arnold polymesh nodes. Operators can work on those nodes.
But to set per-face shaders on a polygon mesh, you'd have to provide the whole shdixs array (one element per face). For example, this is what the operator looks like for a simple grid:


mtoa-operator-set-shaders.png



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3
andreskluge
in reply to: andreskluge

yes was hoping i could target the subsets by name, but i guess they get lost in the transaltion process? Fortunately in this case its easy to add primitive id attributes and do a switch shader inside a master shader.

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

Post to forums  

Autodesk Design & Make Report