Commit Graph

148 Commits (e16d94c130259a83f529af81616acc1d78d69358)

Author SHA1 Message Date
noah metz e16d94c130 Added height modification inputs 2024-11-10 21:55:32 -07:00
noah metz 8321fb0510 Added region manipulation 2024-11-10 21:45:39 -07:00
noah metz 2a6b96a274 Compressed codes to 4 in one glsl uint, added region info ui 2024-11-10 16:36:01 -07:00
noah metz a4300a78b1 Started editor functionality by adding region adding key 2024-11-09 22:21:26 -07:00
noah metz 49bb931247 Added free cam 2024-11-09 22:10:49 -07:00
noah metz 5f00f06de5 Added closest vertex to ray-world intersection, and added pipeline to draw closest click/hover vertex 2024-11-09 21:51:23 -07:00
noah metz 02c73ce617 More hex cleanup 2024-11-07 20:01:31 -07:00
noah metz 40f388f7b2 Cleaning up hex functions 2024-11-06 18:13:32 -07:00
noah metz f984f245aa Double buffered GPUHexContext 2024-11-06 17:50:42 -07:00
noah metz 32963fce07 Fixed linux run 2024-11-06 16:37:48 -07:00
noah metz d2f1f5d5fd Consolidate overlapping transfers(no mechanism yet to consolidate transfers that dont overlap completely 2024-11-06 15:47:58 -07:00
noah metz 034ee66224 Added highlighted hex 2024-11-05 20:07:11 -07:00
noah metz ba4bd9bc85 Added highlight of clicked tile 2024-11-05 16:34:10 -07:00
noah metz c5d88f03d5 Increased max loaded regions, need to reduce memory by dynamically allocating/deallocating memory for them 2024-11-04 21:07:43 -07:00
noah metz edb587334a Allow for multiple maps to be loaded into memory and only draw one 2024-11-04 21:04:51 -07:00
noah metz 9eca26db4e Added support for multiple regions on the same q,r but different y, added map ID to region 2024-11-04 21:02:48 -07:00
noah metz 56f686273a Added hexagon highlight pipeline 2024-11-04 20:42:58 -07:00
noah metz 9abfd82cab Added click and hover ray and display with pipeline 2024-11-04 17:51:10 -07:00
noah metz 797b44d6a4 Added single font requirement. 2024-11-04 00:58:50 -07:00
noah metz b3a75df762 Added apple debug signing requirements 2024-11-04 00:46:36 -07:00
noah metz 1d85024a6a Cleanup 2024-11-04 00:44:21 -07:00
noah metz 75b834a0f7 Added click and cursor rays to client context 2024-11-04 00:39:15 -07:00
noah metz 6b999ebbde Added pipeline to visualize click ray, and added calculation of click ray 2024-11-04 00:24:42 -07:00
noah metz 6b0c1f11c1 fix small memory leak 2024-11-03 15:27:14 -07:00
noah metz 9d3e15398b Zero GPU pointers before upload, recreate projection matrix on framebuffer recreation 2024-11-03 14:52:54 -07:00
noah metz 7f6045096b Move large stack allocations to the heap 2024-11-03 14:39:57 -07:00
noah metz 530a034ed1 Added window resizing 2024-11-03 14:25:59 -07:00
noah metz 7538a57ed0 Sane hex region values 2024-11-02 23:25:21 -06:00
noah metz 0685c2ad3b Hex world coordinate calculation 2024-11-02 22:02:32 -06:00
noah metz bcbb21bbfe Draw all hex regions in one draw call 2024-11-02 12:07:11 -06:00
noah metz 74cccfe065 Rendering hexagon regions 2024-11-01 17:34:41 -06:00
noah metz 5b1275ea83 Created HexContext, and initial hex region shader 2024-11-01 15:46:27 -06:00
noah metz 07b0a46dfc Changed hex shader to be on the x/z plane instead of x/y, added camera orbit logic 2024-11-01 12:55:56 -06:00
noah metz 43c5ff71ad Started hex drawing 2024-10-30 21:24:03 -06:00
noah metz 62d17bee4a Added better failure logging, added create hex pipeline 2024-10-30 17:36:53 -06:00
noah metz 40d31430c2 Fixed on click logic to identify ui elements 2024-10-30 16:48:44 -06:00
noah metz 857655e926 Moved shader_src to shader 2024-10-30 16:40:20 -06:00
noah metz 664095927e Removed test_ui 2024-10-30 16:38:39 -06:00
noah metz f4af29cec9 Updated main test loop 2024-10-29 16:43:46 -06:00
noah metz 9ccbdedebf Fixed render issue, was a device address bug 2024-10-29 16:12:01 -06:00
noah metz 1f080606af More testing, might have a clue 2024-10-29 14:05:19 -06:00
noah metz 105f4524c8 Test 2024-10-29 13:50:21 -06:00
noah metz e39a454c5f Made 2 transfer buffers per-frame so that the in-use buffer is not modified 2024-10-29 13:48:06 -06:00
noah metz e2ffed91e2 Testing 2024-10-29 13:21:57 -06:00
noah metz edf2e4b3c9 Changed animation 2024-10-29 13:11:15 -06:00
noah metz 4aa18d4aae Moved compute out of transfer if 2024-10-29 12:47:04 -06:00
noah metz ae9e6ca687 Renaming 2024-10-29 00:34:21 -06:00
noah metz f09b09aff9 More draw cleanup 2024-10-29 00:31:22 -06:00
noah metz c2d46d328b Cleanup 2024-10-29 00:27:38 -06:00
noah metz 2c5c2dcb22 More synchronization attempts 2024-10-28 23:24:00 -06:00