Jump to content
Sign in to follow this  
rickvdvulkaan

add noise to points but only in x and y axis

Recommended Posts

For modeling purposes, i want to add some noise to the position of the points, but without affecting the Z axis. So i tried the mountain SOP first, but i found no options to exclude the z axis. so i tried vops, with the noise and add node, but as expected this adds noise to all directions. I'm kind of stuck, as i'm still a beginner. Can someone point me in the right direction?

Share this post


Link to post
Share on other sites
Posted (edited)

Point Jitter SOP - axis scale z: 0

OR

Attribute Wrangle (Run Over Points):
Remember to click the little icon to create the parameter.

vector noise = noise(chv("offset")+@ptnum);
noise.z = 0;
@P += noise;

As with most things in Houdini, there are infinite ways to achieve a given effect.

Edited by Fenolis
  • Like 1

Share this post


Link to post
Share on other sites

The point jitter sop was perfect.

I'm in the middle of a VEX "course" (joy of vex on cgwiki, really awesome), so i'm kinda playing with that code, trying to make the effect bigger/smoother, etc.  

thanks, really helpful!

 

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
Sign in to follow this  

×