55 Commits

Author SHA1 Message Date
MihailRis
84f39dde39 update some blocks lighting params 2025-01-26 19:35:13 +03:00
MihailRis
9d7816a286 fix grass lighting 2025-01-03 13:00:25 +03:00
MihailRis
ab5a62c3aa add new block.get_AXIS functions overloads & add rotation support to base:falling_block 2024-12-29 21:48:36 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis
954724c837 add 'culling' property & optimize generated chunk meshes & fix faces culling when 'light-passing' is false 2024-12-21 06:41:03 +03:00
MihailRis
5f71522653 extend that one optimization 2024-11-17 04:31:07 +03:00
MihailRis
bd4a5ef7fc optimize a bit 2024-11-17 03:19:55 +03:00
MihailRis
5240fe6226 rename vattr to VertexAttribute 2024-11-17 01:00:27 +03:00
MihailRis
65287b3273 move chunk vertex attributes info to commons.hpp 2024-11-17 00:54:10 +03:00
MihailRis
71788e4eb9 remove unnecessary shared_ptrs from ChunksRenderer and ChunkMesh 2024-11-16 16:04:00 +03:00
MihailRis
1ff89491e6 optimize (part 2) 2024-11-16 15:11:05 +03:00
MihailRis
b28bcf052b optimize (part 1) 2024-11-16 09:18:14 +03:00
MihailRis
4400366719 feat: actually working slow prototype 2024-11-16 07:41:36 +03:00
MihailRis
5b6256e0fa introduce ChunkMesh 2024-11-16 04:13:00 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
aadb04c41e minor optimize BlocksRenderer 2024-11-12 20:07:45 +03:00
MihailRis
c5ca9128e9 move getVoxels from ChunksStorage to Chunks 2024-11-11 22:30:42 +03:00
MihailRis
a333cadfca fix custom model lighting 2024-11-09 23:54:19 +03:00
MihailRis
53d75a975c implement custom models preview & BlocksRenderer cleanup 2024-11-05 20:39:56 +03:00
MihailRis
8a99c118f6 fix custom models render 2024-11-05 20:23:58 +03:00
MihailRis
5e0bcf8ec0 feat: new block custom models implementation (WIP) 2024-11-05 19:28:40 +03:00
MihailRis
9f70e14a13 update X sprites rendering randomization 2024-10-24 14:03:05 +03:00
MihailRis
3e1a82d137 make BlocksRenderer::createMesh return MeshData & make ChunksRenderer workers have standalone results 2024-10-24 10:54:07 +03:00
MihailRis
cbbc04edcf fix rare grass-only chunk meshes 2024-10-24 09:19:58 +03:00
MihailRis
e750d90ff4 add 'graphics.chunk-max-vertices', 'graphics.chunk-max-renderers' settings 2024-10-01 23:25:25 +03:00
MihailRis
dc10dc60c0 refactor BlocksRenderer a bit 2024-08-10 04:29:06 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
79ccde35b7 lighting/ 2024-08-06 00:05:41 +03:00
InfiniteCoder
9283aa605f frontend/ 2024-08-06 00:01:27 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
eb061bcaf4 graphics/ 2024-08-04 22:12:48 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
3fee1072b7 fix 'block' model lights with AO turned-off 2024-07-27 22:59:06 +03:00
MihailRis
71e20ff805 add block 'ambient-occlusion' property 2024-07-27 18:37:18 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
ea53009b96 add block 'shadeless' property 2024-06-15 19:55:55 +03:00
MihailRis
b3ae8484a2 fix: extended blocks raycast fix 2024-06-09 13:48:43 +03:00
MihailRis
c89d31ca20 refactor BlocksRenderer 2024-06-09 13:12:12 +03:00
MihailRis
c2aa4e3c26 fix: ancient aabb blocks rendering bug (lighting) 2024-06-08 20:22:52 +03:00
MihailRis
8aa6d5ee2d add extended blocks (block size property) 2024-06-08 16:58:05 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
b399679c31 other optimizations 2024-05-17 20:00:24 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00
MihailRis
8be0d157c2 trackbar track-width semantic update + gamma setting trackbar 2024-04-25 06:00:35 +03:00
MihailRis
4ac8ea1ab3 final rename 2024-04-24 19:01:28 +03:00