A goose, a grass rule and a wiki

How a creature row guides a reference picture and mesh, and how cover data guides dune grass.

2 min read

A lot of WHEKO is built from tables. A row says what a thing is, and tools turn the row into something you can see. Here are two worked examples.

One goose, start to finish

Left: the generated reference picture of a Canada goose. Right: the mesh made from it, shown in a preview render.

Left is a generated reference picture. Right is a preview render of the mesh made from it. Neither is a screenshot from the game.

It starts with the creature row. The row records a Canada goose that grazes, has 60 health and is assigned to ten subregions. A separate asset request supplies the prompt for a reference picture on a plain background. An image-to-3D model turns that picture into a mesh.

The intake ledger marks the goose body as passed. The preview mesh shows one goose, without the gosling pictured in the reference: one row, one animal.

The wiring ledger links the goose's named body and rig to its creature row, and records two clips so far, idle and walk.

Forty-nine of them

Six generated creature bodies: a silvereye, a pheasant, a mallard, a starling, an orca and a humpback whale

Preview renders, not in engine. The current asset wiring report lists 49 creature bodies and 356 other meshes in use. These previews show selected bodies; they do not show every generated result.

The wiki reads the same row

Our internal wiki is generated from the game's tables. The goose's page shows the same health, size and habitat as the creature row the game loads, so the numbers are written once, in the row.

Dune grass is a table row

Flax bushes and dune plants on the sand, with a jetty beyond

In engine, work in progress.

Ground cover is not painted by hand. Each kind of cover has a row in one registry, and mix rows say where it grows. Here is dune grass, in plain words:

Field Value
Grows on the sand layer
Slope up to 35 degrees
Height above the sea 3 to 12 m
Target 2 tufts per square metre
Scale 0.7 to 1.3

A tool weights candidate points by the sand layer and the site rules, so the grass thins out at the edge instead of stopping in a hard line. A tile and cover-kind seed makes the same inputs produce the same points, so rebuilding a tile gives the same grass.

The cover registry lists 13 kinds, placed through 50 mix rows.

The name WHEKO and our explanation of it have not been reviewed by te reo speakers yet. What's in a name?

Filed under Dev logs, Making of, World