# Plant model attribution

The trees, bushes, willow scrub and reeds of the country beyond the ridge are
authored Sketchfab models licensed under **Creative Commons Attribution 4.0
International (CC BY 4.0)**. Each downloaded GLB's embedded `asset.extras`
names the author, the licence and the source page; each file made from them
keeps its sources' in its scene's extras.

| File | Plant | Model | Author | Source |
| --- | --- | --- | --- | --- |
| `poplar.glb` (v0) | Lombardy poplar, grown | POPLAR TREE - HIGHT TEXTURE LOW-POLY MODEL | BlackMonolith ([evseevdaniil0011](https://sketchfab.com/evseevdaniil0011)) | [Sketchfab](https://sketchfab.com/3d-models/poplar-tree-hight-texture-low-poly-model-ec7c1d301bbc43dca5fe5f0650148d13) |
| `poplar.glb` (v1) | Lombardy poplar, young | POPLAR TREE 1 - HIGHT TEXTURE LOW-POLY MODEL | BlackMonolith ([evseevdaniil0011](https://sketchfab.com/evseevdaniil0011)) | [Sketchfab](https://sketchfab.com/3d-models/poplar-tree-1-hight-texture-low-poly-model-efe675c4ebc843bfa7a5cf1f1ae2f0eb) |
| `whitebirch.glb` (v0–v2) | Asian white birch | Birch trees | [Igor_K.](https://sketchfab.com/Igor_K.) | [Sketchfab](https://sketchfab.com/3d-models/birch-trees-de6263e5400b4a52a795decf84f06575) |
| `willow.glb` | Weeping willow | Willow | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/willow-422de2372f3d46dfb314a0cd5da512fe) |
| `larch.glb` (v0) | Dahurian larch | Spruce | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/spruce-a50a5df3164246a5af97992cec33a143) |
| `larch.glb` (v1) | Dahurian larch | Fir Trees FREE Low Poly | LordSamueliSolo ([LadyLionStudios](https://sketchfab.com/LadyLionStudios)) | [Sketchfab](https://sketchfab.com/3d-models/fir-trees-free-low-poly-c3b1710489bc401c84aa79784766c72d) |
| `scotspine.glb` (v0) | Mongolian Scots pine | Pine Tree | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/pine-tree-d45218a3fab349e5b1de040f29e7b6f9) |
| `scotspine.glb` (v1), `redpine.glb` | Mongolian Scots pine; Korean red pine | Scots Pine Trees Set | Maksim Batyrev ([c3posw01](https://sketchfab.com/c3posw01)) | [Sketchfab](https://sketchfab.com/3d-models/scots-pine-trees-set-422b961ff3d14e7baa7e9077572b2247) |
| `elm.glb` (v0) | Siberian elm | Elm tree | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/elm-tree-f36443d3e59946bfa38b3f5cb90ea5fa) |
| `elm.glb` (v1), `alder.glb` (v1) | Siberian elm; alder | Elm Trees FREE Low Poly | LordSamueliSolo ([LadyLionStudios](https://sketchfab.com/LadyLionStudios)) | [Sketchfab](https://sketchfab.com/3d-models/elm-trees-free-low-poly-352c29c013434d6585e74332699310e2) |
| `alder.glb` (v0), `hazel.glb` | Black alder; hazel | Beech tree | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/beech-tree-0983d8933531491f9be71c669e8a907b) |
| `oak.glb` (v0) | Mongolian oak | Oak tree | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/oak-tree-6468dd4d3eb240ef902b9057d9913606) |
| `oak.glb` (v1) | Mongolian oak | oak trees | DJMaesen ([bumstrum](https://sketchfab.com/bumstrum)) | [Sketchfab](https://sketchfab.com/3d-models/oak-trees-d841c3bcc5324daebee50f45619e05fc) |
| `aspen.glb` (v0, v1) | Aspen | Oak Trees FREE Low Poly | LordSamueliSolo ([LadyLionStudios](https://sketchfab.com/LadyLionStudios)) | [Sketchfab](https://sketchfab.com/3d-models/oak-trees-free-low-poly-7a689370f9ec46cea2cbc94641c225e6) |
| `treewillow.glb`, `salix.glb` | Tree willow; willow scrub | PWL - Coat Willow | [ghostpwl](https://sketchfab.com/ghostpwl) | [Sketchfab](https://sketchfab.com/3d-models/pwl-coat-willow-0a877ac2df3247b2bbfb70f259e1215e) |
| `lespedeza.glb` | Lespedeza | Birch trees | [Igor_K.](https://sketchfab.com/Igor_K.) | [Sketchfab](https://sketchfab.com/3d-models/birch-trees-de6263e5400b4a52a795decf84f06575) |
| `spiraea.glb` | Willow-leaved spiraea | Willow | [evolveduk](https://sketchfab.com/evolveduk) | [Sketchfab](https://sketchfab.com/3d-models/willow-422de2372f3d46dfb314a0cd5da512fe) |
| `dogrose.glb` | Dog rose | Rose bush | [RosticOstafi](https://sketchfab.com/RosticOstafi) | [Sketchfab](https://sketchfab.com/3d-models/rose-bush-3f97dc47b0fd4b1382f169d2f1d3b309) |
| `reed.glb` | Reed (Phragmites) clumps | Reed Plants Pack | Nicholas-3D ([Nicholas01](https://sketchfab.com/Nicholas01)) | [Sketchfab](https://sketchfab.com/3d-models/reed-plants-pack-bc77ea5218e44f2dbc23b2a4aef0c898) |

- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- Full license text: [Creative Commons legal code](https://creativecommons.org/licenses/by/4.0/legalcode)

## Project adaptation

[`scripts/build-plant-models.ts`](../../../scripts/build-plant-models.ts)
fetches the original downloads from the public
[Objaverse distribution](https://huggingface.co/datasets/allenai/objaverse) and
changes them for the game's instanced vegetation:

- Each tree is stood at the origin on its root and scaled to a height in
  metres (the poplars 19 and 15 m, the birches 16, 17 and 13 m, the willow
  11 m, the larches 21 and 19 m, the Scots pines 20 and 18 m, the red pine
  15 m, the elms 14 and 12 m, the alders 13 and 10 m, the oaks 12 and 13 m,
  the aspens 15 and 13 m, the tree willow 9 m); its trunk's foot is drawn
  0.4 m on under the ground, and its trunk is measured for the axe. Packs of
  several trees are split into single trees and one or more taken. The
  packs' rocks, ground and sky dome are left out, as are the elm pack's
  untextured twigs and its second, minor leaf material.
- A far level of detail is made for every tree and clump: its bark cut down
  to its largest pieces and simplified, its leaf cards thinned (each kept
  card grown by at most a tenth, so the leaves keep their size), as many kept
  as cover what the full tree covers at the hand-over. The heaviest sources
  (the oak's bark, the coat willow grown whole) are thinned at full detail
  too. The weeping willow's and the alders' far crowns are matched to a
  little less of their near cover (seven and eight tenths), so their far
  levels stay light. The Scots pine set's trees, of a few large sprays,
  keep 85% of them far off.
- Several trees stand in for kinds no licensed model was found for: the
  spruce for a larch, its sprays lightened toward a larch's soft yellow-green
  (as the firs' are) and its bark warmed; the beech for an alder, its leaves
  darkened and its bark greyed; the slim oaks for aspens, their bark greyed
  and their leaves toned down; the elm pack's second tree for an alder as
  before. The white birches' far bark is darkened. The larch's spruce bark
  is toned darker and redder, its cream plates subdued.
- The second tree willow is the same coat willow mirrored, its leaf cards
  thinned otherwise (no second licensed upright willow was found).
- The Scots pine set's second and seventh trees are the second Scots pine
  and the red pine. Their bark is the evolveduk pine's scanned bark mapped
  afresh in true metres (420 texels a metre): grey-brown, thick plates low
  and thin orange flakes from 42% (the red pine 28%) of the height up, the
  change patchy; their photographed needle sprays are lightened toward the
  plain's pines and drawn fuller (each spray again under itself, turned a
  little either way).
- The white birches' leaf sprays are drawn fuller the same way, each leaf
  grown by a texel, the leaves taken from the source's emerald to a
  yellow-green and the near-white twigs to grey-brown.
- The poplars' bark is mapped afresh in true metres (760 texels a metre) from
  the grown poplar's bark texture: the trunk round its measured axis, the
  rest flat along each face.
- The bushes (hazel, lespedeza, spiraea) are built of a tree's leafy twigs
  (the beech's, the birches' and the willow's leaf cards, recoloured; a few of
  the lespedeza's tinted toward its flowers) set about a dome over a few
  stems of its bark. The rose bush is cut down to its leaves and stalks, its
  flowers left out. The coat willow is cut down to a shrub, or grown whole as
  a tree; its leaf texture lost its opacity in the source's export: the
  opacity is made from how far each texel stands above the black
  background, and the leaves are brightened.
- The reed pack's five reeds are gathered into clumps of ten and five stems,
  turned, tilted and sized at random, with their stems' and leaves' textures
  brightened and laid side by side in one texture.
- Leaf colour is carried out under transparent texels (so mipmaps show no
  dark fringe), and textures are re-encoded as WebP at 512 px or less (a
  texture laid out of two side by side is 512 × 256 for the new kinds, the
  reeds' and the scrub's 1024 × 512 as before; the pines' two-toned bark
  256 × 2048, four tiles of 256 × 512).

- (r7) Every bark and leaf picture is given a normal map read from its own
  lightness (cracks and veins dark), half its size. The white birches' bark
  is laid for, and in game replaced by, the valley birch's photographed bark
  (TextureCan, CC0), and the Scots and red pines' by the valley pine's (Poly
  Haven, CC0), so their files keep only a small picture of their own; the
  larch's fir sprays are darkened, the willow's leaves grown by a texel, and
  the tree willows' bark greyed from the source's teal.

In game the trees sway in the vegetation's wind, are shaded darker inside
their crowns and each tinted a little apart; their leaves' mipmaps keep the
crown's cover far off; the reeds, scrub and bushes part round the player.
