520 Commits

Author SHA1 Message Date
MihailRis
2327f0ddf8 fix msvc error C2466: cannot allocate an array of constant size 0 2024-11-16 09:31:33 +03:00
MihailRis
171cbb48d0 fix blocks selection with semi-transparent blocks 2024-11-16 09:30:02 +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
a8388a6243 add text3d.get_axis_x, .set_axis_x, .get_axis_y, .set_axis_y 2024-11-15 03:09:05 +03:00
MihailRis
525cf1ed4b add 'perspective' NotePreset property 2024-11-15 02:21:05 +03:00
MihailRis
2147f507a6 add 'projected' display mode support 2024-11-15 01:08:46 +03:00
MihailRis
ef644ca56d add 'xray_opacity' NotePreset property 2024-11-15 00:38:41 +03:00
MihailRis
4a74e56eda add update_settings 2024-11-14 21:18:36 +03:00
MihailRis
501f1b568d add get_text, set_text, get_pos, set_pos 2024-11-14 10:57:55 +03:00
MihailRis
d74b530a83 rename spawn to show & add gfx.text3d.hide(...) 2024-11-14 10:45:37 +03:00
MihailRis
eb5715eba9 add gfx.text3d.spawn(...) 2024-11-14 10:32:50 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
f0b6521c76 refactor 2024-11-14 08:09:10 +03:00
MihailRis
e9163f4228 refactor WorldRenderer 2024-11-14 06:13:53 +03:00
MihailRis
f9f4d2037f refactor WorldRenderer 2024-11-14 06:04:26 +03:00
MihailRis
42b26707cb move 3d texts rendering code to TextsRenderer 2024-11-14 05:43:01 +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
db565d23a7 add TextNote 2024-11-13 11:46:39 +03:00
MihailRis
7b4ddfd278 another fix 2024-11-13 06:59:14 +03:00
MihailRis
f50b87e674 fix 2024-11-13 05:17:02 +03:00
MihailRis
fc3d5c5484 optimize it even more 2024-11-13 04:46:21 +03:00
MihailRis
a21d87717e optimize WorldRenderer chunks sort 2024-11-13 04:29:37 +03:00
MihailRis
a7833a780d refactor WorldRenderer 2024-11-13 03:35:49 +03:00
MihailRis
d8fe2f1531 fix debug chunk borders render 2024-11-13 02:50:27 +03:00
MihailRis
c29db60fa4 Merge branch 'main' into text3d 2024-11-13 01:14:19 +03:00
MihailRis
d72f758dc5 add 'hint' property to TextBox 2024-11-12 23:20:43 +03:00
MihailRis
866f6e9951 add NotePreset 2024-11-12 22:53:45 +03:00
MihailRis
aadb04c41e minor optimize BlocksRenderer 2024-11-12 20:07:45 +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
c5ca9128e9 move getVoxels from ChunksStorage to Chunks 2024-11-11 22:30:42 +03:00
MihailRis
79693580e0 refactor Font 2024-11-11 20:30:10 +03:00
MihailRis
a333cadfca fix custom model lighting 2024-11-09 23:54:19 +03:00
MihailRis
983e516fb4 fix: emitter does not skip particles 2024-11-09 21:54:30 +03:00
MihailRis
82733d3801 fix old custom models render 2024-11-09 21:27:52 +03:00
MihailRis
22fa082fc6 fix fatal error on editing texbox not having any consumer 2024-11-06 18:43:22 +03:00
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