Commit graph

3867 commits

Author SHA1 Message Date
Denis Pauk
8694aebb20 vk:Reuse internal vertex format in lightmap shaders 2023-10-13 00:25:40 +03:00
Denis Pauk
7084e8d7cd Change code version to 'ReRelease 8.21.1' 2023-10-12 18:46:04 +03:00
Denis Pauk
19b29c648f gl3,gl4,vk: Share R_MakeSkyVec 2023-10-12 01:07:13 +03:00
Denis Pauk
03bfc581e2 gl1,gl3,gl4,vk: Parial share of warp code 2023-10-12 00:29:47 +03:00
Denis Pauk
d47d27ca00 Remove surface check
Soft render has issues with q64/outpost
2023-10-11 20:39:14 +03:00
Denis Pauk
0a250f5cd2 Add maps testing state 2023-10-11 20:22:56 +03:00
Denis Pauk
8fb649709e Sync code style in sky warp functions 2023-10-11 20:14:07 +03:00
Denis Pauk
3e7b568ec9 Sync allocation sizes between renders 2023-10-11 00:19:52 +03:00
Denis Pauk
bd19960ddf Fix Hunk size calculation introdused in 371fb99c
Used LUMP_LEAFS instead LUMP_TEXINFO.
2023-10-10 01:27:10 +03:00
Denis Pauk
d26c9275f9 Fix leafbrushes allocation from e276ac80 2023-10-10 01:00:54 +03:00
Denis Pauk
3e1a3c6328 Revert back all limits
Code has issues with calculation of hunk size and mguhub load.
2023-10-10 00:43:19 +03:00
Denis Pauk
371fb99c50 Use hunk allocation for CMod_LoadSurfaces 2023-10-10 00:00:27 +03:00
Denis Pauk
9c55d2fe0f Use hunk allocation for CMod_LoadQLeafs 2023-10-09 23:58:42 +03:00
Denis Pauk
e276ac80a7 Use hunk allocation for CMod_LoadLeafBrushes 2023-10-09 23:56:12 +03:00
Denis Pauk
c5ed6f6ad8 Reuse Mod_LoadPlanes in renders and collision 2023-10-09 23:53:45 +03:00
Denis Pauk
6f0bf02ece Use hunk allocation for CMod_LoadBrushes 2023-10-09 23:49:43 +03:00
Denis Pauk
222244839d Use hunk allocation for CMod_LoadBrushSides 2023-10-09 00:59:29 +03:00
Denis Pauk
31c09bca3c Left CMod_LoadSubmodels with static allocation
Subcmodel is still statically allocated as big
ammount of code expect to access it after model cleanup
2023-10-09 00:00:02 +03:00
Denis Pauk
d860ba7762 Reuse Mod_LoadVisibility between renders and collision code 2023-10-08 18:43:36 +03:00
Denis Pauk
56a205c606 Use hunk allocation for CMod_LoadNodes 2023-10-08 18:42:58 +03:00
Denis Pauk
a89ff8c0a0 Use hunk allocation for CMod_LoadAreas 2023-10-08 15:19:33 +03:00
Denis Pauk
703d281391 Use hunk allocation for CMod_LoadAreaPortals 2023-10-08 14:21:19 +03:00
Denis Pauk
783c703b28 Use hunk allocation for CMod_LoadVisibility 2023-10-08 14:06:06 +03:00
Denis Pauk
b56df03b76 Initial server model load code with hunk alloc 2023-10-08 00:47:53 +03:00
Denis Pauk
f3b2a9c4bf Share R_SubdivideSurface between renders 2023-10-07 23:00:21 +03:00
Denis Pauk
4c4d244788 Implement Com_Error in renders 2023-10-07 18:52:23 +03:00
Denis Pauk
edfd93802b sync usage r_dynamic and r_dynamic 2023-10-07 18:08:33 +03:00
Denis Pauk
b1b3ff1992 Share Mod_LoadQBSPEdges between renders 2023-10-07 16:37:42 +03:00
Denis Pauk
d2468c9b66 Share Mod_LoadQBSPMarksurfaces between renders 2023-10-07 16:13:48 +03:00
Denis Pauk
d6de468c49 Share Mod_LoadQBSPNodes between renders 2023-10-07 15:24:02 +03:00
Denis Pauk
1121407e39 Share Mod_LoadQBSPLeafs between renders 2023-10-07 15:11:42 +03:00
Denis Pauk
073f9896f4 Share Mod_LoadBSPXDecoupledLM between renders 2023-10-07 14:11:28 +03:00
Denis Pauk
9b235a1711 Share Mod_CalcSurfaceExtents between renders 2023-10-07 14:04:17 +03:00
Denis Pauk
3b7170c4bd Share SetSurfaceLighting between renders 2023-10-07 13:36:15 +03:00
Denis Pauk
38cbdaf00a Apply BSPX_LightGridValue in R_LightPoint 2023-10-07 03:08:26 +03:00
Denis Pauk
f81e339efc R_LightPoint: share between renders 2023-10-07 01:41:18 +03:00
Denis Pauk
262a1ee5ef vk: Prepare to share R_LightPoint 2023-10-07 01:21:19 +03:00
Denis Pauk
0311194305 soft: Prepare to share R_LightPoint 2023-10-07 00:22:30 +03:00
Denis Pauk
22095bb832 gl4: Prepare to share R_LightPoint 2023-10-06 23:47:10 +03:00
Denis Pauk
b0835a92e6 gl3: Prepare to share R_LightPoint 2023-10-06 23:36:38 +03:00
Denis Pauk
7fd23f07db gl1: Prepare to share R_LightPoint 2023-10-06 23:15:53 +03:00
Denis Pauk
8f5a40710b R_RecursiveLightPoint: Share part of light logic 2023-10-06 18:38:24 +03:00
Denis Pauk
a381c9dc5d gl1,gl3,gl4,vk: Reuse mpoly_t 2023-10-06 01:27:43 +03:00
Denis Pauk
821490bbbd Prepare for reuse mpoly with mvtx_t/glvk_vtx_t 2023-10-05 22:42:56 +03:00
Denis Pauk
a567201160 gl3,gl4.6: Reuse mvtx_t 2023-10-05 19:41:45 +03:00
Denis Pauk
21ceb16de4 Move BSPX lighting code to shared code 2023-10-05 19:24:15 +03:00
Denis Pauk
4a3dbb22d9 Add new commands description 2023-10-05 01:31:25 +03:00
Shpoike
a87c9a0cd8 Initial port of BSPX lights
0eeb410ce0
2023-10-05 01:30:54 +03:00
Denis Pauk
f2393a2e34 Fix load mguhub
Need dynamic allocation and additional checks for array sizes,
looks like overflow in mgu4m3, mgu5m2.
2023-10-04 00:30:26 +03:00
Denis Pauk
c3cd2d5aeb Show load timings 2023-10-03 23:06:54 +03:00