Commit Graph
84 Commits
Author SHA1 Message Date
Piotrek e6329d568c World 0,0 is now at the center of the node texture 2021-05-14 14:25:12 +02:00
Piotrek 05b62d4b90 Changed chunk size from 32x32x32 to 16x16x16 2021-05-14 13:04:46 +02:00
Piotrek c1f3d0f398 Threaded loading chunks 2021-05-14 12:10:44 +02:00
Piotrek 120049d9f7 world shifting almost working 2021-05-13 16:18:01 +02:00
Piotrek 98736c39a0 Method for shifting world nodes texture 2021-05-13 11:59:22 +02:00
Piotrek 57782a88ab Dynamic loading, saving, generating chunks works 2021-05-13 09:13:43 +02:00
Piotrek ab9f4c83d0 WIP generating chunks at player position 2021-05-12 16:17:38 +02:00
Piotrek 4acf8ea816 preparing or auto loading chunks around player 2021-05-11 14:46:11 +02:00
Piotrek 6acdd51b05 Some toying with shader 2021-05-11 13:35:47 +02:00
Piotrek 0c7f07bc7b Made blocks texture have equal size, this created problems with memory usage 2021-05-11 13:22:09 +02:00
Piotrek 71e30abb62 Added fog 2021-05-11 10:57:54 +02:00
Piotrek e110e99053 larger block buffer 2021-05-10 22:07:07 +02:00
Piotrek a09f446ecd Pausing rendering, warnings cleanup, more statistics 2021-05-10 15:36:11 +02:00
Piotrek 4eaa0fab56 Compressing with lz4 2021-05-10 13:30:15 +02:00
Piotrek 3bd9fa942e Changed project name (placeholder), some renames 2021-05-10 10:43:14 +02:00
Piotrek 3a45d4e0de minor name changes 2021-05-09 18:48:06 +02:00
Piotrek 0e53810fbd writing node buffer in chunks to allow >48 size 2021-05-09 18:25:44 +02:00
Piotrek 466f98a42c updating node buffer max once per frame 2021-05-09 18:15:30 +02:00
Piotrek bf14d7c578 slightly faster copying blocks data 2021-05-09 18:09:03 +02:00
Piotrek 23d702ad6c Fixed loading world, added saving meta data 2021-05-09 16:27:04 +02:00
Piotrek d0b7a781b4 Loading world, not working yet 2021-05-08 22:55:25 +02:00
Piotrek 547f66d214 Saving world to file 2021-05-08 18:42:32 +02:00
Piotrek 989b75f54d Fonts, glyphs, displaying fps 2021-05-07 15:41:08 +02:00
Piotrek c089afbcbe samplers not required? 2021-05-06 15:53:45 +02:00
Piotrek c16ad4f4a0 bug fixes 2021-05-06 15:49:21 +02:00
Piotrek 45362afbf4 works 2021-05-06 15:38:51 +02:00
Piotrek 5b1ca38d75 ready for testing 2021-05-06 14:49:15 +02:00
Piotrek cb2379786c Combined node and block buffer into one struct: content. 2021-05-06 14:40:47 +02:00
Piotrek d34196a6bd World, WorldChunk, WorldBlock structure working 2021-05-06 12:43:03 +02:00
Piotrek c04a1aea11 World structs 2021-05-05 14:38:12 +02:00
Piotrek 89934ba97c cleanup 2021-05-04 20:26:15 +02:00
Piotrek 78d3a43deb small fixes 2021-04-29 16:40:53 +02:00
Piotrek ddf0c42784 working generating terrain 2021-04-28 23:17:16 +02:00
Piotrek 719b6f8f26 NOT WORKING ATM. something with block ids. 2021-04-28 21:21:29 +02:00
Piotrek 600fe689b7 Block struct 2021-04-28 20:08:21 +02:00
Piotrek ad62a29263 more project structure cleanup, removing spaghetti code, using traits 2021-04-26 21:39:20 +02:00
Piotrek 3a444d6e3a postprocess render pass 2021-04-26 19:07:02 +02:00
Piotrek 19aefbf287 removed vertex and index buffers, we are only rendering fullscreen 2021-04-26 16:55:57 +02:00
Piotrek ea1c0ba089 project structure cleaning 2021-04-26 16:39:08 +02:00
Piotrek dae867be9f perlin noise 2021-04-26 15:23:40 +02:00
Piotrek beea89699d testing 48x48x48 world and different scales 2021-04-26 14:07:56 +02:00
Piotrek 6206800df9 changed brick texture from being 32x32x32 1D to 32x32x32 2D (smaller indexes) 2021-04-26 14:01:13 +02:00
Piotrek 1bb45ec31b renamed brick to block, world gen stuff in separate file 2021-04-25 16:22:24 +02:00
Piotrek 9718ea68dd sampling in random hemisphere 2021-04-25 13:50:39 +02:00
Piotrek 8585f21c70 HitResult and Ray structs. random function. 2021-04-24 23:33:33 +02:00
Piotrek e390b6ed9b added wall 2021-04-24 22:24:10 +02:00
Piotrek d194337520 pseudo skybox 2021-04-24 21:34:47 +02:00
Piotrek 61ec3e5a21 shadows 2021-04-24 20:47:04 +02:00
Piotrek 00fd077642 grass? testing 2021-04-24 17:17:09 +02:00
Piotrek 97ece7a823 materials, brick and nodes structure, preparing for world generation 2021-04-24 17:06:44 +02:00