L3DT users' wiki
Large 3D terrain generator

'Mixed' land types

The 'mixed' land types, as I like to call them, are basically land types that are combinations of the other 'root' land types (snow, cliffs and sand, in this example). To explain, let's jump right into an example:

1st mixed land type: grass

I want the grass to be near the waters edge, which means that grass should be somewhere between snow and sand in terms of parameters. In fact, I'm going to give grass vvalues very close to those for snow, but with a slightly reduced BaseProb and an increased Water value (remembering that sand had a lower BaseProb and a higher Water value).

Variable name Value
Params.BaseProb 0.97
Params.Water 0.1

I should also set the display colour and texture stuff (again ripped from the 'temperate' climate):

Variable name Value
Colour { 175, 220, 90 }
Texture.TexFileName “grass\grass1c.jpg”
Texture.HiTexFileName “grass\grass1a.jpg”
Texture.HiTexBlend 0.4

Re-generating the attributes map I get:

Much better. I might have a closer-look in 3D now (using VTP Enviro), just to see what's been done:

enviro1.jpg

Pretty good, but I think the sand doesn't quite go far enough inland. This is probably a consequence of addding the new grass type, which is now 'eating into' both the snow and sand types. Anyhoo, this can easily be fixed by increasing the BaseProb for sand a little:

Variable name Value
Params.BaseProb 0.4

Redoing the attributes map, texture map, and exporting to Enviro, we get:

enviro2.jpg

Yup, I think I can live with that for now. Further tweaking will be left for later.

2nd mixed land type: steep grass

FIXME

3rd mixed land type: underwater rock

FIXME

4th mixed land type: rocky slope

FIXME

 
tutorials/l3dt/newclimate/mixed_land_types.txt · Last modified: 2017/08/31 06:01 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki