Commit Graph

87 Commits (622b706618ee3d779f7987481cc474eacf46c543)

Author SHA1 Message Date
Brett 622b706618 rename fbo_t to frame_buffer_t 2024-05-03 20:03:31 -04:00
Brett 23f069e9b0 renamed classes in model.h to be more descriptive
- vbo is now vertex_array
- ebo is now element_array
etc
2024-05-03 20:01:45 -04:00
Brett e25dad380c 2d renderer code cleanup 2024-05-03 16:25:02 -04:00
Brett 3588dcbd49 camera speed scaling 2024-05-01 21:32:53 -04:00
Brett 26c1953bc0 fold 2024-05-01 20:56:47 -04:00
Brett a066d8f6e4 working raycasting 2024-05-01 12:46:26 -04:00
Brett 2afdfbf3a9 state 2024-05-01 03:27:30 -04:00
Brett 99715470ee 2d fps camera 2024-04-30 02:47:42 -04:00
Brett 756b6a636e fix issue with width/height not being updated 2024-04-30 01:57:37 -04:00
Brett 7d2028cc55 fix init order 2024-04-29 21:45:25 -04:00
Brett 3af6b9c4a0 change update and init function signatures 2024-04-29 21:42:50 -04:00
Brett 16a0fbc7dc change interface to have internal functions 2024-04-29 21:35:24 -04:00
Brett 0a93fbe055 we now get the width and height of a screen when in emscripten mode 2024-04-29 15:31:47 -04:00
Brett d2ba28fa1a support emscripten window resizing, F1 is now used over escape on web 2024-04-29 02:17:22 -04:00
Brett d18b48c9dd emscripten / webasm full support for 2d 2024-04-26 18:05:15 -04:00
Brett 7c7e97872d partial emscripten working 2024-04-26 01:11:46 -04:00
Brett 42fbae4ba1 frame buffer 2024-04-18 19:32:26 -04:00
Brett 725b6963af textures! 2024-04-18 18:00:03 -04:00
Brett 58ff67dc5c frame 2024-04-18 03:53:25 -04:00
Brett f2a81237a8 texture getters 2024-04-16 16:22:14 -04:00
Brett e9e3622963 framebuffers 2024-04-16 16:07:46 -04:00
Brett 321379fb12 frame buffer 2024-04-16 03:20:35 -04:00
Brett 722ae6fa6f context and frame buffer 2024-04-16 02:43:51 -04:00
Brett cd7c34cb16 multisampling 2024-04-16 02:28:02 -04:00
Brett 82f8bdb081 setters 2024-04-15 00:31:27 -04:00
Brett 15c2729faa z index 2024-04-14 17:37:17 -04:00
Brett 8943558109 z indexing on 2d objects 2024-04-14 17:34:56 -04:00
Brett 8b6686fa3f lack of lines 2024-04-12 17:37:35 -04:00
Brett d40b917c32 basic lines like a basic bitch 2024-04-12 00:10:29 -04:00
Brett 2749ce6a87 working on lines 2024-04-11 20:40:28 -04:00
Brett 20a8974f9b fix issue with shader compiler 2024-04-11 00:12:02 -04:00
Brett fab759dd4c Merge remote-tracking branch 'refs/remotes/origin/main' 2024-03-23 19:53:10 -04:00
Brett 2e77d0174e fix for newest blt 2024-03-23 19:52:57 -04:00
Brett 60c763dc9d basic example 2024-02-17 14:38:18 -05:00
Brett 129f6e3fb9 texture mipmap fix 2024-01-25 11:03:17 -05:00
Brett 709db71827 ignore 2024-01-18 14:14:13 -05:00
Brett f821c7c8d1 upload type 2024-01-17 16:03:07 -05:00
Brett 9ccf0badc2 okay obj files load now 2024-01-11 14:36:48 -05:00
Brett 3e8eea09b5 shared vbo 2024-01-11 11:49:48 -05:00
Brett 58eafb1636 mild renaming + const 2024-01-10 10:54:28 -05:00
Brett c1f42b2d3b handle quad .objs 2024-01-09 21:42:26 -05:00
Brett e5e0b4120c obj loader is complete 2024-01-09 14:31:21 -05:00
Brett 7836c7f022 fix double vbo free, didn't seem to cause issues though. also now freeing the element buffer 2024-01-09 13:56:51 -05:00
Brett 18cbbca2a0 reorder 2024-01-09 12:01:23 -05:00
Brett 1817c50b4b line parse 2024-01-09 00:50:12 -05:00
Brett 00649a055d allow for direct setting of the texture_2d 2024-01-08 21:34:14 -05:00
Brett 2f9bccc348 way of accessing and binding shared references. normal vbo now returns a shared_ptr which can be used in place of a vbo_t 2024-01-08 21:29:39 -05:00
Brett 5bff8b675c shared vbos 2024-01-08 21:12:31 -05:00
Brett 1019d4aefb need to do the idea thingy tired though 2024-01-03 23:26:02 -05:00
Brett fb29f1f513 working on loader 2024-01-02 17:10:29 -05:00