Planetside Software Forums

General => Terragen Discussion => Topic started by: rcallicotte on February 11, 2008, 11:40:39 AM

Title: Lines
Post by: rcallicotte on February 11, 2008, 11:40:39 AM
From time to time, I have run into these lines in the terrain.  What is this?  I have checked all of my fractal breakups and I'm well within range, as far as I understand it.  This is not part of a loaded terrain.
Title: Re: Lines
Post by: Tangled-Universe on February 11, 2008, 02:51:10 PM
Well I think this is just the fractal pattern, nothing really strange.
I don't know which ranges you consider to be good or not but I think you'd check them again.
As far as I know this is the result of high contrast (>1) settings in your fractal settings.

Martin
Title: Re: Lines
Post by: monks on February 11, 2008, 03:08:22 PM
You might want to alter the fractal noise you are using- the worst offender for those lines is the 'fractal ridges' setting- not sure whether TG uses this nomenclature. You could always blend them out with another noise type.

monks
Title: Re: Lines
Post by: Virex on February 11, 2008, 03:32:17 PM
I've had those lines a few times myself, but only when looking at a terain from a minute distance compared to the detail size.
Title: Re: Lines
Post by: rcallicotte on February 11, 2008, 03:45:10 PM
Thanks for the suggestions.  I've looked through all of these things without success.  I'll keep hunting.  I did find some places on the terrain that did not have this problem.  The terrain file is loaded nearby to this spot, so I'm not sure if that would do it or not.

@TU - fractal noise is set really low on the low side - .01  and it's good to know about the > 1 for contrast.  In this case, I don't have any fractals colors >1.

@monks - the fractal range is all good - .01 is the highest of the low numbers and in some cases I go a lot lower.  Not using the Perlin Ridge for my Tweak Settings

@Virex - I'm at about 150M high in the preview you see here.
Title: Re: Lines
Post by: Tangled-Universe on February 11, 2008, 04:06:44 PM
Quote from: calico on February 11, 2008, 03:45:10 PM
Thanks for the suggestions.  I've looked through all of these things without success.  I'll keep hunting.  I did find some places on the terrain that did not have this problem.  The terrain file is loaded nearby to this spot, so I'm not sure if that would do it or not.

@TU - fractal noise is set really low on the low side - .01  and it's good to know about the > 1 for contrast.  In this case, I don't have any fractals colors >1.

@monks - the fractal range is all good - .01 is the highest of the low numbers and in some cases I go a lot lower.  Not using the Perlin Ridge for my Tweak Settings

@Virex - I'm at about 150M high in the preview you see here.


When reading Monks comment and also Virex's I thought one of them was right.
By the way, I'm not putting a no go on contrast levels >1. There are lots of situations where contrast levels >1 are very very useful.
So only in this particular case I thought it was the problem, but it apparently it wasn't.
Title: Re: Lines
Post by: rcallicotte on February 11, 2008, 04:21:00 PM
Thanks you guys!
Title: Re: Lines
Post by: sjefen on February 11, 2008, 06:54:36 PM
I think I remember reading about this a long time ago. I think it's a fractal issue, but I'm not sure.
Title: Re: Lines
Post by: Mr_Lamppost on February 11, 2008, 07:49:31 PM
How many octaves are there in your terrain fractal?  I often find I get these lines if the total number of octaves is low.  As previously mentioned Perlin Ridges is the worst offender but they do show up in the other fractal types.  They can be hidden by adding a second low amplitude displacement fractal with a small feature size.
Title: Re: Lines
Post by: rcallicotte on February 11, 2008, 09:40:43 PM
Thanks, Mr. L.  I'll explore this and report back.
Title: Re: Lines
Post by: Oshyan on February 11, 2008, 11:08:12 PM
Very low noise/roughness settings will cause this kind of thing, as well a small number of noise octaves (small range between Lead-in and smallest feature scale).

- Oshyan
Title: Re: Lines
Post by: Tangled-Universe on February 12, 2008, 04:13:16 AM
Thanks Oshyan, this is very useful to know.
Title: Re: Lines
Post by: dandelO on February 13, 2008, 07:21:49 AM
What is considered a small No. of octaves? When I'm creating terrain in T2 I try to keep the noise octaves to between 10-25, I still occaisionaly suffer with this fractal lines 'problem'.

I've read here before to try and break them up with a smaller displaced fractal shader but the trouble I have there is getting the breakup evenly over the fractal lines without losing too much of the original terrain shape I started with. Should I be using the 'breakup' or just applying the smaller fractal on top of the first terrain?

This is one of the little annoyances I've had with TG2 that I've not been able to fully work around yet.
Title: Re: Lines
Post by: rcallicotte on February 13, 2008, 09:00:11 AM
@dandelO - Can't answer your question, but I remember the max octaves allowed is around 40...maybe exactly 40.  Hope someone like Oshyan has something for you.  This is interesting and helpful.
Title: Re: Lines
Post by: Mr_Lamppost on February 13, 2008, 07:09:49 PM
I consider 7 or less to be a low number of octaves.

Here is a quick example of adding a second layer of fractal displacement to mask the lines.

The tgd is there as well just enable the second fractal terrain to see the effect.

Title: Re: Lines
Post by: Oshyan on February 13, 2008, 10:45:23 PM
Lamppost seems to be on the right track. :)

- Oshyan
Title: Re: Lines
Post by: Hannes on February 14, 2008, 01:20:53 AM
The first one could be used for sanddunes.
Title: Re: Lines
Post by: dandelO on February 14, 2008, 06:23:22 AM
I assume that you've just racked up a second PFS on top of the other larger fractal for this, Mr. L. This does work a treat for distant shots but, if you're close to your terrain surface then this really messes up the foreground, I'd like to be able to limit the secondary fractal to break up the lined areas only, probably achievable with the distribution shader, or(my preference) a surface layers' slope constraints but it's a tricky balancing act.

I wasn't aware that you couldn't go past 40 octaves in a fractal shader, this'll be the same for all shaders that use octaves then, water, strata, etc? Not that I'd probably ever need to go so high but it'd be good to know anyway.