cx384
a6d4cd7c15
Draw node animation for items ( #15930 )
2025-04-04 18:47:11 +02:00
sfan5
e5f276ecee
Apply some minor code cleanups
2025-01-19 18:39:32 +01:00
sfan5
cf074dd271
Cache grouped sparse buffers ( #15594 )
...
continuation of #15531
2025-01-14 23:40:57 +01:00
sfan5
636a734d78
Resolve some quirks with (wield) item meshes for nodes ( #15654 )
2025-01-13 09:39:06 +01:00
Desour
d044c27b5f
MeshMakeData: Explain members, and add grid size and minimap flag
2025-01-11 16:43:37 +01:00
Desour
c0ce918d77
Meshgen: Handle enable_water_reflections like smooth_lighting
2025-01-11 16:43:37 +01:00
SmallJoker
e8f6127779
Reduce irrlicht_extrabloated.h includes in header files
2025-01-04 12:39:34 +01:00
DS
df4e70b2c7
Add a setting to group transparency sorted triangles by buffer ( #15115 )
2024-11-28 14:22:53 +01:00
sfan5
794aea8e92
Drop fixed pipeline support code ( #15421 )
...
OpenGL 2.0 is now mandatory.
2024-11-13 14:24:01 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
Desour
9827f9df1b
Use irr_ptr for MapBlockMesh::m_mesh
2024-09-18 12:19:40 +02:00
sfan5
62131fe295
Put all pieces together and clean up leftover code
2024-09-02 21:50:13 +02:00
sfan5
47e4c33a50
Split CIndexBuffer from CMeshBuffer
2024-09-02 21:50:13 +02:00
sfan5
39970fed38
Consolidate transparent buffers lazily
2024-08-28 15:38:02 +02:00
cx384
aaf77025b6
Split up tile.cpp/h
2024-03-03 15:52:05 +01:00
sfan5
09d542dfe0
Drop enable_vbo setting
...
Consistently applying this setting requires some code work,
because Irrlicht does not provide a global toggle.
At the same time I don't see any reason for someone to disable this.
2024-02-29 17:20:49 +01:00
numzero
bf2098c07f
Decouple MeshMakeData from Client
2024-02-22 15:45:17 +00:00
Vitaliy
35929d27e3
Remove fast faces ( #13216 )
...
Co-authored-by: Lars <larsh@apache.org>
2023-04-08 20:17:15 +02:00
x2048
705195b43e
Scale culler steps proportionally to the mesh sizes ( #13250 )
2023-03-11 14:10:26 +01:00
DS
6e1c70e02b
Fix a -Wreorder warning
2023-02-22 11:06:48 +01:00
lhofhansl
d3a6ee00e6
Generalize mesh chunking, and make it configurable. ( #13179 )
...
* Generalize mesh chunking. Set 3x3x3 chunks.
* Make mesh chunk size configurable... Default to 1 (off).
* Extract all mesh grid maths into a dedicated class
---------
Co-authored-by: x2048 <codeforsmile@gmail.com>
2023-02-08 13:42:12 -08:00
x2048
69fc206109
8x block meshes ( #13133 )
...
Reduce the number of drawcalls by generating a mesh per 8 blocks (2x2x2). Only blocks with even coordinates (lowest bit set to 0) will get a mesh.
Note: This also removes the old 'loops' algorithm for building the draw list, because it produces visual artifacts and cannot be made compatible with the approach of having a mesh for every 8th block without hurting performance.
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
Co-authored-by: Lars <larsh@apache.org>
Co-authored-by: sfan5 <sfan5@live.de>
2023-01-31 17:30:59 +01:00
x2048
2715cc8bf6
Occlusion culling algorithm based on recursive descend ( #13104 )
...
Co-authored-by: DS <vorunbekannt75@web.de>
2023-01-06 22:31:06 +01:00
DS
c9ed059d91
Client map: do frustum culling via planes ( #12710 )
2022-09-18 15:28:53 +02:00
paradust7
2742fef458
Fixes needed to use irrArray backed by std::vector ( #12263 )
2022-05-22 00:11:49 +02:00
sfan5
a66e6d4dff
Consolidate some data structures in MapBlockMesh
2022-05-08 19:12:10 +02:00
x2048
b0b9732359
Add depth sorting for node faces ( #11696 )
...
Use BSP tree to order transparent triangles
https://en.wikipedia.org/wiki/Binary_space_partitioning
2022-04-02 10:42:27 +02:00
rubenwardy
4c76239818
Remove dead code ( #10845 )
2021-01-22 15:09:26 +00:00
hecks
6d7067fd37
Implement mapblock camera offset correctly ( #10702 )
...
Implement mapblock camera offset correctly - reduce client jitter
Co-authored-by: hecktest <>
2020-12-05 15:03:40 -08:00
Lars
ed22260822
Remove all bump mapping and parallax occlusion related code.
2020-10-17 13:09:16 -07:00
SmallJoker
f46509d5e2
Remove unused functions reported by cppcheck ( #10463 )
...
Run unused functions reported by cppcheck
This change removes a few (but not all) unused functions.
Some unused helper functions were not removed due to their complexity and potential of future use.
2020-10-05 09:07:33 +02:00
Quentin Bazin
5f1cd555cd
Move client-specific files to 'src/client' ( #7902 )
...
Update Android.mk
Remove 'src/client' from include_directories
2018-11-28 20:01:49 +01:00