Forum archive
genland
- Hi Tom,
I was wondering if your genland program has any arguments to tell it to generate random terrain sets? Or if you have a version that can do this? Currently It seems to produce the same terrain every time I run it which is a shame as it would be nice to build a library of these beautiful terrains.
Anyway, here's the terrain your program created running in my terrain engine.
http://armourdave.com/images/project_36.jpg
Cheers :)
p.s This is just for academic purposes so hopefully I haven't breached any copyright laws! - Genland generates the same terrain every time. There are no hidden command line options to change that. Here is the command line help:
C:\groudraw>genland
Heightmap generator by Tom Dobrowoski (http://ged.ax.pl/~tomkh)
Output formats by Ken Silverman (http://advsys.net/ken)
genland [/format] ...
/dta: generate C1.DTA and D1.DTA (Comanche compatible landscape)
/png: generate TOMLAND.PNG (32-bit PNG file with height stored in alpha)
/vxl: generate TOMLAND.VXL (Voxlap compatible landscape)
You have not breached any copyright laws. The data is free for distribution.
Yes, randomizing the terrain is possible. Generating 2048^2 or 4096^2 landscapes is quite possible too. The purpose behind genland, though, was simply to create a nice-looking terrain that I could distribute with my "groudraw" demos. - Ken,
Thanks for the reply.Yes, randomizing the terrain is possible. Generating 2048^2 or 4096^2 landscapes is quite possible too.
How can this be achieved? Is the source code for genland available?
Cheers - http://ged.ax.pl/~tomkh/vox1_en.htm#genland
Enjoy :)