Commit graph

14 commits

Author SHA1 Message Date
Simon
a9dbcb1f7b HUD and PDA now working
some minor bugs with videos not playing on the PDA but it is pretty much working how it was now.
2020-10-08 23:01:13 +01:00
Simon
fb4d4a81d2 Multiview Shader Matrices buffer now supplied correctly
- decomposed the MVP into three separate matrices so the view matrix only needs to be supplied to the shader once per frame
- huge speed boost to the render thread, only a handful of ms per frame now, any framedrops are purely from the GPU
2020-10-08 21:16:18 +01:00
Simon
74acf16f9d Implementation of OpenGL ES Multiview
Now render thread takes 50% CPU time since it only runs once.

More work is needed as GUIs are messed up
2020-10-07 19:05:09 +01:00
Simon
52b6370103 Draw PDA to HUD
Looks cool
2020-09-26 11:30:46 +01:00
Simon
aaa37bbe69 VR HUD Attached to off hand controller
Thanks again to the Fully Possesed Mod for the functionality for this one!
2020-09-25 00:10:19 +01:00
Simon
8cd379a32d Grenades are throwable
They aren't perfect, not sure they ever will be.
Tweaked a few cvar names to make them consistent
Virtual screen with B button.
2020-09-20 22:56:36 +01:00
Simon
c6d666aba0 Visible flashlight in holster 2020-09-18 23:34:27 +01:00
Simon
6cfe71c10b Grab Flashlight from holster on your dominant side
This replaces the out-of-view backpack. Next step will be to render a world entity representing the flashlight that can be grabbed.
2020-09-17 23:50:54 +01:00
Simon
6defa52225 Haptics
Weapon haptics working rather nicely!
World shake also triggers haptics
Velocity triggered attack for the  flashlight and chainsaw
vr_chibi (thanks to RBDOOM-BFG) just for a bit of a laugh
2020-09-17 22:46:48 +01:00
Simon
a8f3d92ee0 Various
- Some code tidying
- Improved scaling of HUD for more visibility
- Better handling of controls when using GUIs
- First weapon pack test pk4 included (and copied)
2020-09-16 22:41:35 +01:00
Simon
ec594e1357 Lots of good stuff..
- Flashlight from "backpack"
- HUD now visible (with some stereo depth)
- PDA now has a functional mouse pointer
- Interaction with screens is by pointing the weapon controller rather than gaze based
- Default SS is now 1.0
- Default refresh rate is 60hz
2020-09-16 00:02:29 +01:00
Simon
9a0823392c Almost too many fixes to mention!
start of weapons working (6DoF)
looks like glitchiness is fixed
stereo working correctly
most buttons working nicely
positional tracking (sort of)
2020-09-11 22:41:18 +01:00
Simon
4201c1deca Working stereo
very jittery though
2020-09-09 23:16:24 +01:00
Simon
b2b8f43c9d Initial Commit
Builds, runs, no stereo or much else is working, menus work ok though
2020-09-08 23:10:45 +01:00