Planetside Software Forums

General => Terragen Discussion => Topic started by: tagan on October 20, 2008, 11:23:29 AM

Title: Load Terrains problem
Post by: tagan on October 20, 2008, 11:23:29 AM
try to make you this question! I know little English.....

I have a file .ter:

Add Terrain-->Heightfield (load file)
and i get this:

(http://img89.imageshack.us/img89/8397/tg2cy8.th.jpg) (http://img89.imageshack.us/my.php?image=tg2cy8.jpg)(http://img89.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)

how can replicate the ground throughout planet01?
I do not want to have this:

(http://img217.imageshack.us/img217/1226/37941496db7.th.jpg) (http://img217.imageshack.us/my.php?image=37941496db7.jpg)(http://img217.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)

flat horizon!!!

(i've the free non-comemrcial edition build 1.9.99.1)
tagan
Title: Re: Load Terrains problem
Post by: tagan on October 20, 2008, 11:35:30 AM
and if i do in this mode? :

1. add terrains --> power fractal
2. add terrain --> load file

like this (it's only a example... visible well)

(http://img80.imageshack.us/img80/5018/tg2provaqz9.th.jpg) (http://img80.imageshack.us/my.php?image=tg2provaqz9.jpg)(http://img80.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)
Title: Re: Load Terrains problem
Post by: rcallicotte on October 20, 2008, 11:35:46 AM
I don't know of any way to replicate one TER file, except by creating individual instances of the TER by Heightfield Load.  Otherwise, you could use a Fractal Terrain and put your TER in the midst of this Fractal Terrain.
Title: Re: Load Terrains problem
Post by: Mohawk20 on October 20, 2008, 05:25:54 PM
What is your home language?
Could be easier to explain if you speak the same language as one of the senior members here...


To solve your horizon problem, just add a power fractal shader from *right mouse button*, "Create shader" -> "Displacement Shader" -> "Power fractal shader v3"

The output from that should be connected to the height field's "input". Then change the scale and displacement settings of the power fractal to 200 to start with, and edit them to something you want.
Title: Re: Load Terrains problem
Post by: bigben on October 21, 2008, 05:40:52 AM
1: Try to find a fractal terrain that provides a suitable match to elevation and form (shape) for the areas outside of the terrain.
2: Increase the border blending of the TER to provide a more natural transition

That's probably the quickest way without getting too technical.
Title: Re: Load Terrains problem
Post by: JimB on October 21, 2008, 07:26:27 AM
Learn how to use the Merge Heightfield shader?
Title: Re: Load Terrains problem
Post by: tagan on October 21, 2008, 09:37:37 AM
Quote from: Mohawk20 on October 20, 2008, 05:25:54 PM
What is your home language?
Could be easier to explain if you speak the same language as one of the senior members here...

hi, i'm italian and i speak little english.

I did this:
1. add terrain --> power fractal
2. add terrain --> load file

(http://img183.imageshack.us/img183/7317/dolomititerho8.th.jpg) (http://img183.imageshack.us/my.php?image=dolomititerho8.jpg)(http://img183.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)

(http://img227.imageshack.us/img227/8913/terrainom0.th.jpg) (http://img227.imageshack.us/my.php?image=terrainom0.jpg)(http://img227.imageshack.us/images/thpix.gif) (http://g.imageshack.us/thpix.php)

mmmm...but before I do these things, I study the other .....!
For example, surfaces, I can not make them beautiful as in Terragen 0.9 ...! :-\

a image in terragen 2:
http://www.facebook.com/photo.php?pid=30048095&id=1471860649
Title: Re: Load Terrains problem
Post by: bigben on October 21, 2008, 04:18:34 PM
Had a quick play... no you want a blending shader.  Attached mine here.

Set border blending of terrain to 0 (this is handled by the clip file)
In the displacement section of the Heghtfield shader uncheck Flatten first.

Insert this clip

Set input values in clip:
TER metres = width of the TER file in metres
(actually it's the width of the mask so it doesn't have to be exact, but it should be equal to or less than the width of the TER)
Offset X and Y = position of the centre of the TER
Border blending is what it's name suggests (0 - <1)

For a single terrain connect the mask output to the blending shader input of both the TER and the fractal terrain, check blend by shader in both and invert the blending shader in the fractal terrain.

The extra nodes in the clip are for subtracting a mask of an overlapping TER


Title: Re: Load Terrains problem
Post by: tagan on October 22, 2008, 01:43:08 PM
thanks everybody.
thank you bigben.

i used bb_TER_blending_mask.tgc clip file and now it's all ok.

;D ;D ;D

tagan