Weird render issue with hair and switch

   1220   1   0
User Avatar
Member
1 posts
Joined: May 2016
Offline
Hey everyone, I am having a really weird issue and I can't for the life of me figure out why. Is this possibly a bug or am I missing something. Essentially all I want to do is add a switch inside the hairgen node to toggle visibility since it is inside an HDA.
All I am changing is where the visibility null is plugged in and suddenly it won't render

Any ideas? Thanks in advance.

Attachments:
hair_problem_1.JPG (30.4 KB)
hair_problem_2.JPG (29.7 KB)

User Avatar
Member
7737 posts
Joined: Sept. 2011
Online
The display flag is what cooks when the procedural is running. The render flag holds the instance point with arguments for the procedural's execution. It won't work anymore if you move either away from their expected inputs.

I think there is a parameter on the hair gen HDA that's set to true when being executed as a procedural. This could drive your switch so the display flag is still connected to the cooked geometry when evaluated by the procedural, and I guess display nothing or whatever your choice when evaluated for display in Houdini.
Edited by jsmack - Sept. 11, 2020 18:49:35
  • Quick Links