0
$\begingroup$

I just created the scene shown in this "tutorial" (Is it possible to dynamically reduce the number particles based on distance from camera?), where you see how to dynamically reduce the number of the particles depending on the distance to the camera, but now i find, that the radius is too big and covers the whole plane. I would like to just have a part of the plane covered with grass, but it should follow the camera over the whole plane. Is this possible?

Thanks for answers (and sorry for my bad english, but I'm an austrian.)

$\endgroup$
0
$\begingroup$

You can set the variables that scale the radius by hand. Currently the script uses:

maxDist = max( vert_distances )
minDist = min( vert_distances )

But you can use any other value and experiment with what works for your case, like:

maxDist = 5
minDist = 1
$\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.