Itoo Software Forum

Author Topic: Areas to decrease density?  (Read 1697 times)

Lupaz

  • Newbie
  • *
  • Posts: 25
Areas to decrease density?
« on: November 07, 2022, 08:43:38 PM »
Hi.
I have a mountain range and in one mountain there should be much less trees than others.
I tried multiple things such as using Areas>Distribution maps and painting a B&W map in photoshop, but I don't know how to control the UV mapping of this map which should be separate from the overall distribution map.

How can I control the density in certain areas of the surface?


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Areas to decrease density?
« Reply #1 on: November 08, 2022, 11:52:24 AM »
Hi!

If you've updated to Forest Pack 8, then this would be an ideal use for Forest Effects. Using the new changes it's possible to use a spline to affect attributes of the scatter independently of the distribution areas. Attached is a sample file in which I've created an effect that allows you to reduce the density of items that fall inside a spline. There's also a falloff parameter for a smoother transition should you need it. The effect file is included separately if you want to import it into a different scatter.



For more about importing and using effects you can see the documentation here: https://docs.itoosoft.com/forestpack/forest-plugin/effects

I hope that helps,

Paul
Paul Roberts
iToo Software

Lupaz

  • Newbie
  • *
  • Posts: 25
Re: Areas to decrease density?
« Reply #2 on: November 08, 2022, 02:00:40 PM »
I have Forest 7.3.1
I can get that effect by using Areas>falloff (global props)>Density>exclude but I run into what looks like a bug as described in this topic. I just sent the file to tech support.
https://forum.itoosoft.com/forest-pro-(*)/bug-with-superposed-elements-and-falloff-density/


Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3049
Re: Areas to decrease density?
« Reply #3 on: November 08, 2022, 02:21:22 PM »
I suspect that is a limitation with the way include and exclude areas are automatically extracted from surfaces when overlapping. Please try the following instead.

- In the Areas rollout, turn off the Surfaces layer. It'll still be used to calculate Z Position, but now it isn't used for area calculations.
- Add a large closed spline that encompasses the whole terrain, set to include. This will add back all the items over the whole terrain but will ignore the fact that the surface is split and/or overlapping for falloff calculations
- then add your exclude area to the top level.

Hopefully that helps,

Paul
« Last Edit: November 08, 2022, 02:23:22 PM by Paul Roberts »
Paul Roberts
iToo Software

Lupaz

  • Newbie
  • *
  • Posts: 25
Re: Areas to decrease density?
« Reply #4 on: November 08, 2022, 02:55:52 PM »
I suspect that is a limitation with the way include and exclude areas are automatically extracted from surfaces when overlapping. Please try the following instead.

- In the Areas rollout, turn off the Surfaces layer. It'll still be used to calculate Z Position, but now it isn't used for area calculations.
- Add a large closed spline that encompasses the whole terrain, set to include. This will add back all the items over the whole terrain but will ignore the fact that the surface is split and/or overlapping for falloff calculations
- then add your exclude area to the top level.

Hopefully that helps,

Paul

Yes! It works.
Thanks!