hello Solaris team --
I have a tricky issue I've been trying to solve for a few days - I've got several years of HDAs, things like tables and chairs, which all assign materials in SOPs. In general these don't use groups, but rather assign materials before a merge. for example, a chair with a slatted seat and back would have slatMat assigned and legMat assigned, and then the two streams are combined for output.
i've got the material library in LOPs no problem - is there a way to assign it using shop_materialpath?
thanks!
Importing Material Assignments from Older HDAs
3060 7 2- Ted Pallas
- Member
- 12 posts
- Joined: Dec. 2014
- Offline
- mtucker
- Staff
- 4521 posts
- Joined: July 2005
- Offline
Put your HDA inside a SOP Create LOP, and hit the Auto-fill Materials button. This is exactly what happens when you put down a Test Geometry Pig node in the LOP context, since that geometry has two separate materials, using shop_materialpath to specify which parts of the geometry are assigned which material.
- Ted Pallas
- Member
- 12 posts
- Joined: Dec. 2014
- Offline
- mtucker
- Staff
- 4521 posts
- Joined: July 2005
- Offline
- jsmack
- Member
- 8038 posts
- Joined: Sept. 2011
- Offline
mtucker
Why wouldn't it work with an Object Merge? The SOP Create LOP doesn't care how the SOP geometry is created, as long as it has a shop_materialpath attribute...
Is there any chance of the scene import doing this automatically at some point? It has a checkbox for importing 'sop materials', but it's a bit disappointing because it doesn't import sop material assignments.
- Ted Pallas
- Member
- 12 posts
- Joined: Dec. 2014
- Offline
- mtucker
- Staff
- 4521 posts
- Joined: July 2005
- Offline
- robp_sidefx
- Staff
- 498 posts
- Joined: June 2020
- Offline
-
- Quick Links