Planetside Software Forums

General => Terragen Discussion => Topic started by: cyphyr on May 11, 2017, 08:02:45 AM

Title: Variable sized Voronoi
Post by: cyphyr on May 11, 2017, 08:02:45 AM
One for the math heads ...
Any ideas how to get Variable sized Voronoi.
The Voronoi has a scale input that can have a constant scalar input (see attached). I need to figure out how to have a variable scalar input, say something between 1 and 3 (or stepped 1, 2 or 3). I have tried a PF but that creates a mess.
Suggestions .. :)
Title: Re: Variable sized Voronoi
Post by: Dune on May 11, 2017, 09:35:47 AM
Did you try with color set at 3 and 1 and then a smallest fractal noise that is higher than that? I use variable size sometimes, and it does work.
Title: Re: Variable sized Voronoi
Post by: cyphyr on May 11, 2017, 10:43:53 AM
Hmm, I hadn't thought of trying colour values above 1. Kinda works but not quite what I'm after ... might not be quite understanding you properly. I shall investigate further ..
Title: Re: Variable sized Voronoi
Post by: KlausK on May 11, 2017, 12:51:30 PM
hi cyphyr

definitely NOT a math head here...but maybe this is something in your direction. Hope it helps.
cheers, Klaus
Title: Re: Variable sized Voronoi
Post by: cyphyr on May 11, 2017, 02:24:41 PM
Thinking outside the box, good solution. Again not what I had in mind but quite possibly more useful.
Cheers
Title: Re: Variable sized Voronoi
Post by: Hetzen on May 11, 2017, 08:35:43 PM
What's the effect you're looking for?
Title: Re: Variable sized Voronoi
Post by: cyphyr on May 11, 2017, 08:42:34 PM
This is another attempt at a "perfect cliff" face ... I think what I'm after is a mixture of larger and smaller scale voronoi but not overlapping. Duplicating the layers and running a second pass for finer details would be better than having all the complexity is a single layer ...
Title: Re: Variable sized Voronoi
Post by: Dune on May 12, 2017, 02:08:17 AM
Ah, cliffs, the endless pursuit of perfection. You'd have to make each size mask out (or in) the smaller sized (mix color with controllers?). Curious to see your results!
Title: Re: Variable sized Voronoi
Post by: bobbystahr on May 12, 2017, 08:39:29 AM
Watching this for educational purposes.....I've nothing to input...
Title: Re: Variable sized Voronoi
Post by: cyphyr on May 12, 2017, 07:28:04 PM
Well I managed to get as far as this. Two scales in one Voronoi.
Title: Re: Variable sized Voronoi
Post by: KlausK on May 12, 2017, 08:58:26 PM
That is what I got.
Tried to do something with the min-max nodes.
There are a few roads to go from the intermediate steps I think.
Gotta get some sleep...cheers, Klaus
Title: Re: Variable sized Voronoi
Post by: bobbystahr on May 12, 2017, 09:12:03 PM
Quote from: cyphyr on May 12, 2017, 07:28:04 PM
Well I managed to get as far as this. Two scales in one Voronoi.

Simple and elegant...well done.
Title: Re: Variable sized Voronoi
Post by: Dune on May 13, 2017, 02:25:06 AM
Those are both interesting results. Klaus' version looks like broken glass, very nice. Thanks for posting these, guys.
Title: Re: Variable sized Voronoi
Post by: bobbystahr on May 13, 2017, 09:52:46 AM
Quote from: Dune on May 13, 2017, 02:25:06 AM
Those are both interesting results. Klaus' version looks like broken glass, very nice. Thanks for posting these, guys.

Indeed, both have utility for sure....gracias guys
Title: Re: Variable sized Voronoi
Post by: mogn on May 16, 2017, 05:03:53 AM
By reducing the (50) shades of grey, the boundaries of cells with near shades are breaked down.
Title: Re: Variable sized Voronoi
Post by: Dune on May 16, 2017, 06:39:25 AM
Thanks mogn.
Title: Re: Variable sized Voronoi
Post by: bobbystahr on May 16, 2017, 11:46:14 PM
Quote from: Dune on May 16, 2017, 06:39:25 AM
Thanks mogn.

echo...echo...echo...
Title: Re: Variable sized Voronoi
Post by: cyphyr on May 17, 2017, 10:43:34 AM
Well here is where I have got to, and I may just have learnt something ... fun with the blues.
I'll post these in the file sharing and Blue node playground so they can be found easily.
The last is with mogn's clipfile addition.
Cheers guys