Jump to content

Bumpy Poly Wire?


poppy

Recommended Posts

Hi, first post here

I'm working on some lightning effect using curve and noise CHOP. I plugged the generated curves into polywire node for rendering. The question is how can I add "randomness" into wire thickness, you know, make it more electric-like.

I'm pretty new to Houdini, please don't geek me out :P .

Thanks!

Poppy

Link to comment
Share on other sites

actually noise should be in -1,1 range

and the easiest way to change that range is use fit() function or in -1, 1 case fit11() function

so

fit11(noise($TX,$TY,$TZ),1,2)

will give you noise remapped to 1,2 range, etc.

but basing wire thickness on point position will produce different values as the curves will move

if that is not desired you can base it on something like $PT or any attribute

you an even create custom attribute modify it in VOP SOP or CHOPS to get your thickness values per point

then simply put $variablename to Wire Radius parameter in PolyWire SOP

so if your attribute is called "width", you will put $WIDTH in there

Link to comment
Share on other sites

yes, but be careful about that too since in VEX you have many types of noises and each may have different range

which is not very helpful if you want to switch between them

according to docs:

Perlin Noise (noise): 0,1

Original Perlin Noise (onoise) -1,1

Sparse Convolution noise (snoise) -1.7,1.7

Alligator noise (anoise): 0,1

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