Jump to content

dilation by thickness


MENOZ

Recommended Posts

hello

I'm trying to figure out a way to modify the thickness of the lines in comp.

http://graphics.pixar.com/library/ToonRendering/paper.pdf

I decided to try in houdini cops.

once I have my clean contour lines, I use the dilate/erode node, but i want to modify the size value according to the black and white map. I tried with expression

tex(filename, U, V, color_type)

tex("/img/comp1/map_bw_jpg", 0, 0, L)

I tried to change values U and V inthe expression but nothig seems to happen.

how can I do to make it works?

thankyou

Link to comment
Share on other sites

hello

I'm trying to figure out a way to modify the thickness of the lines in comp.

http://graphics.pixar.com/library/ToonRendering/paper.pdf

I decided to try in houdini cops.

once I have my clean contour lines, I use the dilate/erode node, but i want to modify the size value according to the black and white map. I tried with expression

tex(filename, U, V, color_type)

tex("/img/comp1/map_bw_jpg", 0, 0, L)

I tried to change values U and V inthe expression but nothig seems to happen.

how can I do to make it works?

thankyou

Pipe the image into the mask-input.

EDIT.

Dont forget to change the Operation Mask parameter under DilateErode->Mask->Oparation Mask, if you want to mask with something else then alpha.

Edited by mawi
Link to comment
Share on other sites

Pipe the image into the mask-input.

EDIT.

Dont forget to change the Operation Mask parameter under DilateErode->Mask->Oparation Mask, if you want to mask with something else then alpha.

this doesn't work.

I dont't want to maks the effect, I want to modulate the "size" parameter.

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...