Planetside Software Forums

General => Terragen Discussion => Topic started by: Shigawire on January 12, 2019, 08:48:50 PM

Title: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Shigawire on January 12, 2019, 08:48:50 PM
I've got this flow map that was generated by the Erosion plugin.

[attach=1]

The problem is that the flow lines aren't wide enough for my needs. I need to find a way to either widen them, or at least make the edges fuzzy. As you see here, the yellow measuring tape shows the width I need.

[attach=2]

Any tips are welcome.
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Shigawire on January 13, 2019, 01:40:48 AM
Never mind, I eventually found a way on my own using "Intersect Underlying" :)

[attach=1]
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Oshyan on January 13, 2019, 02:00:53 PM
That's definitely a creative use of Intersect Underlying. I'm not sure I'd recommend that as a general solution, so don't "count on it" for future scenes, but if it works here, that's great. :D

You can try the Colour Adjust for this kind of thing, that works sometimes, depending on how high contrast the base mask is. What you really need are min/max image operators which we don't have (the min/max scalar function nodes are not the same thing).

- Oshyan
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: digitalguru on January 13, 2019, 06:03:09 PM
QuoteWhat you really need are min/max image operators

That would be great to have a future version, so many times have needed to do exactly Shigawire is trying to achieve, and it would be great to do this within Terragen.
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Shigawire on January 14, 2019, 05:37:18 AM
Quote from: Oshyan on January 13, 2019, 02:00:53 PM
That's definitely a creative use of Intersect Underlying. I'm not sure I'd recommend that as a general solution, so don't "count on it" for future scenes, but if it works here, that's great. :D

You can try the Colour Adjust for this kind of thing, that works sometimes, depending on how high contrast the base mask is. What you really need are min/max image operators which we don't have (the min/max scalar function nodes are not the same thing).

- Oshyan

Interesting! Will this min-max function require a bitmap to function? I'm not using a bitmap.
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Oshyan on January 14, 2019, 02:05:50 PM
There is no min/max function (and we don't have specific plans to implement one). But you *are* using a bitmap/raster data if you're using a mask output from the erosion plugin.

- Oshyan
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Shigawire on January 14, 2019, 03:51:05 PM
Ok. Perhaps in a future version of TG? Sounds like it would be quite useful.
Title: Re: B&W mask, need help: fuzzy edges, or expand white parts outwards
Post by: Oshyan on January 14, 2019, 04:29:58 PM
Perhaps

- Oshyan