smallmodel
f2a6278daa
Fix stage being written past the limit ( #716 )
2025-04-26 16:39:25 +02:00
smallmodel
ff3c27ab20
Fix assertion when the height is identical between vert0 and vert1
2025-02-08 20:28:46 +01:00
smallmodel
b1a02389f6
Define REF_DLL
2025-01-31 20:22:03 +01:00
smallmodel
9bb4789b32
Add terrain flags
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-25 16:40:41 +01:00
smallmodel
edf3560dd5
Don't load lightmaps on on Permedia 2
2025-01-19 15:21:11 +01:00
smallmodel
7452bf39fb
Always initialize numLightmaps when loading lightmaps
...
This fixes an issue where the number of lightmaps is kept from the previous map if the new map has no lightmaps
2025-01-19 15:19:27 +01:00
smallmodel
c2bac6d1ef
Prevent lightmapIndex from going below LIGHTMAP_2D
2025-01-19 15:16:35 +01:00
smallmodel
47cd8ccfc8
Force vertex light when using permedia 2
2025-01-19 15:07:50 +01:00
smallmodel
ab80045329
Properly check if the number of tris is sufficient for tessellation
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2025-01-15 21:38:49 +01:00
smallmodel
aa9847cf90
Use clean Radix sort code from ioquake3 to sort draw surfaces
2024-12-30 19:18:54 +01:00
smallmodel
18a3658935
Ignore fast path if the drawsurf is a sprite
2024-12-30 19:18:20 +01:00
smallmodel
716a574abe
Clean up terrain when shutting the Ref down
2024-12-30 18:51:10 +01:00
smallmodel
e0dee12578
Clamp LOD terrain values
2024-12-30 16:16:17 +01:00
smallmodel
04b1e88077
Clamp r_subdivisions value
2024-12-30 16:13:50 +01:00
smallmodel
3e9d2bf89a
Fix incompatible type being used for shadertext
Build branch / build-all (push) Failing after 17s
CodeQL / Analyze (push) Has been cancelled
2024-12-27 17:33:29 +01:00
smallmodel
fe16f999d8
Use ri.Printf to print instead of the Com_* functions
2024-12-19 22:40:38 +01:00
smallmodel
390c1d3f3d
Move tiki_mesh inclusion to renderercommon CMakeLists
2024-12-19 21:18:54 +01:00
smallmodel
49b5c29c11
Format renderergl1 source files
2024-12-19 21:13:39 +01:00
smallmodel
f86b495cc6
Set all common renderer imports and add openmohaa imports after ioquake3 imports for more clarity
2024-12-19 20:09:52 +01:00
smallmodel
38427fa3c5
Add support for compiling both opengl1 and opengl2 when they're built as shared libraries
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 26s
renderercommon is now used, which will appropriately use opengl1 when building static libraries, or compile both opengl1/opengl2 modules when building shared libraries
2024-12-18 23:24:04 +01:00
smallmodel
7d369dec74
Don't render static mesh if there is no static xyz
2024-12-18 19:44:48 +01:00
smallmodel
58bef33bc7
Don't check if the TIKI model exists when initializing a static model
...
In later version like 2.0 and above, the TIKI model can be registered before static models which would prevent static xyz to be initialized
2024-12-18 19:41:28 +01:00
smallmodel
39981643a8
Fix incorrect count when unloading sgl fonts
2024-12-06 00:45:12 +01:00
smallmodel
28bdd1b2b3
Made the renderer modular and loadable
...
This removes coupling between the renderer and UI/client functions. An option USE_RENDERER_DLOPEN was added to specify whether a renderer module should be compiled and loaded, instead of integrating the renderer into the executable directly. This opens the door for a new renderer
2024-12-06 00:15:19 +01:00
smallmodel
861338b0fc
Add support for smaller lightmaps
...
Large lightmap can be disabled for very low-end hardware. A BSP file with a smaller lightmap (_sml.bsp) will be used instead of the standard one if the map supports it
2024-12-02 20:36:45 +01:00
smallmodel
ba74943844
Fix picmip adjustment
2024-12-02 18:59:48 +01:00
smallmodel
21f631e733
Compile SDL input/client and SDL OpenGL independently
...
This decouple the renderer from the client part of SDL (input), and only uses SDL for OpenGL
2024-12-01 22:23:28 +01:00
smallmodel
b5a73384d3
Exclude the slash at the beginning of each file for FS_ListFilteredFiles
2024-12-01 20:33:51 +01:00
smallmodel
4f699f3b58
Add support to compile renderergl2 (currently unimplemented)
2024-12-01 19:21:07 +01:00
smallmodel
4ea598d76b
Reimplement SkipBracedSection
2024-12-01 17:53:51 +01:00
smallmodel
7e6b0a1c2b
Remove SMP and render thread code, as they're unused
2024-12-01 16:32:19 +01:00
smallmodel
71450fb36e
Move renderer to renderergl1
2024-12-01 15:30:23 +01:00
L
e2910930da
Readded ioq3 renderer
2023-05-08 19:53:53 +02:00