Jump to content

(SOLVED) Mirror in vops?


caskal

Recommended Posts

Hey guys, it is possible to mirror noise within vops? Im trying to create some sort of fractal noise, for example on a grid of 4, having the same noise on each grid but flipped / mirrored. 

Thanks!

Edited by caskal
Link to comment
Share on other sites

@f1480187 I was expecting your answer :D (not that fast tho), thats exactly what I had in mind, thanks a lot for the file.

Can you briefly explain the process on vops? I kinda understand it by reading the wrangle but still a little confused

Also, is it possible to make this in other shapes like spheres? I tried and works on front/back but deforms on top/bottom, just curious about this, I'll use the cam on front anyways

Thanks again!

 

Link to comment
Share on other sites

A useful way to think of it is that if you have a function(noise) and you put the same input into that function, then you will get the output.

So if you manipulate the position to repeat the same input, you will get the same result. In f1480187 example,  a point's position (-1,-1,0) gets remapped to (1,1,0)... so it will produces the same noise result as the point that has the original pos (1,1,0).

Effectively a mirroring. 

  • Like 2
Link to comment
Share on other sites

You can also create a triangle wave using modulus to determine the tiling frequency on the mirrored noise. Just had a quick go with a wrangle ...

float repeat_frequ = 2;
vector mirror_pos = abs(abs(@P)%(repeat_frequ*2) - repeat_frequ);
mirror_pos[1] += chf("offset");
@P.y += snoise(mirror_pos, chi("turb"), chf("rough"), chf("atten"));

 

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