76 Commits

Author SHA1 Message Date
MihailRis
d9277e1b31 mip-mapping related fixes 2024-11-25 15:39:34 +03:00
MihailRis
6a466cf1ec fix DrawContext 2024-11-19 05:57:02 +03:00
MihailRis
3ea213e8d3 fix console position 2024-11-17 15:53:25 +03:00
MihailRis
5240fe6226 rename vattr to VertexAttribute 2024-11-17 01:00:27 +03:00
MihailRis
99f1594645 fix Mesh 2024-11-16 15:08:25 +03:00
MihailRis
b28bcf052b optimize (part 1) 2024-11-16 09:18:14 +03:00
MihailRis
5b6ada6e5d add more NotePreset properties 2024-11-14 02:21:15 +03:00
MihailRis
0a8ea7e597 disable mip-mapping in fonts 2024-11-13 12:00:55 +03:00
MihailRis
7734d403ea cleanup 2024-11-12 06:01:53 +03:00
MihailRis
edbd851d11 update font rendering 2024-11-12 05:58:16 +03:00
MihailRis
b3ab037115 add 3D text render (WIP) 2024-11-12 03:14:59 +03:00
MihailRis
79693580e0 refactor Font 2024-11-11 20:30:10 +03:00
MihailRis
f38f84c779 move graphics/core/Model to graphics/commons/Model 2024-11-05 15:28:46 +03:00
MihailRis
5a431ed898 add custom-models in hand support 2024-11-04 18:02:42 +03:00
MihailRis
bbd13f1825 add MainBatch & refactor ModelBatch, Batch3D 2024-11-02 19:37:39 +03:00
MihailRis
9b5c693027 update 'overlay-texture' block property behaviour 2024-11-01 02:18:13 +03:00
MihailRis
4f377b2056 refactor textures access 2024-11-01 02:13:21 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
3e1a82d137 make BlocksRenderer::createMesh return MeshData & make ChunksRenderer workers have standalone results 2024-10-24 10:54:07 +03:00
MihailRis
cc37fa57f1 update Mesh from MeshData constructor 2024-10-24 10:22:04 +03:00
MihailRis
5c6b73ee2b add MeshData 2024-10-24 10:11:57 +03:00
MihailRis
75d66b644b add debug world generator visualization 2024-09-30 15:14:34 +03:00
MihailRis
25c9c9a30a fix stars render 2024-09-13 11:35:53 +03:00
@clasher113
3376ad6568 Batch3D::point() check buffer overflow 2024-09-10 14:35:47 +03:00
MihailRis
698d02ceba fix fatal error caused by some unicode characters 2024-08-12 02:02:23 +03:00
MihailRis
71360a6416 fix macos build 2024-08-10 05:55:19 +03:00
MihailRis
a7d6c96a5c remove extra functions 2024-08-10 05:48:05 +03:00
MihailRis
f2a987f412 replace remaining tabs in src/ to spaces 2024-08-10 02:04:15 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
ab28b4df70
fix: PVS-Studio V550
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
MihailRis
3590bd14cd update DrawContext 2024-07-21 16:06:40 +03:00
MihailRis
fab124a2e2 remove unnecessary 'new' operators 2024-07-01 06:00:33 +03:00
MihailRis
71c754b039 fix Image for non-existing textures in atlas 2024-06-30 22:25:31 +03:00
MihailRis
2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis
c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis
94fe5eeb5b update ModelBatch semantics 2024-06-23 01:57:28 +03:00
MihailRis
e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
MihailRis
6ba38ee167 add graphics/core/Model 2024-06-21 02:30:35 +03:00
MihailRis
6d6313cd10 add ModelBatch 2024-06-20 19:45:19 +03:00
@clasher113
22b3d84ee0 texture animation optimization 2024-06-13 17:34:36 +03:00