Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
logix1390

Noise driven by color

Hello,

I am trying to create a gradient ramp on a plane and add noise only to the white color of the ramp. I am trying to do this in vops. I have the noise and I have the ramp applied in vops, however I don't know how to make the noise only affect the color.

Any help would be much appreciated , thank you.

 

ramp_and_noise.hip

Share this post


Link to post
Share on other sites

try multiply instead of add. Black is 0, if you multiply something by 0 it will stay 0.

Share this post


Link to post
Share on other sites

thank you konstantin, I tried to multiply it. seems to have disappeared. 

once I add the turbulent noise to the position of the grid, I then multiplied it by the ramp param. Is their something i'm missing ?

Thank you for the help.

ramp_and_noise2.hip

Share this post


Link to post
Share on other sites

really appreciate the help konstantin. this works well with the ramp and color, I see what you mean now.

If I wanted to add displacement to the position of only the anti aliased noise, would I have to fit the position of the aanoise and add it after I mulitply it with the values of the ramp? No matter what I do it just becomes a jumbled mess. 

I attached my scene if by any chance you want to take a second look . Thank you.

 

 

ramp_and_noise2c.hipnc

Share this post


Link to post
Share on other sites

Hi Mike, if you want to keep the grid´s extent and only change it´s height, you should only change the Y component of your position vector. This can be done with setvectorcomponent (set to 2nd).

Btw: I set the noise to 1D, so that the color information fits to the height deformation. However you can set it back to 3D without corrupting the geometry.

ramp_and_noise2d.hipnc

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  
Followers 0