Jump to content

mountain sop to only displace in Y direction?


locvio

Recommended Posts

mountain SOP will displace terrain in both up and down directions:

Would like to only displace ONLY UP.. So needs something like

absolute value of Y displacment...

Im just transforming the result up in Y a bit to get kinda close,

but getting some problems at edges that are not ideal.

thanks!

Edited by locvio
Link to comment
Share on other sites

mountain SOP will displace terrain in both up and down directions:

Would like to only displace ONLY UP.. So needs something like

absolute value of Y displacment...

Im just transforming the result up in Y a bit to get kinda close,

but getting some problems at edges that are not ideal.

thanks!

The mountain applies noise in the direction of a point normal, if it exists, or defaults to the primitive normal. Noise itself, depending on the type of noise, generally falls in the range of -1 and 1 which means that you will have it moving in positive and negative directions.

You could switch to Alligator Noise which has a range of 0-1 to have it only in the positive. If you want a perlin noise but only applied in the positive Y, you could use a point sop and in the Position Y parameter, put

$TY + abs(noise($TX, $TY, $TZ))

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