Commit Graph

34 Commits (main)

Author SHA1 Message Date
Brett 22f8fedce2 working on fixing threading 2023-04-24 16:14:37 -04:00
Brett fddef65704 threadpool 2023-04-22 21:11:30 -04:00
Brett 8d73163cc4 add assign3 shader classes 2023-04-22 20:35:46 -04:00
Brett 28227d6105 abandon emscript as time is running low 2023-04-21 21:48:11 -04:00
Brett d55b245328 push 2023-03-16 22:37:03 -04:00
Brett a375f4289b partial fix 2023-03-09 00:50:23 -05:00
Brett c6b65951b7 non working frustum culling 2023-03-09 00:29:37 -05:00
Brett b41d93e9cb Block textures appear to be randomized when loading, at least with non stone blocks 2023-03-08 00:31:59 -05:00
Brett a3095c7559 improve mesh generation speed 2023-03-08 00:06:22 -05:00
Brett 3087683698 world gen 2023-03-06 23:39:25 -05:00
Brett 770e3bfce9 reduce memory consumption 2023-03-06 10:19:48 -05:00
Brett 4217f8f92f DATA COMPRESSION! 2023-03-06 00:33:43 -05:00
Brett fcd32181e8 working on fixing large memory consumption 2023-03-05 17:45:45 -05:00
Brett 9a2d9ee759 world generation 2023-03-05 15:21:35 -05:00
Brett 4417359ebf multiple textures 2023-03-05 00:01:54 -05:00
Brett e34d016abb fix texture loading resizing 2023-03-04 23:24:36 -05:00
Brett aaea5d4406 texture loading 2023-03-03 00:49:15 -05:00
Brett f10b119db1 Working on texture loading
TODO:
add mutex and combine loaded texture files
	-resizing is handled by the thread, hopefully this isn't an issue
load the loaded textures into the palette
2023-03-01 00:52:27 -05:00
Brett 8f57ab7567 Texture platte finished with gl textures but untested 2023-02-28 00:48:50 -05:00
Brett 785c487151 texture class
Texture holds information about a texture (data mostly)
palette will hold an array of textures.
TODO: gl_texture + palette management
2023-02-17 23:32:23 -05:00
Brett 93e0212441 Update 2023-02-17 10:55:21 -05:00
Brett e468330e1b Working on text 2023-02-15 00:49:27 -05:00
Brett c111d5c1b7 Use indexing to drastically reduce the number of vertices 2023-02-14 18:19:39 -05:00
Brett 9bcded0383 Meshing 2023-02-13 23:37:18 -05:00
Brett a62bbdc654 Reformat code
Code now uses block_pos and chunk_pos instead of raw integers
2023-02-13 16:30:01 -05:00
Brett 6c265b7c3c Chunk storage and switch to vertex arrays 2023-02-12 18:13:09 -05:00
Brett d3db6e90e0 Working on block storage. temp commit to save progress 2023-02-12 15:25:52 -05:00
Brett d1ff7493a9 Perspective and View matrices 2023-02-11 16:26:47 -05:00
Brett 2a2d377097 code cleanup 2023-02-08 23:23:42 -05:00
Brett 410d6a26d8 Make window! 2023-02-08 13:42:39 -05:00
Brett 1791bb4b9b glfw, glad. Working on basic window with emscriptem tests 2023-02-08 00:56:49 -05:00
Brett fadfdd3014 GLUT Window 2023-01-17 11:22:45 -05:00
Brett 3d5deecc87 Add window defines 2023-01-16 14:18:53 -05:00
Brett 7d4477b983 Update BLT 2023-01-16 14:12:53 -05:00