NepDisk
38495d4449
Fix some clang warnings
2025-06-14 16:46:49 -04:00
Alug
e63f68e732
fix portal clipping being completely completely broken on kart maps
...
truly amazing
2025-06-08 22:01:41 +02:00
NepDisk
ecfc29ac8a
Revert Test rewrite for R_FFloorCanClip
...
This reverts commit 86e1a65502 .
2025-05-01 12:13:12 -04:00
NepDisk
86e1a65502
Test rewrite for R_FFloorCanClip
...
Wanna see if this fixes software for windows users.
2025-05-01 11:09:55 -04:00
NepDisk
ed7b667aa7
Update File headers to use BLANKART
2025-04-19 13:33:28 -04:00
NepDisk
fb5d81a26c
Fix Copy Paste in wallrange code
2025-04-02 16:28:25 -04:00
NepDisk
0e79925607
[PATCH] Convert kart renderer related changes to use mapnamespace system instead of UDMF
...
Thanks Alug!
2025-04-02 16:04:54 -04:00
GenericHeroGuy
197be8cb00
Fix FOF sides clipping in Kart maps
2025-03-17 22:14:07 +01:00
Lactozilla
5681f5b803
Fix a possible crash in R_RenderMaskedSegRange
...
R_AllocTextureColumnTables wasn't checking if the tables were never allocated, making the renderer later attempt to render midtextures for drawsegs that don't contain actual midtextures.
2025-02-11 16:48:45 -05:00
NepDisk
8f040ed151
Reapply 'Implement per-texture offsets in UDMF'
...
This reverts commit c713de1225 .
2025-02-11 16:11:03 -05:00
NepDisk
c713de1225
Revert "Implement per-texture offsets in UDMF"
...
This reverts commit 6808564763 .
2025-02-11 15:52:37 -05:00
NepDisk
77dbfcd3bb
Fix Mid texutres not rendering
2025-02-11 11:26:47 -05:00
NepDisk
b9196f921d
Use separate table for maskedtexturecol
2025-02-10 17:54:40 -05:00
MascaraSnake
6808564763
Implement per-texture offsets in UDMF
2025-02-10 01:23:32 -05:00
Alug
6c80e5c80f
Fix R_DrawWallColumn not rendering some textures on binary maps
2025-01-13 08:02:27 +01:00
Alug
f8fd814799
fix a few other cases i missed in skywall handling
2024-12-31 14:30:15 +01:00
Alug
8c7c0da986
add back hAx for software binary skywall and addline code
2024-12-31 02:24:30 +01:00
NepDisk
c9fd66be7f
Fix startcolor
2024-12-30 13:22:48 -05:00
NepDisk
57c4cc6df1
Use some rendering code from durrr
2024-12-30 13:10:51 -05:00
Eidolon
b39bc68b05
Merge branch 'fix-texture-scale-overflow-freeze' into 'master'
...
Prevent overflow when scaling textures
Closes #844
See merge request KartKrew/Kart!1879
2024-12-30 09:17:49 -05:00
NepDisk
f52d841220
Revert "TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP"
...
This reverts commit d062173bfc .
2024-12-30 08:52:46 -05:00
Eidolon
df0d49f89a
Tracy instrument software BSP traversal and render
2024-12-30 00:23:34 -05:00
James R
e90224bcd1
R_StoreWallRange: do not render textures with holes
...
- Holey textures are ones where the column height may not
match the texture height.
- R_DrawColumn cannot cope with this directly and it may
lead to a read out bounds.
- Transparency would not render for true wall textures
anyway since these are not masked midtextures, so just
don't render the texture in this case.
2024-12-29 16:16:08 -05:00
James R
86b8757aee
devmode render: display skybox portal, visplane and drawseg counts on HUD
...
- Skybox portal count moved from console print to HUD
- Displays visplane count and drawseg count
2024-12-29 16:10:12 -05:00
Oni
ac2b3651ae
Merge branch 'fix-column-fix' into 'master'
...
R_DrawColumn_Template: fix non-po2 column drawing
Closes #1033
See merge request KartKrew/Kart!1913
2024-12-29 15:58:35 -05:00
Oni
5c48744842
Merge branch 'templated-drawing' into 'master'
...
Use C++ templates for DrawColumn/Span
See merge request KartKrew/Kart!1728
2024-12-29 15:56:33 -05:00
Sally Coolatta
397f79fcbf
Use C++ templates for DrawColumn/Span
...
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-12-29 15:19:24 -05:00
James R
d062173bfc
TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP
...
- Software* + OpenGL support
- *Not supported: R_DrawColumnShadowed_8
- This has something to do with walls and FOF lights.
However, I don't see an easy code solution and I don't
know how to even test this.
2024-12-29 14:31:53 -05:00
NepDisk
4fd99ef3ff
Multithreaded Software rendering
2024-12-29 14:14:28 -05:00
NepDisk
b7b9fdabae
Fix transparency issues
2024-12-28 09:03:39 -05:00
NepDisk
3b0e62e495
Clean up R_RenderMaskedSegLoop
2024-12-28 08:41:56 -05:00
James R
76aa677901
debugfinishline: highlight deathpits and instakill planes
2024-12-28 08:03:14 -05:00
James R
312c4234b0
Add specialized drawing loop for debugfinishline
...
- Cache DBGLINE texture
- Draw this texture at horizon (player's eye level)
- Draw this texture at max brightness
- Do not slope skew this texture
- Use R_DrawColumn_Flat_8 to colorize the this texture
2024-12-28 07:58:41 -05:00
James R
92ca47e9c5
Add debugfinishline, highlight finish line linedefs and black fill solid walls
...
- Highlight is drawn across the screen at the horizon
(player's eye level).
- Highlight alternates between red and white for 35 tics
each.
2024-12-28 07:53:45 -05:00
James R
179608829b
Add the debugrender_highlight command, highlight specific rendering in flat colors
...
Software mode only.
The command is used like this:
debugrender_highlight planes sprites
debugrender_highlight pl spr
debugrender_highlight none
(Abbreviations work.)
Supported rendering to flag:
planes - sector floor/ceiling
fofplanes - FOF top/bottom
fofsides - FOF sides
midtextures - pegged midtexture
walls - sector upper/lower texture, one-sided linedefs
sprites - sprites
sky - skybox
2024-12-27 11:52:16 -05:00
James R
54d99f59bc
Add cv_debugrender_contrast, adjusts contrast of level geometry
...
debugrender_contrast -1.0 to 1.0, default 0.0 (no change).
Higher values add more contrast (darkens the level), lower
values add less (brighten). Does not affect thing drawing.
Software mode only.
Adds r_debug.cpp
2024-12-27 11:48:49 -05:00
James R
23b03f6ea2
Convert r_segs.c to r_segs.cpp
2024-12-26 08:46:21 -05:00