PerthThe worklog
An open-world game, built in the open
Credits & data

Worklog › Art

First pass

Thirty-one species of tree, all opaque

All 31 species at one scale, at the level of detail used from 50 to 200 m, with a 1.8 m figure beside each. Top row from left: jarrah, marri, tuart, flooded gum, wandoo, peppermint, sheoak, swamp sheoak.
All 31 species at one scale, at the level of detail used from 50 to 200 m, with a 1.8 m figure beside each. Top row from left: jarrah, marri, tuart, flooded gum, wandoo, peppermint, sheoak, swamp sheoak.

Perth's trees are a large part of how it looks from any height, so the tree kit came early: 19 species native to the south-west of Western Australia (jarrah, marri, tuart, wandoo, banksias, paperbarks, sheoaks, grass tree, zamia, the orange-flowering Christmas tree) and 12 that were planted (jacaranda, Norfolk Island pine, London plane, Moreton Bay fig, date palm, Queensland box, lemon-scented gum, olive and others).

Each species starts as a full tree from the Midori tree generator and is reduced to a low-polygon form with clumped crowns.

Why opaque

Trees in games are usually cards with leaves cut out by alpha. Here every tree is solid, for a reason in the engine: a streamed instance must be opaque to mount in one step and be drawn through the visibility buffer. An alpha-tested tree would fall back to the slow path, one object at a time, and trees are the most numerous thing in a suburb after fence panels. So the leaves are geometry, and the style follows from that.

One material for all of them

Every tree is one surface on one shared material. The texture is a palette of ramps, 1024 x 512: one row for each base colour, running dark to light. A vertex's u picks the shade and its v the row, and all three vertices of a triangle stay in one row. That gives darker undersides and variation from clump to clump without a second material. Palm and zamia blades are two opposite-facing triangles 12 mm apart, so they need no double-sided material either.

LevelUsed atTriangles, a tree
0near182 to 650 (median 444)
150 to 200 m76 to 164 (median 118)
2far19 to 41

There are 402 assets: each species in three sizes with up to three seeds, so a wood is not clones. The jacaranda and the Christmas tree come in flower and in leaf. Real dimensions are recorded for each: a 15 m jarrah from the generator is 12 to 15 m across, wider than the stand-in it replaces.

A test street: jacarandas in flower, with a Norfolk Island pine behind.
A test street: jacarandas in flower, with a Norfolk Island pine behind.

A first pass; the conversion is still being tuned. Crowns read as clumps, not foliage, close up. Crowns wider than their height were narrowed in plan to fit (figs by 1.5 times).