Commit Graph

3560 Commits

Author SHA1 Message Date
Simon c808c877f3 Several fixes
- HUD no longer has a slight weird transparency which made it a little hard to read in some scenarios
- HUD models draw correctly and clearly in the correct locations
- Vignette fix
- Railgun Scope fix
2022-04-03 10:17:28 +01:00
Simon 443a3657f2 Fix non-rendering TA and cinematics 2022-04-03 00:20:22 +01:00
Simon 326ddd1764 Squashed commit of the following:
commit b10fb5aae4
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Apr 2 23:40:44 2022 +0100

    Update pakQ3Q.pk3

commit ffc5546f0c
Merge: 5a6a7cfd 67016999
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Apr 2 23:36:00 2022 +0100

    Merge branch 'master' into multiview

commit 5a6a7cfd66
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Apr 2 23:34:11 2022 +0100

    Lots of changes

    - Hacky fix for weird "out-of-body" issue when not drawing hud
    - HUD is now drawn as a world sprite (this has its own issues, but is mostly there)
    - Package the pk3 as part of the build

commit 3639fc6d6a
Author: Simon <simonbrown77@googlemail.com>
Date:   Wed Mar 30 23:27:55 2022 +0100

    Update tr_glsl.c

commit 3cc8918328
Merge: 3bb87ecb fe180129
Author: Simon <simonbrown77@googlemail.com>
Date:   Wed Mar 30 22:10:54 2022 +0100

    Merge branch 'master' into multiview

commit 3bb87ecbe6
Author: Simon <simonbrown77@googlemail.com>
Date:   Wed Mar 30 20:05:14 2022 +0100

    Some small tweaks to shaders following trunk merge

commit 2b2748b9f9
Merge: aeb45adc a750c2e5
Author: Simon <simonbrown77@googlemail.com>
Date:   Wed Mar 30 19:17:00 2022 +0100

    Merge branch 'master' into multiview

commit aeb45adcd8
Author: Simon <simonbrown77@googlemail.com>
Date:   Tue Mar 29 23:23:33 2022 +0100

    Small changes following the merge from master

    - and also removed a couple of bits of my hacking

commit 3f5226aa85
Merge: e8da7431 bcf9287a
Author: Simon <simonbrown77@googlemail.com>
Date:   Tue Mar 29 23:05:01 2022 +0100

    Merge branch 'master' into multiview

commit e8da743153
Author: Simon <simonbrown77@googlemail.com>
Date:   Tue Mar 29 22:41:36 2022 +0100

    Orthographic projection now working

    the main fix is in tr_glsl.c, the other changes are peripheral and probably contribute nothing

commit e1a16cbeb2
Author: Simon <simonbrown77@googlemail.com>
Date:   Tue Mar 29 19:53:00 2022 +0100

    Correct pointer offset

commit 12987c20b9
Author: Simon <simonbrown77@googlemail.com>
Date:   Mon Mar 28 23:16:19 2022 +0100

    Few small changes

    might add slight perf improvements as there was some buffer swap stuff not needed

commit e06ba21101
Author: Simon <simonbrown77@googlemail.com>
Date:   Mon Mar 28 19:30:55 2022 +0100

    World entities now drawing in the right places

    ..next up is the 2D stuff

commit e2a5472667
Author: Simon <simonbrown77@googlemail.com>
Date:   Sun Mar 27 23:19:16 2022 +0100

    Small progress

    world is now rendering correctly, but..
    - All items in world are rendering in the wrong place
    - no 2D still

commit 71708ee91e
Author: Simon <simonbrown77@googlemail.com>
Date:   Sun Mar 27 18:08:51 2022 +0100

    Restored missing matrix

commit 6506c96194
Author: Simon <simonbrown77@googlemail.com>
Date:   Sun Mar 27 17:46:42 2022 +0100

    Still ongoing (with little improvement)

