Itoo Software Forum
Forest Pack => Forest Pro (*) => Topic started by: US3087 on January 13, 2021, 04:58:33 AM
-
Hi, wonder if anybody can help me with Forest Pack Effects / expressions.
What I want to do is have the scale of scattered items be controllable by a curve / graph along the distance it's distributed along a spline.
For example, I have cascading plants that are set to path mode, but I want the longest cascades in the middle of the spline and smaller cascades at the beginning and end of the spline.
Any way I can set about doing this? I can simply multiply the fpItem.scale calue by fpItem.distPathPos, but that gives me not the result I want..
Appreciate any help!
-
Hi
Sure. I think You got it pretty close to writing Yourself. Anyway here it is finished example:
(https://i.imgur.com/h7xk7Hu.png)
-
Oh wow, legend!!
So much thanks right now Rokas!
-
Is there also a way to use the same / other curve to control the spacing value as well? (denser at ends, sparser in the middle)?
-
For that granular level control You'd better use RailClone.
-
Railclone and plants don't work too well - as it's trying to make one large mesh rather than instance the segment? (I believe only Vray has the instancing option and I'm on Corona)
Or am I wrong here?
-
It should be fine with both vRay and Corona. Let us know if You face any challenges.
-
Cheers, thanks I'll give it a go
-
Anyway, added another curve to control spacing.
(https://i.imgur.com/RQLmaY7.png)