Point VOP - position gradient

   2852   2   0
User Avatar
Member
117 posts
Joined: Aug. 2013
Offline
Hi houdini-ers!

I have a small problem in a Point VOP - hopefully with the aid of the attached image you will be able to understand the effect I am trying to achieve.

So given a few points in space, I want to sample their y position, extract min and max values and then use a ramp relative to the min position to move the points, essentially until they become flat with the point with the original min y value.

Doable?
Edited by coccarolla - Aug. 5, 2017 07:31:48

Attachments:
problem01.jpg (71.2 KB)

User Avatar
Member
471 posts
Joined: Nov. 2013
Offline
Hello.
I put simple HIP for you.
Play with the ramp parameter to see the result.
Hope this helps.
Edited by Nima - Aug. 5, 2017 12:00:54

Attachments:
Point VOP.hip (100.2 KB)

User Avatar
Member
117 posts
Joined: Aug. 2013
Offline
Nima
Hello.
I put simple HIP for you.
Play with the ramp parameter to see the result.
Hope this helps.

Works like a charm - thank you very much.
  • Quick Links