"Configure Guide Deform" LOP node with character hair

   316   3   2
User Avatar
Member
8 posts
Joined: 1月 2022
オフライン
I'm testing out the new hair features in Houdini 22, particularly the "Configure Guide Deform" LOP node, but I'm having issues getting it to work with the capybara following this guide:
https://www.sidefx.com/docs/houdini/fur/guidedeform.html [www.sidefx.com]

Here are the steps I've taken:
1. Create Capybara from the "Capybara Sim and Deform" tool in the "Hair Utils" shelf. This creates the Capybara_Sim_and_Deform node under `/obj`.
2. Create a "SOP Create" node under `/stage`.
3. Copy all of the nodes inside of `/obj/Capybara_Sim_and_Deform` to the inside of `/stage/sopcreate1`.
4. Delete guidedeform_by_skin_and_guides.
5. Create name nodes for the groom, skin, and guides like the guide does.
6. Change "Import Path Prefix" to `/capybara` for the `/stage/sopcreate1` node.
7. Create a "Configure Primitive" node connected to sopcreate1 and set the groom prim's purpose to render.
8. Create a "Configure Guide Deform" node connected to the "Configure Primitive" node, and set its "Groom Prim" to `/capybara/groom`, "Skin Prim" to `/capybara/skin`, and "Deformer / Guides Prim" to `/capybara/guides`.
9. "Configure Guide Deform" shows an error that `/capybara/guides` is missing a `rest` primvar. Create a "Rest Position" node connected between guideutility and guidedeform_by_skin
10. Create an "Attribute Copy" node named attribcopy_rest between vellum_guide_sim and name_guides. Connect the first input of attribcopy_rest to the first output of vellum_guide_sim, and the second input of attribcopy_rest to rest1. Set "Attribute Name" to rest.
11. configureguidedeform1 errors with "/capybara/guides is missing restorient pimvar", so go back in sopcreate1 and check the box for "Copy to Rest Orient" on the guideutily node. Then for attributecopy_rest, add the restorient attribute to "Attribute Name".
12. configureguidedeform1 does not error anymore, so view from that node, then either render or switch the view to "Final Render". This will cause the viewport to freeze up for about a minute while the procedural computes. Then BAM, I see a mess of fur not even remotely correctly attached.

What did I do wrong here?
Edited by carlson - 2026年8月7日 17:35:18

Attachments:
hair_22_capybara.zip (97.1 KB)
capybara_fur_fail.jpg (398.5 KB)
capybara_fur_node_network.jpg (76.4 KB)

User Avatar
スタッフ
116 posts
Joined: 6月 2024
オフライン
Sorry you experienced this problem. The solution is to place a Rest SOP on your skin too, so between the "capy_skin" and "bonedeform" nodes. The attribute copy that you have in your guide stream is unnecessary as those values are being carried through. It would only be necessary if you had cached out your simulation and didn't want to resimulate after adding those attributes upstream.

Not having an error on the LOP for the missing rest attribute is an oversight on our part - we will add that. Once the rest attribute is there though, the slow lagginess goes away and the procedural becomes really fast again.

We will also take a look at the documentation again and see if we can add anything to make this process clearer.
Liesbeth Levick
Technical Director: CFX
SideFX
User Avatar
スタッフ
116 posts
Joined: 6月 2024
オフライン
Here is a setup for the Capybara Configure Guide Deform LOP using the SOP setup from the shelf tool that is optimised to prevent guide weights being recalculated each frame, as well as preventing cross-contamination of attributes between the prims.

Attachments:
capy_setup_sop_create.png (161.9 KB)
capy_config_guide_deform.png (201.0 KB)
capy_config_guide_deform_example.hip (1014.3 KB)

Liesbeth Levick
Technical Director: CFX
SideFX
User Avatar
Member
8 posts
Joined: 1月 2022
オフライン
Thank you so much Liesbeth! Your example is incredible!
I knew I was missing something obvious.
  • Quick Links