Jump to content
kremiansky

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:)

Share this post


Link to post
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

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×