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
8ef7d43603
fix hands behaviour when paused
2024-11-06 00:52:33 +03:00
MihailRis
f38f84c779
move graphics/core/Model to graphics/commons/Model
2024-11-05 15:28:46 +03:00
MihailRis
fb41b932fa
Revert "add experimental optimization"
...
This reverts commit 6dfbd5f401456b2b25e0e26bbca0164c9da17a62.
2024-11-05 02:10:10 +03:00
MihailRis
6dfbd5f401
add experimental optimization
2024-11-05 02:01:24 +03:00
MihailRis
3ecb7b447f
add particles.stop(...)
2024-11-04 14:55:35 +03:00
MihailRis
c8187c5f25
add particles.emit(...) (WIP)
2024-11-03 16:01:07 +03:00
MihailRis
7abb1a88c7
add particles lighting
2024-11-03 02:23:37 +03:00
MihailRis
b944f257f7
add particles collision detection
2024-11-03 01:59:41 +03:00
MihailRis
1974298c82
update particles garbage collection scheme
2024-11-02 22:15:26 +03:00
MihailRis
cee214754b
add particles stats to debug panel
2024-11-02 21:07:34 +03:00
MihailRis
217176f74f
add particles (WIP)
2024-11-02 20:40:40 +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
e217476e84
fix renderHands with third person cameras
2024-10-31 21:27:30 +03:00
MihailRis
b191f2ba9d
add fullscreen block overlay
2024-10-31 18:22:55 +03:00
MihailRis
9c3d4af907
feat: complete item 'model-name' support
2024-10-30 12:58:07 +03:00
MihailRis
ca69b55875
add 'u_lightDir' to main shader
2024-10-28 11:33:46 +03:00
MihailRis
a4cf1e4820
add inertia & update drop visuals
2024-10-27 17:47:19 +03:00
MihailRis
b93668ba94
feat: display a handheld item in first-person view (WIP)
2024-10-27 17:07:32 +03:00
MihailRis
d59fac61bb
fix: backlight setting not applying on change
2024-10-15 04:58:46 +03:00
MihailRis
2ecde94be5
Merge branch 'main' into heightmaps
2024-10-14 09:35:16 +03:00
MihailRis
45a1e1df82
fix: backlight not applied to entities
2024-10-14 09:34:41 +03:00
MihailRis
c3569b5dd4
add AreaMap2D
2024-09-09 18:02:08 +03:00
MihailRis
3d3da1cdcd
refactor World
2024-08-11 16:30:58 +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
9283aa605f
frontend/
2024-08-06 00:01:27 +03:00
InfiniteCoder
9f9b9f2d64
world/
2024-08-05 23:49:11 +03:00
InfiniteCoder
7f75c454c8
logic/
2024-08-05 23:23:28 +03:00
InfiniteCoder
5d791b3cec
Merge remote-tracking branch 'origin/main'
2024-08-05 21:24:27 +03:00
MihailRis
bbfbb28349
set default fog curve to 1.0
2024-08-05 15:21:02 +03:00
MihailRis
01dec83e6c
fix: underwater entities visibility
2024-08-04 23:56:38 +03:00
InfiniteCoder
c7755040bd
voxels/
2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +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
21ff65d781
assets/
2024-08-04 11:08:07 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
245b39be62
refactor: PVS-Studio warnings fixes
2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
3621e7ce1b
fix: PVS-Studio V522 mark false
...
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 23:00:10 +03:00
Vyacheslav Ivanov
26ff0f133a
fix: optimization: PVS-Studio warning V821
...
Creating variables in a more localized scope can enhance performance and make the code easier to understand.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:04 +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
78e274dec4
fix frustum culling for entities
2024-08-03 17:41:03 +03:00
Vyacheslav Ivanov
e399e95930
fix: render: Fix WorldRenderer::renderBlockSelection
...
Block selection clears before new selection be drawn
Added a call to LineBatch::flush() to ensure that all buffered data is correctly uploaded to the GPU and rendered. The missing flush() was causing rendering artifacts, such as flickering of block outlines, which has now been resolved by ensuring that all accumulated data is processed and rendered properly.
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 15:13:22 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings"
2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
3a78746185
fix: render: Fix WorldRenderer::renderBlockSelection
...
Block selection clears before new selection be drawn
Added a call to LineBatch::flush() to ensure that all buffered data is correctly uploaded to the GPU and rendered. The missing flush() was causing rendering artifacts, such as flickering of block outlines, which has now been resolved by ensuring that all accumulated data is processed and rendered properly.
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 07:46:13 +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