commit 170f32709b
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Mar 26 23:31:03 2022 +0000

    Now rendering!

    2D stuff doesn't draw, and 3D is all wonky, but this is progress!

commit d6ade0215f
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Mar 26 19:02:03 2022 +0000

    Ensure multiview is only applied to vertex shaders

commit eec5efe237
Author: Simon <simonbrown77@googlemail.com>
Date:   Sat Mar 26 12:11:55 2022 +0000

    Make main a C file in prep for the next step

commit b2fece761e
Author: Simon <simonbrown77@googlemail.com>
Date:   Fri Mar 25 19:34:44 2022 +0000

    Make context create correctly

commit e1a04d2200
Author: Simon <simonbrown77@googlemail.com>
Date:   Fri Mar 25 00:05:11 2022 +0000

    Not working yet
2022-04-02 23:42:56 +01:00
Simon 6701699932
Merge pull request #45 from petr666/feature/fake-6dof-for-local-multiplayer
Use fake 6DoF also for local multiplayer
2022-04-02 23:34:54 +01:00
Simon ba6adfad95
Merge pull request #44 from petr666/feature/separate-shadow-config
Implemented separate setting for player and opponents shadows
2022-04-02 23:34:38 +01:00
Petr Bartos 2ee4cf4c36 Fix view in pause menu when using fake 6DoF 2022-04-02 19:22:42 +02:00
Petr Bartos 285870c353 Use fake 6DoF also for local multiplayer 2022-04-02 17:19:32 +02:00
Petr Bartos 9b411443d9 Implemented separate setting for player and opponents shadows 2022-03-31 18:59:45 +02:00
Simon fe180129a9 Removing the old unused gl1 renderer - phase 2
rename the gl2 renderer to be correctly called gles3
2022-03-30 22:00:30 +01:00
Simon 5f7755b219 Removing the old unused gl1 renderer - phase 1 2022-03-30 21:57:33 +01:00
Simon 8a23a596ef
Merge pull request #42 from petr666/feature/menu-update
Add brightness setting, remove color depth and texture filter setting
2022-03-30 20:33:22 +01:00
Petr Bartos a44bdc323b Add brightness setting, remove color depth and texture filter setting 2022-03-30 21:25:12 +02:00
Simon a750c2e540
Merge pull request #40 from lvonasek/hotfix_performance_restored
Restore mediump float precision and fast-math C flag
2022-03-30 18:53:59 +01:00
Simon 8c9b797a67
Merge pull request #41 from petr666/feature/menu-update
Fix setting of HUD on initial startup, add HUD toggle to team arena
2022-03-30 18:53:45 +01:00
Petr Bartos 4a5cdc47f6 Fix setting of HUD on initial startup, add HUD toggle to team arena 2022-03-30 18:29:39 +02:00
Lubos 663dd1d5b2 Forgotten variable removed 2022-03-30 18:28:41 +02:00
Lubos 25154e5b9f Restore mediump float precision and fast-math C flag 2022-03-30 18:27:12 +02:00
Simon bcf9287a85 Updated ready for v28 build 2022-03-29 22:54:14 +01:00
Simon fd6be39c0e
Merge pull request #39 from petr666/feature/menu-update
Menu updates
2022-03-29 22:48:40 +01:00
Simon 00379ad62d
Merge branch 'master' into feature/menu-update 2022-03-29 22:48:30 +01:00
Simon a62ae5e4b2
Merge pull request #38 from lvonasek/feature_fast_math
Fast math flag replacement
2022-03-29 22:43:58 +01:00
Simon 271ce70f86
Merge pull request #36 from petr666/feature/menu-cursor
Fix team arena cursor; prevent crashes caused by invalid pointer when switching to TA and back
2022-03-29 22:43:08 +01:00
Simon 7b4ac44cdc
Merge pull request #35 from lvonasek/feature_opengl_tweaks
Geometry detail improved
2022-03-29 22:42:50 +01:00
Petr Bartos 4b0bfe599d Fix default value of gore level; Add proper gore settings to team arena 2022-03-29 23:26:46 +02:00
Petr Bartos 24ce45a3c5 Add support for setting control schema in team arena 2022-03-29 22:46:31 +02:00
Petr Bartos 90fa0bcf42 Remove graphic presets from menu 2022-03-29 21:52:14 +02:00
Petr Bartos 1e7279b899 Ensure high geometry details sets proper lodbias; Unify geometry detail setting between team arena and vanilla 2022-03-29 19:22:02 +02:00
Petr Bartos 8ab1439347 Add shadow detail setting 2022-03-29 18:33:10 +02:00
Petr Bartos c10f4b03fb Merge branch 'feature/player-menu-update' into feature/menu-update 2022-03-29 17:47:02 +02:00
Lubos 0441ba1ab0 Do not crash on undefined LOD 2022-03-29 12:58:09 +02:00
Lubos 7be9731347 Fast math flag replacement 2022-03-25 15:56:05 +01:00
Petr Bartos 364c4d66fe Add note about editing player name; add body scale to team arena menus 2022-03-24 22:13:59 +01:00
Simon 0c52a61cf6 Revert "Speedup VBO"
This reverts commit 22890e13a6.
2022-03-24 18:51:43 +00:00
Petr Bartos 95951c27f9 Fix team arena cursor; prevent crashes caused by invalid pointer when switching to TA and back 2022-03-24 17:59:42 +01:00
Lubos 0a22991ff3 Modify the low geometry detail settings 2022-03-24 16:39:26 +01:00
Lubos ad5ea81eeb Replace LOD computation to better fit VR needs 2022-03-24 16:39:03 +01:00
Lubos 55c4be043d Redundant SDL call removed 2022-03-24 16:12:20 +01:00
Simon 56d1334007 Ensure menu cursor is correctly aligned
store the yaw at which the menu is invoked to calculate correct X
slightly increased the cursor movement scale as it was a little too much wrist turning required to reach outer edges of screen
2022-03-23 20:48:01 +00:00
Simon 14cf79c585
Merge pull request #33 from petr666/feature/menu-cursor
Use absolute position for menu cursor (no need to "calibrate" pointer any more)
2022-03-23 20:34:28 +00:00
Simon 550c25bf71
Merge pull request #34 from lvonasek/feature_opengl_speedup
Opengl speedup
2022-03-23 20:21:49 +00:00
Simon d9791d0ef1
Merge pull request #32 from lvonasek/feature_pause_flow
Game pause flow improvements
2022-03-23 20:21:36 +00:00
Simon ed7fa0855b
Merge pull request #31 from lvonasek/feature_player_rendering_fix
Workaround to make in menu player model rendering working
2022-03-23 20:21:21 +00:00
Petr Bartos 7100dd66aa Switch active controller in menu by pressing trigger on inactive one 2022-03-23 21:07:34 +01:00
Petr Bartos 95e55b5ba9 Remove moving of cursor with thumbstick (not working with absolute cursor position) 2022-03-23 20:06:17 +01:00
Petr Bartos 5e9a38307b Make cursor little bit less sensitive 2022-03-23 18:33:39 +01:00
Petr Bartos 36222228bb Allow to draw cursor outside visible area to avoid weird jumping around edges when pointing outside 2022-03-23 18:02:23 +01:00
Lubos 22890e13a6 Speedup VBO 2022-03-23 11:53:24 +01:00
Lubos c0089a54f2 Disable OpenGL debug messages 2022-03-23 11:52:45 +01:00
Petr Bartos 0e99425a79 Use absolute position for menu cursor (no need to "calibrate" pointer any more) 2022-03-22 22:19:38 +01:00
Lubos 7c13dc8c34 Disable opening console (didn't work so well in multiplayer)) 2022-03-22 21:49:57 +01:00