New Opengl Clipping code from DSDA-Doom #119

Merged
alufolie91 merged 11 commits from dsdaclip into Saturn-Next 2024-03-17 12:23:14 +01:00
alufolie91 commented 2024-03-10 19:05:05 +01:00 (Migrated from github.com)

essentially

The existing calculation didn't correspond to how the projection matrix was generated. Derive horizontal FOV directly from projection matrix so it can't get out of sync.
https://github.com/kraflab/dsda-doom/commit/60f2ca9da4ad19c309b6599331f0c51706de9011

Credits to Kraflab and bkoropoff

Top pic new code
Bottom pic old code
kart0062
kart0063

essentially > The existing calculation didn't correspond to how the projection matrix was generated. Derive horizontal FOV directly from projection matrix so it can't get out of sync. https://github.com/kraflab/dsda-doom/commit/60f2ca9da4ad19c309b6599331f0c51706de9011 Credits to Kraflab and bkoropoff Top pic new code Bottom pic old code ![kart0062](https://github.com/Indev450/SRB2Kart-Saturn/assets/136046486/d11aa7f2-6c46-48e0-893b-69977fdccc4c) ![kart0063](https://github.com/Indev450/SRB2Kart-Saturn/assets/136046486/1fdbed17-cd03-4eec-92bb-7701429a6588)
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#119