Commit Graph

24 Commits (f2af2b8055e1f79ec630117340e9f2832a81d912)

Author SHA1 Message Date
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 02a7f37d44 Fixed world q/r calculation 2024-11-17 20:07:28 -07:00
noah metz 89bd65f649 Display RGB hex instead of HSV 2024-11-12 23:56:30 -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 22b6c6a5ae Made ui boxes require 4 colors, added hsv-colored-rect ui object type 2024-11-12 11:56: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 32963fce07 Fixed linux run 2024-11-06 16:37:48 -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 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 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 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 857655e926 Moved shader_src to shader 2024-10-30 16:40:20 -06:00