Blog ini non-partisan dan terbuka kepada semua tanpa mengira fahaman politik. Emel atau MMS ucapan / rayuan / keluhan / pengumuman anda ke tamanperpaduan.terusblog@blogger.com untuk tulisan anda tersiar di blog ini serta merta. Gambar juga boleh disertakan dan tertakluk kepada syarat.
Posting tidak sepatutnya akan dinyahsiarkan.

Jumaat, 6 Mac 2020

Improving Island Shaping For Map Generation

One of my goals for 2019 is to improve my existing pages. This week I improved the island map section of my noise-based map generation page.

Island map generation: you figure it out

I had offered lots of options: additive vs multiplicative, Euclidean vs Manhattan distance, and three mysterious parameters named a, b, c. It was simple for me to offer lots of options. The problem with lots of options is that there's a large "possibility space" to explore. You may or may not find something you like.

Based on feedback from readers, I decided to rewrite this section. I stepped back and thought about why we're adding and multiplying. What is the goal? How does it work?

  1. Push the edges of the map down into water. I need to decrease elevations near the edges.
  2. Push the middle of the map up onto land. I need to increase elevations near the middle.

The main idea is to start with noise-based elevation and reshape it into what we want. The noise-based elevation fits into a box , and we reshape the box into something like . The contents of the box, whatever terrain had been generated, will get pushed up and down when the box is changed.

I rewrote the entire section of the page to explain this idea, and I ended up removing the interactive diagram.

Island map generation: explain the main ideas

Related: Why Minimal Guidance During Instruction Does Not Work says that experts can use the interactive exploration to navigate the possibility space because they have already built up the intuition to know where to go. Novices on the other hand learn better with guidance.

Tiada ulasan:

Catat Ulasan