Commit graph

20 commits

Author SHA1 Message Date
8909dc6390
Wire side-view world init into Renderer reset 2026-03-11 14:35:43 -04:00
cd8a4ade82
Spawn ants on sand surface in side view mode
Add VIEW_MODE_SIDE define to common shader defines so shaders can
branch on view mode via preprocessor. In side view, ants init by
scanning downward from the top to find the first non-air cell, then
spawn one pixel above it facing downward. Top view keeps the original
center spawn with random angle.
2026-03-11 14:35:43 -04:00
bf34de9816
Wire sand physics pass into render pipeline 2026-03-11 14:18:29 -04:00
0f9c1b47f2
Replace bit-packed cell flags with material ID constants 2026-03-11 14:01:33 -04:00
f5b04f08c6
Wire material lookup textures into Renderer 2026-03-11 13:43:04 -04:00
14208e17fb
Move panels to the left 2026-03-10 10:53:52 -04:00
451e187032
Add colony stats readback for aggregate ant state 2026-03-09 11:15:57 -04:00
862cbfc3b7
Add ant presence texture for future spatial neighbor queries 2026-03-09 11:15:57 -04:00
bdf42a3176
Add cell metadata bit layout for terrain type and food quality
Reserve bits 3-5 for terrain type (0-7) and bits 6-13 for food quality
(0-255) in the world texture R channel. Adds shared TS constants and
matching GLSL defines. world.frag now preserves upper bits when writing
cell data. Infrastructure only — no behavior changes.
2026-03-09 11:15:57 -04:00
5899330f5c
Add repellent pheromone channel with per-channel blur parameters 2026-03-09 10:48:14 -04:00
cff99b7f08
Add second ant texture with MRT for extended ant state 2026-03-09 10:45:26 -04:00
03679622a3
Add tooling setup with biome, justfile, and check pipeline 2026-03-09 10:39:31 -04:00
2910f692a8
Organize as an updated bun project 2026-03-09 09:55:24 -04:00
vHawk
9ecb9f55aa Add pheromone settings to GUI 2022-07-11 05:43:33 +03:00
vHawk
c84a3b46b7 Update GUI 2022-07-11 03:05:09 +03:00
vHawk
9e80ac2c96 Resize FBs and recompile materials after config change 2022-06-30 00:35:59 +03:00
vHawk
a2b5d45a52 Add obstacles 2022-06-29 15:45:31 +03:00
vHawk
27c835b8e5 Interaction improvements and minor fixes 2022-06-29 00:35:45 +03:00
vHawk
fb772db717 Cleanup; make ants bounce off the world bounds 2022-06-26 19:23:23 +03:00
vHawk
f0c253c7fb Initial implementation 2022-06-26 12:34:16 +03:00