<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drift/source/game/buildings.odin, branch main</title>
<subtitle>maps for a solarpunk future | odoo hackathon</subtitle>
<id>https://git.nsrddyn.com/drift/atom/source/game/buildings.odin?h=main</id>
<link rel='self' href='https://git.nsrddyn.com/drift/atom/source/game/buildings.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>Light mode only: the night palette, the T key and the theme button are gone</title>
<updated>2026-11-21T20:20:09Z</updated>
<author>
<name>Lars</name>
<email>120098061+LarsCowe@users.noreply.github.com</email>
</author>
<published>2026-11-21T20:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/drift/commit/?id=9bf95c16cda397da5bbe2e89d09bf306865229b6'/>
<id>urn:sha1:9bf95c16cda397da5bbe2e89d09bf306865229b6</id>
<content type='text'>
Lars, 2026-11-21: "alleen light mode, doe de dark mode overal weg". The street
view is always a bright day, the loading screen uses the light palette.

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>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>
