Copy link to clipboard
Copied
Hi there,
I have this question that in my opinion would be great if it works.
Is it possible to use a curve as value processor input so it can be used as custom distribution instead of a linear one?
What I am trying to make is a remap a linear distribution based in a custom curve. Instead of using a linear one where all the samples are equally distributed, using the curve would remap these values in the position where we want.
Thank you
You could do that with a grayscale curve plugged into a second sample input.
Then use that do adjust the interpolation point of your value
Dave
Copy link to clipboard
Copied
I'm struggling to envisage what you are trying to achieve. Could you show what you want to see as an input and an output, that way we may find a way.
Dave
Copy link to clipboard
Copied
Yes the main idea is use a curve as input of a value processor so it can be used for example with the linear interpolation node so it can outputs non lerp distribution numbers.
Hope it can be easier to understand with the attached images.
- I create a curve in the main graph and attach it to a value processor node.
- I import this curve inside the value processor so it can be used in a non linear distribution function as input.
Thank you for your time.
Copy link to clipboard
Copied
You could do that with a grayscale curve plugged into a second sample input.
Then use that do adjust the interpolation point of your value
Dave
Copy link to clipboard
Copied
What I was trying to make is to remap an exposed parameter with the curve instead of a linear approach.
From your previous answer I had just to import that parameter with a get float and connect it to both inputs of the vector float2.
It works !!!!! Very powerful tip IMHO. I really recommend it.
Thank you for your time Dave
Copy link to clipboard
Copied
You're welcome - glad I could help.
Dave