Commit graph

47 commits

Author SHA1 Message Date
NepDisk
48fb58d4fb Port player fading from saturn and fix up RR GL renderer nonsense
Thanks so much to Alug for helping me fix this!
2026-01-24 15:07:45 -05:00
Alug
ad712cfe91 dont force awayview when in freecam 2025-12-01 13:51:21 -05:00
chromaticpipe
fdf2464ccf Configurable sector brightness in software 2025-11-16 13:54:10 -05:00
GenericHeroGuy
beb2ed5f97 ??? 2025-11-04 17:35:39 +01:00
NepDisk
df581ae69f Remove dead renderer code
based on 0eeacaf51e

remove
- broken viewborder code (if we really want it back for some reason, we should rather port RR´s fixed version of it)
- remove console clipping code for software (this was broken eiherway)
- remove hud message clearing stuff
- remove renderscreen and linesize variables (they just pointed to vid.screen and vid.widht)
2025-10-19 16:34:38 -04:00
NepDisk
659aa667eb Software Renderer: Implement Column buffering system
A port of https://github.com/Indev450/SRB2Kart-Saturn/pull/205, currently doesn't work
2025-10-19 12:12:33 -04:00
Alug
230cd7d450 fix splitscreen viewmorph
copy paste oopsie
2025-10-19 16:37:54 +02:00
NepDisk
39e17bce4b remove ylookup, columnofs and topleft lookups
based on 2da89f1946
move screens array to vid struct
remove a bunch of unused stuff

this speeds up 4 player splitscreen ever so slighty
mostly just alot cleaner than the mess it was before
2025-10-18 13:04:39 -04:00
NepDisk
cef5e93c93 Fix ub in R_PointOnSide Kart version 2025-10-16 14:11:32 -04:00
GenericHeroGuy
1593ad8595 Fix interpolation going missing for freecam 2025-08-28 20:29:53 +02:00
GenericHeroGuy
219acbb9cc Rework rendertimefrac and gate it behind a function
Fixes intermission background shifting when toggling fullscreen (yup)
and fixes audio caption text losing interp when paused
2025-08-27 21:34:01 +02:00
NepDisk
81224b6a5a Revert "Only call NetUpdate once"
This reverts commit 43156f63ddf69fc57f008f128f18b2707e0dd4b6.
2025-08-05 09:23:32 -04:00
NepDisk
adaba91738 Check if player is local inside aiming frame 2025-07-02 20:49:56 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
83bf2d59c5 Revert 'Fix camera hitch during first few tics of level'
This reverts commit 0c89c85aae.
2025-06-29 01:13:54 -04:00
NepDisk
0a5038c189 Port fancy roulette and interp addtions from saturn 2025-06-28 18:48:59 -04:00
NepDisk
0c89c85aae Fix camera hitch during first few tics of level 2025-06-28 17:47:05 -04:00
Alug
c8ef0fb705 allow threaded render for maskedlist planes
since sky synchronizuation issues are fixed, this no longer causes any issues and gives a nice speed bump in some occasions
2025-06-27 12:49:01 +02:00
Alug
f30d472ad2 dont render precip in skyboxes!
is really ugly and was never intended, and half the time this would make splashes appear through walls and crap lol
2025-06-27 12:29:56 +02:00
Alug
5df0ddde31 remove erronous mask preparation stuff
R_RenderViewpoint already handles this for us
2025-06-27 11:59:20 +02:00
Alug
258912b685 remove obsolute timing stuff from r_main 2025-06-27 11:53:22 +02:00
Alug
76fc2b21d7 Fix software sky threading synchronization issues
By splitting sky drawing from plane drawing, so both dont step on each other during drawing

this also marginally improves performance
2025-06-27 11:47:53 +02:00
NepDisk
b59cf3c189 The acutal fix 2025-05-30 01:07:43 -04:00
NepDisk
e78e49e3c1 Texture precaching
A simple port from saturn
2025-05-29 12:06:51 -04:00
NepDisk
479af14832 Add sliptide tilt toggle
Thanks Jon for the idea!
2025-05-23 13:51:57 -04:00
NepDisk
b9836e4925 Add toggle for deadzone style
The game now defaults to Kart style deadzone to remove that stiffness felt on shallower angles
2025-05-18 14:06:56 -04:00
NepDisk
3163dcf9c4 Remove bird window shake
sorry jartha
2025-05-15 14:35:46 -04:00
NepDisk
889170823d Merge pull request 'Spectator freecam' (#35) from freecamspectate into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/35
2025-04-02 21:54:50 +00: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
NepDisk
911afb22a6 Move freecam state to camera_t
Based on fa89576f34 p1 still controls both cameras for now.
2025-04-01 13:57:27 -04:00
James R
c4825fb7e7 R_ViewRollAngle: don't apply camera tilting while using freecam 2025-03-30 09:02:34 -04:00
James R
e0a191f4d5 Replace spectator movement with demo freecam 2025-03-30 08:55:40 -04:00
James R
f72aa63f36 Interpolate view, even when paused
Fixes slideshow movement with demo freecam while paused.
Does not appear to jitter like texture scrollers do.
2025-03-30 08:42:43 -04:00
NepDisk
2876e2adc6 Properly fix shearing crash without the ugly hack 2025-03-23 22:30:36 -04:00
NepDisk
52b532f265 Make sloperoll+pitch toggleable and make cameratilt not rely on sloperoll toggle
The toggle is handled in renderer for both gl and software!
2025-03-11 22:48:02 -04:00
sphere
76022b40bf Merge branch 'fix-slope-convex-sectors' into 'next'
Fix physics quirkiness on slopes with convex sectors

See merge request STJr/SRB2!2250
2025-02-11 16:58:57 -05:00
NepDisk
b9196f921d Use separate table for maskedtexturecol 2025-02-10 17:54:40 -05:00
NepDisk
718960ffdc Add R_PointOnSideFast and R_PointInSubsectorFast and use it to optimize some stuff 2025-02-09 12:27:04 -05:00
Sally Coolatta
713ac093bf devmode cheat online 2025-01-10 11:36:04 -05:00
Alug
ce693aa912 dont use portals for skyboxes on binary maps
resolves alot of performance issues on some maps
2024-12-30 20:30:14 +01:00
James R
90196d8913 debugrender_freezebsp: freeze culling to your current position, so you can see how much level is being rendered 2024-12-30 00:16:57 -05:00
James R.
b819d43296 Move HOM removal from R_RenderPlayerView to D_Display
This lets duplicate displayplayers[0] render correctly,
since repeating occurrences of displayplayers[0] won't
clear the screen multiple times.
2024-12-29 17:29:37 -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
James R.
08e1dd870e Merge branch 'fix-map-plane-crash' into 'master'
Fix some R_MapPlane crashes in splitscreen; debugrender_visplanes and debugrender_portal; some multithreading crashes

Closes #1032 and #1021

See merge request KartKrew/Kart!1997
2024-12-29 14:15:32 -05:00
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -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
NepDisk
6b01a279c9 Port r_main to CPP 2024-12-27 12:16:36 -05:00
Renamed from src/r_main.c (Browse further)