<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drift/source/game/nature.odin, branch main</title>
<subtitle>maps for a solarpunk future | odoo hackathon</subtitle>
<id>https://git.nsrddyn.com/drift/atom/source/game/nature.odin?h=main</id>
<link rel='self' href='https://git.nsrddyn.com/drift/atom/source/game/nature.odin?h=main'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/'/>
<updated>2026-11-21T20:23:40Z</updated>
<entry>
<title>Street view: no more flickering buildings, meshes relative to their tile or city</title>
<updated>2026-11-21T20:23:40Z</updated>
<author>
<name>Lars</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T20:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=93aeeaca53784d0c8b925fbe3a05ce88a88c325e'/>
<id>urn:sha1:93aeeaca53784d0c8b925fbe3a05ce88a88c325e</id>
<content type='text'>
Points in km (~150) times 1000 in f32 made the depth shake with every camera
move, so walls a few metres apart z-fought. Meshes now keep their points
relative to an anchor and place_at takes anchor minus origin in f64: 1.7 % of
the pixels jumped between two frames of a 0.1 px pan, now 0.09 %.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>street view: third-person free flight between the buildings (V)</title>
<updated>2026-11-21T19:45:47Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T19:45:47Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=aa1ae42c2308d013fa5cc30b9ac55fac80c6d589'/>
<id>urn:sha1:aa1ae42c2308d013fa5cc30b9ac55fac80c6d589</id>
<content type='text'>
V on the navigation screen switches to a chase camera behind the car at
real scale. The car flies with momentum (ship_free_step): thrust, drag,
sideways grip, altitude hold, wind and gusts, it hovers over the ground and
roofs and slides along walls (collide.odin: real and generated buildings).
Buildings at real height, towns, trees, road ribbons, the car at real size
and a small HUD. Known bug: land use and roads do not show yet (todo.txt).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_013bYve49n48PLATRumUCT1Q
</content>
</entry>
<entry>
<title>Buildings everywhere: generated blocks in all built-up land, tiles for towns and trees</title>
<updated>2026-11-21T18:05:43Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T18:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=6b494e6482b016c9183e0c376d2ea819d0b0e5f2'/>
<id>urn:sha1:6b494e6482b016c9183e0c376d2ea819d0b0e5f2</id>
<content type='text'>
The real OSM buildings stay in the 15 city centres; every other City area of the land use map gets blocks on
a 30 m lot lattice turned per area (62 % of the lots, 5-14 m, now and then a taller one), outside the circles
of real buildings. Towns (1.5 km tiles, 6 km reach) and trees (3 km tiles, 12 km reach) are built per tile,
at most two tiles a frame nearest first, so flying fast never stalls a frame (tiles.odin).
</content>
</entry>
<entry>
<title>3D buildings around the cities, tree clumps in the parks and woods, clouds from the forecast</title>
<updated>2026-11-21T17:47:09Z</updated>
<author>
<name>Lars Cowe</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T17:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=1991f6509bb7f18a5ee6c28633d8b8c8f4d99be1'/>
<id>urn:sha1:1991f6509bb7f18a5ee6c28633d8b8c8f4d99be1</id>
<content type='text'>
Buildings: tools/extract_buildings.sh takes the OSM buildings within 1 km of the 15 cities, tools/bake_buildings
simplifies them (1.5 m), drops the ones under 60 m2 and writes assets/buildings.bin.gz (70582 buildings,
896 KB). One mesh per city with walls and a flat roof, height from the OSM height or levels tag, lower towards
the edge of the circle and 1.6x taller than real so they read in the chase view. They grow out of the ground
while zooming in.

Trees: low six-sided crowns placed by a hash in the park and wood triangles within 14 km of the camera,
70 per km2, rebuilt when the camera moved 4 km. Same shader as the buildings, color tree in both palettes.

Clouds: puff spots on a 1.6 km lattice, clumped by value noise and thinned to the forecast cloud cover,
650-1100 m up, drifting with the top layer wind. Soft sprites in screen space with a shadow on the ground,
fading in with the zoom and out when the camera gets close.
</content>
</entry>
</feed>
