Itoo Software Forum
Forest Pack => Forest Pro (*) => Topic started by: ben_img on September 24, 2020, 08:32:43 PM
-
Hi
(it's me again :-X )
Is there a way to distribute a precise number of items ?
Playing with display max items isn't quite accurate
cheers
ben
-
Hi
For exact number You can use Reference (https://docs.itoosoft.com/forestpack/forest-plugin/distribution/reference-mode) or Particle Flow (https://docs.itoosoft.com/forestpack/forest-plugin/distribution/particle-flow-mode) Distribution method. Image (https://docs.itoosoft.com/forestpack/forest-plugin/distribution/image-mode)wont do in such cases.
(https://i.imgur.com/1mjcb4Q.png)
Hope this helps
-
Cheers for the reply and the sample scene.
Reference needs to have reference objects as target, so in other words it's a search and replace kind of thing.
And the pFlow loses all the area/spline options?
No solution for a regular forestPro with a given number then ?
-
Would it work for You if there was a script to delete excess items?
You would generate few too many, go to custom edit, and run the script to delete few items that are over Your specified limit?
-
a script sure could help :)
it's for game engine purposes, there's a limit each object can have... at the moment i'm playing with density/collision radius to reach the limit on each forest
-
So I can test performance,
How many items You would be generating, and then culling them to how many?
-
the export need to be maximum 32.768 triangles meaning about 2730 items (12tris each)
(depends the quality of items i'm going to distribute, some lower poly are 8tris each so 4096 items )
How many generated i can't say, depends really
but assuming i have some already done forests that i'm copy pasting to a new area, similar size, it can sometimes go to triple the amount or more, so say 10.000 items instead of the 2730 limit.
So we're not talking millions anyways :)
-
Hi. Updated ForestPack Toolbox (https://forum.itoosoft.com/forest-pro-(*)/scripts-for-forest-pack/msg28238/#msg28238)with Your suggestion.
Hope this will be useful in Your workflow.
-
Superb! Will try that asap
cheers for your help !