Distance VOP

   3292   2   1
User Avatar
Member
2 posts
Joined: April 2015
Offline
Hi!

I'm trying to create a morph effect using a Point VOP.

I started by creating a simple morph using a mix to interpolate position attribute.
Now I would manage my effect using a controller. I created a controller and in a Point VOP I would like to calculate the distance between the point of my goal and the position of the controller (to make a ramp) . The problem is that the distance VOP return the same value for all points …

Here the file for more precision

Attachments:
Particles_Morphing.hipnc (163.8 KB)

User Avatar
Staff
2540 posts
Joined: July 2005
Offline
The fit range VOP clamps to output min and output max parameters. You left these at default so you are getting values from 0 to 1.

Replace this with the ramp unclamped VOP.

but then you run in to the Ramp VOP which again will clamp values again.

Re-think your logic? How you want to present the controller to the user?
There's at least one school like the old school!
User Avatar
Member
8 posts
Joined: April 2015
Offline
thank you for your answer,

The problem is fixed by changing my add attribute by a bind export
  • Quick Links