2
$\begingroup$

I have an Animation Nodes tree where I distribute characters based on random values on Y and Z axis as you can see below.

enter image description here

But viewing from that camera angle (the perspective view) the upper part of the picture is too dense.

enter image description here

So as long as I use the random function it distributes the characters "evenly" in space, but I need a control to decrease the amount of the objects based on the camera distance gradually. Is it possible with Animation Nodes?

$\endgroup$
1
  • $\begingroup$ A work around not using animation nodes (until someone has a better solution) would be to use a people particle system and weight paint distribution. $\endgroup$
    – Striar
    Jun 27, 2017 at 19:06

1 Answer 1

2
$\begingroup$

I found a quite simple solution. The Map Range node has an interpolation input where we can plug the Interpolation from Curve Mapping node. So we can adjust the mapping of a random value with a curve. See below:

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.