188 Commits

Author SHA1 Message Date
MihailRis
8ef7d43603 fix hands behaviour when paused 2024-11-06 00:52:33 +03:00
MihailRis
423ac2c44e add 'model-name' block property 2024-11-05 22:23:53 +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
c95c97430a extract ModelsGenerator::fromCustom 2024-11-05 15:50:23 +03:00
MihailRis
f38f84c779 move graphics/core/Model to graphics/commons/Model 2024-11-05 15:28:46 +03:00
MihailRis
edb4ce02ca add particles.get_origin(...), particles.set_origin(...) 2024-11-05 04:08:55 +03:00
MihailRis
a4f7dbf786 feat: make emitter spawn first particle just on first update 2024-11-05 03:49:22 +03:00
MihailRis
77ae35e364 feat: make Decorator listen to block interactions 2024-11-05 03:46:41 +03:00
MihailRis
f5bc6fc136 remove extra include 2024-11-05 03:23:13 +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
6f9bad0557 fix block models generation 2024-11-05 01:51:37 +03:00
MihailRis
0eeb6b6eb2 add block particles property 2024-11-04 22:48:39 +03:00
MihailRis
5a431ed898 add custom-models in hand support 2024-11-04 18:02:42 +03:00
MihailRis
22cb3acd11 optimize Skybox 2024-11-04 15:25:55 +03:00
MihailRis
3ecb7b447f add particles.stop(...) 2024-11-04 14:55:35 +03:00
MihailRis
0cd5136fdb feat: emitters random access & add ParticlesRenderer.gc() 2024-11-04 14:41:52 +03:00
MihailRis
b9b122dc83 add 'frames' particles setting 2024-11-03 19:18:26 +03:00
MihailRis
39893ee940 add 'spawn_spread' and 'spawn_shape' 2024-11-03 17:14:30 +03:00
MihailRis
86b83a5377 add 'random_sub_uv' particle setting 2024-11-03 16:49:31 +03:00
MihailRis
c8187c5f25 add particles.emit(...) (WIP) 2024-11-03 16:01:07 +03:00
MihailRis
9728c674fc add ParticlesPreset 2024-11-03 14:25:29 +03:00
MihailRis
83ddbda90b implement entity-bound emitters 2024-11-03 13:05:42 +03:00
MihailRis
6d63c71221 add Emitter maxDistance 2024-11-03 12:45:46 +03:00
MihailRis
082a87db4e update particles randomizer 2024-11-03 02:26:11 +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
a0f885e26a add missing include 2024-11-02 19:41:35 +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
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
dfdb8e80a4 add u_dayTime to skybox shader 2024-10-28 13:45:08 +03:00
MihailRis
ca69b55875 add 'u_lightDir' to main shader 2024-10-28 11:33:46 +03:00
MihailRis
860ae807b5 normalize aabb item model sizes 2024-10-27 18:08:27 +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
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
9f70e14a13 update X sprites rendering randomization 2024-10-24 14:03:05 +03:00
MihailRis
054b3926cd remove extra shared_ptr use from util::ThreadPool 2024-10-24 11:49:06 +03:00
MihailRis
7f0e12bb4e rename a variable 2024-10-24 11:26:14 +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