mirror of
https://github.com/DramaticShape/DramaticShapeVoxelMod.git
synced 2026-08-12 09:40:50 +02:00
Merge branch 'worktree-viridian-forest' into 20260726_various_fixes
# Conflicts: # data/voxel_heights.lua
This commit is contained in:
@@ -72,6 +72,38 @@
|
||||
|
||||
### Added
|
||||
|
||||
- **Viridian Forest grows real trees.** Nearly everything drawn in the
|
||||
forest is ROUND, and the detector was boxing all of it: the big trees
|
||||
came out as ragged mixed-height volumes (their sparse canopy-rim
|
||||
tiles read 0px against 32px bodies, leaving gap-toothed hedge walls),
|
||||
the stump rows merged into 16px crate walls wearing folded stump art,
|
||||
and the trail signs were broken piles -- their $32 tile is the
|
||||
water-fallback trap and recessed into a pond lip in the middle of the
|
||||
woods. All of it is now profile-pinned to the treatments the rest of
|
||||
the world already uses: every tile of the tree drawing (ball, rim
|
||||
wisps, feet) and the stumps take the per-cell voxel HULL the overworld
|
||||
border forest wears -- a tree spans 2x2 cells, so its four
|
||||
quarter-hulls tile into one big lumpy canopy, and each stump becomes a
|
||||
round bollard; the signs take the standing thin-slab `signpost`
|
||||
treatment every town sign gets; and the white sparkle filler inside
|
||||
the tree masses is flat ground instead of an invisible zero-height
|
||||
box. The whole map now resolves to hulls, signs, ledges and ground --
|
||||
a detector sweep finds no stray boxed column anywhere.
|
||||
|
||||
Two refinements over the first cut, both new hull-builder abilities.
|
||||
A tree's drawing spans 2x2 CELLS, and per-cell hulls unfolded it onto
|
||||
the ground -- the ball's top half sat one cell north of its bottom
|
||||
half at the same elevation, reading as a tree cut in half. The new
|
||||
`canopy` class pins the drawing's corner tile as a group anchor and
|
||||
the whole 2x2-cell drawing carves as ONE 32px hull, so every tree is
|
||||
a single tall round canopy (the carver is now parametric over its
|
||||
canvas size, and hull stamps carry their footprint radius). And the
|
||||
stumps' drawn tops are a CUT FACE -- an ellipse of growth rings seen
|
||||
at an angle, not body: the new `stump` class builds the hull from the
|
||||
bark rows alone and projects the ellipse across the round flat top,
|
||||
near arc to the south (`stump_cap` names the ellipse's drawn height),
|
||||
so the rings ride the round part in perspective.
|
||||
|
||||
- **Flowers stand up, and keep swaying.** The animated meadow tile
|
||||
($03, the one tile the overworld animates by frame rewrite) now
|
||||
renders as a billboard one voxel deep: the drawing's darkest tones
|
||||
|
||||
Reference in New Issue
Block a user