Jump to content

expose edges with dirt mask (convex curvature)


Recommended Posts

Hey all, I'm using houdini 15.5 and I'm trying to expose edges (in a manner similar to vray curvature/ inverted ao- https://docs.chaosgroup.com/download/attachments/12085592/VRayCurvatureHero.png?version=4&modificationDate=1487005362000&api=v2), the manual says "If the negated normal is connected, will find exposed edges. @parameters" so I took global variables, took the P plugged it into the P, took the N and added negate node (also I tried multiply constant with -1 instead) and plugged it into nN, the bias direction is 0, 0, 0, and still all I'm seeing is occlusion dirt, same as with default settings. 

I know that there's a 'curvature' VOP, but it yields some weird results for me, so I would like to try the dirt instead and see if it's different, so please help:)

Link to comment
Share on other sites

I think your setup is simply wrong somewhere, it should work as described. Post scene. Bias should place ray starting point above a surface. Try to scale your negated normal by a small value and use this as bias.

 

worn_edges.png.cf485642147d44d799b4f8f74d366318.png

Curvature mask produces better results than occlusion masking, but meshes must have a nice curvature, therefore be smooth.

worn_edges.hipnc

Link to comment
Share on other sites

On 7/2/2017 at 10:03 AM, f1480187 said:

I think your setup is simply wrong somewhere, it should work as described. Post scene. Bias should place ray starting point above a surface. Try to scale your negated normal by a small value and use this as bias.

 

worn_edges.png.cf485642147d44d799b4f8f74d366318.png

Curvature mask produces better results than occlusion masking, but meshes must have a nice curvature, therefore be smooth.

worn_edges.hipnc

cool, I'll try that, thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...