Re: Help me be lazy
- From: dtalagrand@xxxxxxxxx
- Date: 20 May 2006 00:37:26 -0700
There are several possible alternatives depending on what exactly you
want (of course, you can also use any combination to achieve the
desired result). Are you aiming more for realism or "real-time" (fast
generation)?
Spectral synthesis is very popular, but looks a bit rocky/angular
(especially with linear interpolation). Using cubic interpolation
significantly improves the results. However, 1/f-like noise algorithms
(Spectral, Mpd) are a bit monotonous, so I generally use an additional
perturbation filter (moving random distance and direction from each
group of "cells", and interpolating). This also has the added benefit
of giving a more eroded feel.
A simple algorithm that you might find interesting is the "hill"
algorithm, which generates nice rolling hills (big surprise!). You
first pick a random point on the terrain and a random radius, and then
displace all the points in the sphere (the closer to the point, the
larger the displacement), repeating the point/radius selection as many
times as you want, and then normalizing the field.
-Daniel Talagrand
.
- Follow-Ups:
- Re: Help me be lazy
- From: Mark Healey
- Re: Help me be lazy
- References:
- Help me be lazy
- From: Mark Healey
- Help me be lazy
- Prev by Date: Nanoscale fractal developed
- Next by Date: Re: Nanoscale fractal developed
- Previous by thread: Re: Help me be lazy
- Next by thread: Re: Help me be lazy
- Index(es):
Relevant Pages
|
|