Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: nmoser on March 22, 2024, 01:50:24 PM

Title: Path distribution setting one object to appear at the beggining of spline
Post 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.
Title: Re: Path distribution setting one object to appear at the beggining of spline
Post by: Michal Karmazín on March 22, 2024, 02:30:45 PM
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,
Title: Re: Path distribution setting one object to appear at the beggining of spline
Post by: nmoser on March 22, 2024, 04:59:59 PM
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.
Title: Re: Path distribution setting one object to appear at the beggining of spline
Post by: Michal Karmazín on March 27, 2024, 10:26:32 AM
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,