home *** CD-ROM | disk | FTP | other *** search
- Article 2682 of comp.sys.amiga:
- Path: mcdsun!noao!hao!oddjob!mimsy!seismo!rutgers!mit-eddie!uw-beaver!ubc-vision!alberta!myrias!cg
- From: cg@myrias.UUCP (Chris Gray)
- Newsgroups: comp.sys.amiga
- Subject: Scenery generator in Draco (plus object)
- Keywords: scenery Draco source
- Message-ID: <490@myrias.UUCP>
- Date: 9 Mar 87 20:32:28 GMT
- Sender: news@myrias.UUCP
- Organization: Myrias Research, Edmonton
- Lines: 274
-
- Generating good-looking pseudo-random scenery (terrain) has interested me
- for a while (I'm into computer game playing as well as compilers). A couple
- of years ago I tried to generate scenery using a "volcano" type generator
- (lead on by the "Empire" manual). I got one going, but it was VERY slow. I
- eventually came up with a method that touches each point only once, and
- uses only small integer calculations. The first version I did (in Draco of
- course) for the Spectrum card (128 x 192 x 2) in my Compupro CP/M system.
- Here follows a version I whipped up for the Amiga. It's in Draco, so you
- won't be able to compile it (also you don't have the include files :-( ).
- So, following it is the uuencoded object. It takes a few seconds to produce
- the image, so have patience.
-
- Chris Gray (ubc-vision,sask)!alberta!myrias!cg
-