Commit Graph

179 Commits (4379e6cd9b3e0c5982fe96475408266b28ee811d)
 

Author SHA1 Message Date
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 a9d702c5dc remove newline 2024-11-17 20:14:02 -07:00
noah metz 02a7f37d44 Fixed world q/r calculation 2024-11-17 20:07:28 -07:00
noah metz dc22aa586e Changed UI background opacity 2024-11-17 19:39:28 -07:00
noah metz 267da90e91 Fixed hsv conversion of black, and fixed default state for editor 2024-11-17 19:38:13 -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 60f518580a Added ability to modify single vertex color 2024-11-17 17:06:07 -07:00
noah metz d129f3432d Implemented color saving 2024-11-17 16:48:39 -07:00
noah metz d82269f640 Removed rounding error in int->float color conversions 2024-11-17 16:18:54 -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 89bd65f649 Display RGB hex instead of HSV 2024-11-12 23:56:30 -07:00
noah metz 12019ada57 More UI shenannigans 2024-11-12 23:36:21 -07:00
noah metz 409645621c Added current color rect to color pick ui 2024-11-12 23:10:51 -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 4aeea98d45 Added ui callbacks, want to play around with and flesh out more 2024-11-12 20:59:41 -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 8278692494 Modified color picked to prepare for HSV selection 2024-11-11 14:49:21 -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 b3cef0cf18 Moved editor context to ClientContext.editor 2024-11-10 22:24:28 -07:00
noah metz 549e623033 Fixed hex highlight pipeline 2024-11-10 22:19:56 -07:00
noah metz 6bafdd7dc2 Added hex info UI 2024-11-10 22:18:26 -07:00
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