Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: "J. Pretorius" Newsgroups: scea.yaroze.freetalk Subject: Re: Is anyone still here???????? Date: Fri, 22 Jan 1999 17:45:05 -0800 Organization: @Home Network Lines: 13 Message-ID: <36A929A1.E8A16D7@home.net> References: <77n0ob$hoo1@chuka.playstation.co.uk> <36A55044.96F02456@home.net> <7880bd$2po1@scea> NNTP-Posting-Host: cs207965-a.gvmt1.bc.wave.home.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.02 [en]C-AtHome0402 (Win95; U) Charles Nicholson wrote: > > Hoo. Well done. I'm impressed.... is that a height map? It looks like a > grid of points on x-z plane with modified y's to generate the landscape... i Thanks Charles. Yes, the landscape consists of a grid of triangles. The y value is calculated using a well know mathematical formula sometimes called the Midpoint Displacement Method. This algorithm can be found in most 3D computer graphics books. The algorithm can generate realistic looking terrain especially when you use a really dense grid. I made some changes to the algorithm to create somewhat unrealistic landscapes with holes and valleys.