Commit graph

3132 commits

Author SHA1 Message Date
Anis
98b52d1fed Merge pull request #1782 from pacomont/Fix_AbstractPolyList_addBox
Fixes AbstractPolyList::addBox(). Complete each face with missing 2nd triangle.
2016-10-08 19:15:28 +02:00
James Urquhart
d324abd2df Fix redundant memcpy in swizzle ToBuffer method 2016-09-30 18:41:10 +01:00
James Urquhart
c2cc7142de Reduce the amount of blocks of memory DataChunker uses 2016-09-30 18:35:14 +01:00
RexTimmy
7281c2ed18 64bit shadergen hash key support. 2016-09-28 11:13:55 +10:00
RexTimmy
3b1d84fe5c SDL & Win32 platform threads cleanup. 2016-09-28 11:13:25 +10:00
RexTimmy
dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
yourarcade
8d610787a2 Fix push/pop mismatch bug;add code to properly rotate, translate and render needle. 2016-09-25 17:48:27 -07:00
yourarcade
213b7020a3 Allow the gui to render for both vehicles and vehicle-mounted players. 2016-09-25 16:53:00 -07:00
Anis
57dfeb829a Merge pull request #1774 from Azaezel/terrainTrouble
embeds blendtotal into the low bit for the normal|depth buffer
2016-09-23 23:23:26 +02:00
Francisco Montañés García
596b88cf94 Complete each face with 2nd triangle. 2016-09-21 12:43:48 +02:00
Anis
edb6bd214c Merge pull request #1779 from rextimmy/oggTheoraDecoder_revert
Revert TORQUE_CPU_X64 changes to oggTheoraDecoder
2016-09-17 23:31:23 +02:00
Anis
9cb413a38d Merge pull request #1763 from Azaezel/linearBuffers
banding: conforms misbehaving postfx to the hdr buffer format
2016-09-17 21:31:31 +02:00
RexTimmy
7b21b69dcb Revert TORQUE_CPU_X64 changes to oggTheoraDecoder.cpp 2016-09-17 10:52:43 +10:00
Areloch
af2ac4472e renames the engine method arg to avoid name confusion. 2016-09-14 19:42:05 -05:00
Azaezel
598fb758f3 embeds blendtotal into the low bit for the normal|depth buffer for terrains to support multi-pass blending. 2016-09-14 15:35:35 -05:00
Francisco Montañés García
800b7d1fd4 Write Links only when mLinkIDs.size() > 0 2016-09-14 13:08:20 +02:00
Areloch
c0a46ec1f1 Makes sure the key modifiers are passed along with mouse move and wheel inputs when using SDL. 2016-09-14 02:18:21 -05:00
Areloch
ab68a19a8b Merge pull request #1750 from Azaezel/LODloss
short term LOD correction
2016-09-14 01:47:23 -05:00
Areloch
6dbfe77ddb Added a missed a preprocessor for when not using openVR. 2016-09-14 00:59:55 -05:00
Areloch
7e4095d610 Merge pull request #1688 from jamesu/dx11_openvr_pr
Basic OpenVR Support code
2016-09-14 00:24:20 -05:00
Areloch
f88975121d Merge pull request #1761 from Bloodknight/intrinsicsfix
Intrinsicsfix
2016-09-13 21:43:18 -05:00
James Urquhart
455aa99046 Add missing bracket 2016-09-13 10:24:23 +01:00
Jeff Hutchinson
cfb3ad598f SDL support for glad 2016-09-11 21:59:48 -04:00
Jeff Hutchinson
11c3314f66 implement glad into torque. 2016-09-11 21:48:42 -04:00
James Urquhart
212ac36cc1 Tidy up indentation in openvr changes 2016-09-11 22:51:00 +01:00
James Urquhart
e6159a590a Add basic support for showing openvr controllers and tracked objects 2016-09-11 22:42:42 +01:00
James Urquhart
1198932e87 Basic fix for reflections in both stereo rendering modes 2016-09-11 22:42:42 +01:00
James Urquhart
fa7697b13e Fix debug draw in SBS mode & reflection update timing 2016-09-11 22:42:42 +01:00
James Urquhart
de48afc00c USe correct frustum projections in reflections in separate rt mode 2016-09-11 22:42:42 +01:00
James Urquhart
1b2abbeaaa Allow DebugDraw not to flush the draw queue 2016-09-11 22:42:42 +01:00
James Urquhart
0ac3d95cb9 Add more outline functions to DebugDraw 2016-09-11 22:42:42 +01:00
James Urquhart
660bd8d347 Allow gamepad to rotate openvr view. Also Fix issue with movemanager openvr rotation not being set correctly. 2016-09-11 22:42:42 +01:00
James Urquhart
e6c89b1f24 Add basic rotation offset code 2016-09-11 22:42:42 +01:00
James Urquhart
784f6f92d8 Fix lens flare in side-by-side view 2016-09-11 22:42:42 +01:00
James Urquhart
c6d2456a7c Fix lens flares in VR 2016-09-11 22:42:42 +01:00
James Urquhart
14628e3937 Fix setNearFarDist for off-center projections 2016-09-11 22:42:42 +01:00
James Urquhart
694dd4abfa Fix stack overflow 2016-09-11 22:42:42 +01:00
James Urquhart
2da474c484 Always use the latest eye pose data from the HMD 2016-09-11 22:42:42 +01:00
James Urquhart
a83afa07ea Fix blockiness when drawing to gui overlays using standard draw commands 2016-09-11 22:42:42 +01:00
James Urquhart
734688ff7e Implement basic keyboard & mouse support for openvr overlays 2016-09-11 22:42:42 +01:00
James Urquhart
f91aa639d6 Remove projection offset, add the hmd head matrix. Also tidy up a few things. 2016-09-11 22:42:42 +01:00
James Urquhart
da6bcbeb2b Improvements to openvr code
- Overlays are implemented (sans input for the moment)
- Fixed a problem where the movemanager was using the wrong values for hmd rotation & position
2016-09-11 22:42:42 +01:00
James Urquhart
185fde8ea4 Fix issue with clamping the AngAxisF 2016-09-11 22:42:42 +01:00
James Urquhart
9f49a7844e Use correct multiplication order for eye transform. Also fix displayDevice not set bug. 2016-09-11 22:42:42 +01:00
James Urquhart
9e5eda9a08 More progress
- Fixed normal stereo rendering
- Beginnings of vr overlay code
2016-09-11 22:42:42 +01:00
James Urquhart
b15be28f38 Temp add the convertRotation handler so we dont need the oculus files 2016-09-11 22:42:42 +01:00
James Urquhart
b58f34da9b Correctly handle invalid openvr adapters 2016-09-11 22:42:42 +01:00
James Urquhart
b2faecc82d Fix openvr typos 2016-09-11 22:42:42 +01:00
James Urquhart
36908b0434 Add code to render the basic stereo view fallback 2016-09-11 22:42:42 +01:00
James Urquhart
639b397394 Disable input focus disable to preserve sanity (temp) 2016-09-11 22:42:42 +01:00