Instancing karma Hairs Issue
1406 5 2- sniegockiszymon
- Member
- 67 posts
- Joined: June 2022
- Offline
Hello, I've got scene where I want to instance the same groom setup multiple times. Still want to use hair proceudral to create more hairs on rendering. The issue is when I'am making my prim with hairs instanceable, on "preview procedurals" error below pops up. Does it mean primitive with curve guides can not be instanced?
Edited by sniegockiszymon - Dec. 18, 2022 20:40:37
- robp_sidefx
- Staff
- 453 posts
- Joined: June 2020
- Offline
- sniegockiszymon
- Member
- 67 posts
- Joined: June 2022
- Offline
robp_sidefxYeah, sure. I've recreated this in simple example. Also I cant make working material after using procedural preview (also included in file)
Can you share a hip file to look at? Usually when we've seen this error it's been because the skin geo doesn't have a skinprim attribute on it.
Edited by sniegockiszymon - Dec. 19, 2022 21:33:57
- robp_sidefx
- Staff
- 453 posts
- Joined: June 2020
- Offline
- goldleaf
- Staff
- 4175 posts
- Joined: Sept. 2007
- Offline
The material issue is because you are not assigning any materials to the generated "RenderProcedural" prim (i.e.
For instancing, the current procedurals process requires that the procedurals prim and their targets be active and directly editable on the stage. This means that instancing the same procedural setup multiple times can require some setup. There is an example available on the Hair Procedural's help card; I've also modified your hip file to demonstrate how to set this up, and added a few sticky notes.
That error about a missing attribute is actually because the procedural tries to import the instanceable geometry, which gives it nothing. So instead of saying "I have no geometry" it says "This attribute is missing" - while this is technically true, it's also very unhelpful. We are working on improving the error reporting messages for the procedurals and some of the underlying technology they leverage.
Hope this all makes some sense, and helps get you unblocked.
/houdinihairprocedural1
)For instancing, the current procedurals process requires that the procedurals prim and their targets be active and directly editable on the stage. This means that instancing the same procedural setup multiple times can require some setup. There is an example available on the Hair Procedural's help card; I've also modified your hip file to demonstrate how to set this up, and added a few sticky notes.
That error about a missing attribute is actually because the procedural tries to import the instanceable geometry, which gives it nothing. So instead of saying "I have no geometry" it says "This attribute is missing" - while this is technically true, it's also very unhelpful. We are working on improving the error reporting messages for the procedurals and some of the underlying technology they leverage.
Hope this all makes some sense, and helps get you unblocked.
I'm o.d.d.
- sniegockiszymon
- Member
- 67 posts
- Joined: June 2022
- Offline
-
- Quick Links