Planetside Software Forums

General => Terragen Discussion => Topic started by: Valentina on June 11, 2021, 06:32:02 AM

Title: Make pf follow a path
Post by: Valentina on June 11, 2021, 06:32:02 AM
Hi everyone, I hope this is the right section. If not, please tell me where to post this question..
As you can see in the tgd attached, I have a map (combination of 2 simple shape shaders) that gives me a sort of road/path.
I also have a pf with a pattern that I would love to follow this path... Can you help me? I've tried a lot with warpers, vector dispacement shaders, redirect and so on, but with no results.
Thank you for your help,
Valentina

Image.jpg
Path.tgd
Title: Re: Make pf follow a path
Post by: Dune on June 11, 2021, 06:58:50 AM
You can't have a pattern follow a curve very well. Lengthwise yes, but perpendicular (like railway beams), no. If you use a warped simple shape path (so not the way you got your path), you can warp the length pattern just like the path.
Title: Re: Make pf follow a path
Post by: Valentina on June 11, 2021, 07:57:55 AM
I've tried with a warped sss, but no results, no change in the pf pattern.. probably I'm doing something wrong.. I wanted those 'stripes' to follow(ish) the curve.
Title: Re: Make pf follow a path
Post by: Dune on June 11, 2021, 11:23:51 AM
Check this out, very simple and fast, just to show the principle.
Title: Re: Make pf follow a path
Post by: Valentina on June 11, 2021, 12:32:21 PM
Many thanks, I were making a mistake, wrong warper I guess, i were close, but still not there. thank you
Title: Re: Make pf follow a path
Post by: Dune on June 12, 2021, 01:21:25 AM
Do show us what you're making, if you get further with this.
Title: Re: Make pf follow a path
Post by: Valentina on June 12, 2021, 09:47:00 AM
Sure, I'm working on this aerial view.. still low quality of course. I'd be happy to hear any advice  :)
(the cube is just a proxy, it's supposed to be replaced with a car)
Title: Re: Make pf follow a path
Post by: Dune on June 12, 2021, 10:41:31 AM
Nice POV!
Title: Re: Make pf follow a path
Post by: WAS on June 12, 2021, 12:16:34 PM
Awesome start here. I just shared a dirt road mask setup with ditches for things like this; mountain roads for the drainage to prevent washouts.
Title: Re: Make pf follow a path
Post by: Valentina on June 14, 2021, 08:47:29 AM
Quote from: Dune on June 12, 2021, 10:41:31 AMNice POV!
Thank you!
Quote from: WAS on June 12, 2021, 12:16:34 PMAwesome start here. I just shared a dirt road mask setup with ditches for things like this; mountain roads for the drainage to prevent washouts.
Thanks! Great, I'll check it out!