Skip to main content
QUICK REVIEW

[Paper Review] A step towards procedural terrain generation with GANs

Christopher Beckham, Christopher Pal|arXiv (Cornell University)|Jul 11, 2017
Computer Graphics and Visualization TechniquesComputer Science8 references14 citations
TL;DR

This paper proposes a two-stage GAN framework for procedural terrain generation using NASA's high-resolution Earth imagery, first generating realistic 512px heightmaps via a DCGAN and then synthesizing corresponding texture maps using a conditional pix2pix GAN. The key contribution is a functional pipeline that produces plausible terrain and texture pairs, though artifacts and misaligned textures (e.g., snow on deserts) indicate room for improvement in joint training and supervision.

ABSTRACT

Procedural terrain generation for video games has been traditionally been done with smartly designed but handcrafted algorithms that generate heightmaps. We propose a first step toward the learning and synthesis of these using recent advances in deep generative modelling with openly available satellite imagery from NASA.

Motivation & Objective

  • To explore the use of deep generative models for procedural terrain generation without handcrafted algorithms.
  • To leverage real-world satellite imagery from NASA's Visible Earth project as training data for terrain synthesis.
  • To develop a two-stage GAN pipeline that first generates heightmaps and then infers corresponding texture maps.
  • To evaluate the feasibility of using GANs to learn terrain generation from real Earth data, with potential applications in game development and 3D content creation.

Proposed method

  • A DCGAN is trained to generate 512px heightmaps from random noise vectors sampled from a prior distribution.
  • The pix2pix GAN is trained to generate texture maps conditioned on the generated heightmaps, using a conditional GAN setup with a discriminator that evaluates real heightmap-texture pairs versus fake ones.
  • The training objective for the DCGAN combines adversarial loss (binary cross-entropy or LSGAN) to distinguish real from generated heightmaps.
  • The pix2pix GAN uses a combination of adversarial loss and L1 reconstruction loss (λ=100) to ensure pixel-wise fidelity between generated and real textures.
  • A Gaussian blur (radius 0.4px) is applied post-generation to reduce small-scale artifacts in the heightmaps.
  • The framework uses random crops (512px) from large NASA Earth images (21600px × 10800px) to augment training data.

Experimental results

Research questions

  • RQ1Can GANs learn to generate realistic procedural terrain heightmaps from real Earth satellite imagery?
  • RQ2Can a conditional GAN effectively synthesize texture maps that semantically align with generated heightmaps?
  • RQ3How stable and faithful are the generated terrain and texture outputs compared to real Earth features?
  • RQ4What are the limitations of a two-stage GAN approach in terrain generation, particularly in terms of mode collapse and semantic consistency?

Key findings

  • The DCGAN successfully generated diverse 512px heightmaps that exhibit recognizable terrain features such as mountains, valleys, and coastlines.
  • Linear interpolation between two generated heightmaps suggests that the latent space may encode meaningful terrain semantics, though this is not explicitly validated.
  • The pix2pix GAN produced texture maps that generally match heightmap features, though it frequently assigned snow-like textures to high-elevation desert regions, indicating a lack of semantic understanding.
  • Small-scale artifacts appeared in some generated heightmaps, which were mitigated by applying a mild Gaussian blur post-generation.
  • The two-stage pipeline successfully produced plausible terrain and texture pairs, as demonstrated by 3D renderings in Unity 3D, though joint training of both GANs was not performed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.