Intel sponsors gamedev.net search:   
Journal of Lethargic ProgrammersBy cameni      

Brano Kemen
a.k.a. cameni
outerra.com

Wednesday, November 11, 2009
Recently I've been working on the code that computes fractal data - a bit of reorganization to be able to have more independent fractal channels that are used everywhere in the engine, as I was running short of them already. Previously we had one channel where the terrain elevation fractal was computed, another channel with low-pass filtered terrain slope and 2 independent fractal channels. After the redesign we have 4 independent fractal channels, but additionally the filtered slope is computed independently for u,v terrain directions.

The two-dimensional slope values allow for better horizontal displacement effect on the generated terrain, because now it's possible to make the rock bulge from the hill slope in the right direction. In the previous version only the absolute slope value was known, and the fractals extruded the mesh independently in two orthogonal directions, and of course that did not always look good.

The equation for the displacement was in addition parametrized, to be able to get more effects out of it. Currently it's possible to vary the dominant wavelength, bias and amplitude of the used fractal.

Here is a quick comparison of what the parameters do.

Bias +0.5 (bulging outwards from the slope), wavelength 19m


Wavelength 38m


Wavelength 76m



In the last screenshot the fractal used for the displacement is already only slightly visible and the bulbous shape of purely slope-dependent displacement shows up.
Here's how the displacement looks like when the bias is even larger, i.e. when the sloped parts are pushed even more outwards (bias +1.5):


It's also possible to use a negative bias values, that make the sloped parts carved into the hill (bias -1.0):



On the other hand, amplitude boost can emphasize the effect of the fractal, creating more visible overhangs here and there:


For comparison, here's how the same terrain looks like without any horizontal fractal effect at all:


... and without the vertical fractal, only a bicubic subdivision of original 76m terrain grid:



Next thing to try could be using a texture containing rough shape of specific type of erosion one would like to achieve. Current technique still cannot generate proper cliff and canyon walls, but combining it with the shape map lookup should theoretically do the job.

There's also an interactive comparison

Comments: 1 - Leave a Comment

Link



Friday, October 2, 2009
Some time ago I had an idea to make the web site with white background. That idea was inspired by a bug in early atmosphere rendering that made Earth as if submerged in watery milk. I remembered it and managed to reproduce the bug in RenderMonkey, tuned it and here's how it looks:

earth

The whole new look built around that idea can be seen here: outerra.com

Comments: 1 - Leave a Comment

Link



Wednesday, September 2, 2009
Another short video showing the embedded Chromium browser and Google Maps that is synchronized to engine camera.



Comments: 2 - Leave a Comment

Link



Monday, August 31, 2009
It's been one year since we released the first videos from Outerra engine. So it's about time to release another short one featuring a lifeless Jalapeno and a pilotless Cessna plane with broken propeller

Watch in HD.


Comments: 1 - Leave a Comment

Link


All times are ET (US)

 
S
M
T
W
T
F
S
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

OPTIONS
Track this Journal

 RSS 

ARCHIVES
November, 2009
October, 2009
September, 2009
August, 2009
June, 2009
May, 2009
March, 2009
February, 2009
January, 2009
December, 2008
November, 2008
October, 2008
August, 2008
July, 2008