Itoo Software Forum
Forest Pack => Forest Pro (*) => Topic started by: nmoser on March 22, 2024, 01:50:24 pm
-
I’m working with a Forest Pack object where items are distributed along a path.
Is there a way to ensure that a specific object appears always at the start of each spline, another at the end of the spline and maintaining random in the middle.
-
Hi Nuno,
That's a task for the RailClone plug-in, which is much more suitable for something like that. You can easily wire these models into the Start, Default / Evenly, and End Inputs of the Linear 1S (https://docs.itoosoft.com/railclone/style-editor/1d-arrays-generator-l1s) Generator.
I hope that helps.
Best regards,
-
Even if the object I'm working is vegetation?
What I'm trying to accomplish here is scattering hedges along splines, but there is a specific object that needs to be used at the beguiling otherwise will look wrong
I tried to find something on the effects but unfortunately It's too advanced for my knowledge.
-
First, let me apologize for the late reply. Of course, the RailClone plug-in can handle the vegetation easily and it can also deform it if needed. If you prefer using the Forest Pack plug-in, as you've pointed out, the Effects feature can be used to assign the corresponding item (.geomID) based on the position on the path (.distPathPos). Please find attached a sample scene (distPathPosSampleScene.max) demonstrating this possible approach. Alternatively, you can switch to the Custom Edit mode and select the first and last item manually. I hope that helps.
Best regards,
-
Hi
This is good function, but what if i have more items to scatter? It seems to be limited to only 1 item between start and end ones.
-
Please find a modified version of the sample scene with the randomInt(a,b) function which generates an integer random number within the specified range (which should be adapted upon the total number of used items). I hope that helps.
Best regards,
-
Can i ask for at least 2022 version?
-
Here's a version saved back to Max 2022.
Many thanks,
Paul
-
Tank you very much. It will serve me long time.