Commit Graph
263 Commits
Author SHA1 Message Date
Richard Zink b3161bb3aa Render shadows with proper depth sorting 2026-10-06 17:45:59 +02:00
Richard Zink bc56236452 Shadow from edges towards center, width based on height diff 2026-10-06 17:42:42 +02:00
Richard Zink f5ce558470 Fix shadow edge orientation 2026-10-06 17:40:13 +02:00
Richard Zink 2cd78d78e8 Render shadows in sorted order after all tiles 2026-10-06 17:38:13 +02:00
Richard Zink ad61b069d8 Check correct neighbors for shadows 2026-10-06 17:37:08 +02:00
Richard Zink 98432b1b26 Remove voxel gap to test shadows 2026-10-06 17:35:59 +02:00
Richard Zink cd66460baa Shadow on every level when neighboring voxel is taller 2026-10-06 17:34:59 +02:00
Richard Zink 0b2da2a947 Darken side facing away from light 2026-10-06 17:33:37 +02:00
Richard Zink 9b5f0d7e37 Edge-based shadow casting with proper width 2026-10-06 17:33:07 +02:00
Richard Zink 14ef21d657 Shadow only on top of highest voxel 2026-10-06 17:31:03 +02:00
Richard Zink 36cfd8c67d Render shadow per tile in sorted order 2026-10-06 17:28:49 +02:00
Richard Zink 78b39eab9d Pixel-accurate shadow casting from upper-right 2026-10-06 17:27:45 +02:00
Richard Zink aace700e1e Subtler green, shadow casting from upper-right 2026-10-06 17:26:15 +02:00
Richard Zink 592993b993 Remove water, top green, sides brown 2026-10-06 17:23:59 +02:00
Richard Zink 9f622fc151 Shift baseline to +10 voxels 2026-10-06 17:22:01 +02:00
Richard Zink a96d0fb2bc Use Perlin noise for height texture 2026-10-06 17:20:54 +02:00
Richard Zink c89cca37bf Stack voxels per height level instead of smooth animation 2026-10-06 17:19:24 +02:00
Richard Zink 49c558bef9 Reduce voxel gap to 1px 2026-10-06 17:17:33 +02:00
Richard Zink eec49759fc Fix: render correct visible sides 2026-10-06 17:16:27 +02:00
Richard Zink 48cd7a43cf Add gap between voxels to prevent clipping 2026-10-06 17:14:43 +02:00
Richard Zink fb357e2934 Fix voxel occlusion: only draw sides visible to camera 2026-10-06 17:12:51 +02:00
Richard Zink 273fcc2390 Convert to voxel terrain: stable tiles, animated heights only 2026-10-06 17:04:15 +02:00
Richard Zink 7a3142ddd1 Test Y-only movement 2026-10-06 17:01:34 +02:00
Richard Zink 63698fbbdd Test X-only movement 2026-10-06 17:00:56 +02:00
Richard Zink c28aa250df Try 2,-1 2026-10-06 16:56:07 +02:00
Richard Zink ed265131fe Try 2,2 for lower left 2026-10-06 16:53:30 +02:00
Richard Zink 3e0bc51245 Try -2,1 for lower left 2026-10-06 16:53:00 +02:00
Richard Zink b5eee2b94c Try different speed direction 2026-10-06 16:52:18 +02:00
Richard Zink c0cf6946a6 Tiles move to lower left 2026-10-06 16:51:20 +02:00
Richard Zink 4505792e5f Tiles move to lower left 2026-10-06 16:50:42 +02:00
Richard Zink 415f188ab5 Reduce wave amplitude 2026-10-06 16:49:50 +02:00
Richard Zink 96dedf252d Complete rewrite: isometric 32x32 tiles, 30deg camera angle 2026-10-06 16:48:39 +02:00
Richard Zink e1a4ef764d Clip distant landscape triangles 2026-10-06 16:45:59 +02:00
Richard Zink 0fae15c814 Rotate scene 90deg counter-clockwise 2026-10-06 16:44:19 +02:00
Richard Zink 09f1e9a1cb Perspective view with horizon 2026-10-06 16:43:03 +02:00
Richard Zink aa349624e3 Plane flies straight to upper right, parallel to ground 2026-10-06 16:41:25 +02:00
Richard Zink 3f60f306be Calm plane, smoother terrain 2026-10-06 16:40:18 +02:00
Richard Zink 7ce1789c73 Complete rewrite - simpler working version 2026-10-06 16:39:21 +02:00
Richard Zink e19f5e57ec Remove cross product culling 2026-10-06 16:38:37 +02:00
Richard Zink dadb46b273 Generate triangles on init 2026-10-06 16:38:23 +02:00
Richard Zink 4a6da087b0 Remove debug logs, init landscape 2026-10-06 16:37:38 +02:00
Richard Zink 9253f4faf6 Re-add rotateY function 2026-10-06 16:36:22 +02:00
Richard Zink 5bbb16496e Fix undefined check in landscape draw 2026-10-06 16:26:07 +02:00
Richard Zink 4c20ea6600 Add detailed debug logs 2026-10-06 16:24:38 +02:00
Richard Zink 9501f57469 Fix undefined check 2026-10-06 16:23:50 +02:00
Richard Zink 1d8875cd06 Add animation error logging 2026-10-06 16:22:59 +02:00
Richard Zink 932beec883 Fix airplane rendering 2026-10-06 16:21:59 +02:00
Richard Zink ef80e2a775 Add error display 2026-10-06 16:21:06 +02:00
Richard Zink ae50725495 Simplify rendering 2026-10-06 16:15:58 +02:00
Richard Zink e93a8e5f32 Rework landscape and airplane: realistic flight look, detailed 3D airplane 2026-10-06 16:11:29 +02:00