Jump to content

Tileable Noise


Activate

Recommended Posts

@rohandalvi was asking on Twitter about tiling noise in Houdini. It seemed like this should be easy to do. That should have been a warning sign.  Doing this right is much harder but here is a super quick blur based noise tiler:

Tiling-2.thumb.gif.208fd971b4960f93c44b82257abe57ca.gif

Since blurring is feature agnostic, it does not make for the best tiles but may be good enough for some cases.

Hip file attached.

noise_tile.hiplc

  • Like 1
Link to comment
Share on other sites

Check out the liked thread. I think the aproach is much more elaborate. As i'm understanding it the idea is to bend the noises sampling position in a way that the start and the endpoint are meeting each other.

 

Link to comment
Share on other sites

Hi Niels,

I tried the torus route as suggested on twitter:

torus_noise.png.e5b76a79365cddb6f222b9956255c970.png

float r_torus = chf('radius_torus');
float r_tube = chf('radius_tube');
float freq = chf('frequency');

v@pos_rest = v@P;
vector bbox = relbbox(0, v@P) * M_TWO_PI;

v@P.x = (r_torus + r_tube * cos(bbox.x)) * cos(bbox.z);
v@P.y = (r_torus + r_tube * cos(bbox.x)) * sin(bbox.z);
v@P.z = r_tube * sin(bbox.x);

v@Cd = noise(v@P * vector(freq));
v@P = v@pos_rest;

 

seamless_noise.hip

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