Commit Graph

104 Commits (5e2e8f6d302d81bb9b8ec3582793924ae7e2d285)

Author SHA1 Message Date
noah metz 5e2e8f6d30 Probably a lot idk, I was doing modal editing stuff 2024-12-03 21:05:10 -07:00
noah metz 4379e6cd9b Moved highlight/point/ray to a list instead of static hover/click/selected 2024-11-24 21:44:36 -07:00
noah metz f2af2b8055 Made color/height modification also modify neighbors. Need to change highlight pipeline to allow for CPU-defined highlights. 2024-11-24 19:40:49 -07:00
noah metz 4e0cae59ca Added function to convert hex world coordinate -> region hex coordinate + region hex index 2024-11-22 19:36:14 -07:00
noah metz ff46b21e11 Seperate engine and app logic, and moved editor to different build target/source file 2024-11-17 19:27:42 -07:00
noah metz 8a30340202 Added test for rgb->hsv->rgb, and fixed function 2024-11-17 16:13:37 -07:00
noah metz 01285dc197 Added text callback and added userdata to all callbacks. Fixed rgb_to_hsv. 2024-11-17 14:24:22 -07:00
noah metz 9b5b65a5a8 Updated ui callbacks 2024-11-13 12:19:06 -07:00
noah metz 97b776e6f0 Fleshed out UI callbacks some more by adding event bitmask to drawables 2024-11-12 23:07:01 -07:00
noah metz 8a5de3e16e Missed ui.h 2024-11-12 21:00:32 -07:00
noah metz 7f3ed168df Changed string update to use container ID instead of index, updated callbacks to prepare for UI element callbacks 2024-11-12 17:39:29 -07:00
noah metz 22b6c6a5ae Made ui boxes require 4 colors, added hsv-colored-rect ui object type 2024-11-12 11:56:57 -07:00
noah metz 3ab7ed46dc Updated hex info UI, added UI objects for color pick UI 2024-11-11 14:02:57 -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 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 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 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 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 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 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 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 4aa18d4aae Moved compute out of transfer if 2024-10-29 12:47:04 -06:00
noah metz 2c5c2dcb22 More synchronization attempts 2024-10-28 23:24:00 -06:00
noah metz 030d4f4278 Moved dispatch commands to a different command buffer, still observing issue with no validation errors 2024-10-28 22:36:43 -06:00
noah metz 7fea23c6ff Trying to figure out why the transfers aren't complete before the compute shader runs, even with memory barriers 2024-10-28 22:07:13 -06:00
noah metz 152635f14f Added add_transfer function to add a transfer to the current frame context(and resize if necessary) 2024-10-28 14:48:36 -06:00
noah metz b003c94efd Moved copy to per-frame operation, and added members to FrameContext to support per-frame copy. Added copy logic to draw. 2024-10-28 13:44:34 -06:00
noah metz 5788f1c10a semaphores... 2024-10-26 18:25:44 -06:00
noah metz dd8ec88d3a Moved ui string compute out of per-frame, removed compute semaphore since it will be part of transfer 2024-10-26 12:53:16 -06:00
noah metz 174a8808d7 Added FrameContext struct and used VK_RESULT more 2024-10-26 12:43:07 -06:00
noah metz cc06265ca6 Pass time to shaders 2024-10-24 20:49:59 -06:00
noah metz 06196c6b20 Getting font rendering better 2024-10-22 20:24:34 -06:00
noah metz bac3d87b9e More cleanup 2024-10-22 18:31:34 -06:00