Commit graph

1645 commits

Author SHA1 Message Date
James Urquhart 455aa99046 Add missing bracket 2016-09-13 10:24:23 +01: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
James Urquhart 126828131d Improve openvr, also add a module for it. 2016-09-11 22:42:42 +01:00
James Urquhart ba91478fad Baseline working openvr code 2016-09-11 22:42:42 +01:00
James Urquhart e239d106f5 Use correct bgra format 2016-09-11 22:42:42 +01:00
James Urquhart 3dc2100765 Ignore alpha when rendering debug texture 2016-09-11 22:42:42 +01:00
James Urquhart 64b751a7c8 Basic port of code 2016-09-11 22:42:42 +01:00
RexTimmy 28a9e99258 Correctly copy mipmap sub resources for DX11 cubemap. 2016-09-08 10:30:47 +10:00
Anis 8cae1e5dcb Merge pull request #1749 from Azaezel/linearizeLights
adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights.
2016-09-04 02:06:00 +02:00
James Urquhart a46779fad6 Defer re-init'ing the shape when TSShapeConstructor is loading a shape 2016-09-03 10:41:25 +01:00
James Urquhart 0e717ea707 Fix edge case where an editable shape without a vbo is saved 2016-09-01 00:36:17 +01:00
James Urquhart 18031f09b1 Fix edge-case with version 24 shapes 2016-09-01 00:30:29 +01:00
James Urquhart 12019173af Fix load with DTS shapes introduced with HW skinning changes 2016-08-30 19:07:02 +01:00
Areloch 6f72c7b119 Implements the splash screen window to the SDL platform stuff. 2016-08-27 17:47:03 -05:00
Anis 5d38357785 Merge pull request #1636 from Azaezel/TranslucentTargetTweak
puts forward-lit #targetname assignment of faux diffuse maps back
2016-08-21 20:10:59 +02:00
Anis fcfe2d621a Merge pull request #1743 from John3/fixDB_PSeditorTimmy
replace fix #1736 for add physicShape datablock from the editor
2016-08-21 19:40:34 +02:00
John3 5f463d09d9 replace fix #1736 for add physicShape datablock from the editor 2016-08-21 09:23:06 -05:00
James Urquhart e7db0d7956 Fix mesh load issue & merge issue 2016-08-21 02:15:26 +01:00
Azaezel 41dfb64210 hardware skinning and instancing are mutually exclusive 2016-08-21 01:43:30 +01:00
James Urquhart ace01a313c Add a workaround for the 16 vertex attribute limit on nvidia gl 2016-08-21 01:43:30 +01:00
James Urquhart 6283a6b9da Fix the pink water in D3D9 2016-08-21 01:43:30 +01:00
James Urquhart 3496c549b5 Hardware Skinning Support
- Supports GL, D3D9 & D3D11
- Extends vertex formats & shadergen to support blend indices and weights
- Adds basic support for using 4x3 matrices for shader constants
- Supports software fallback
2016-08-21 01:43:30 +01:00
Azaezel 13f00ca79d adds toLinear and toGamma helper functions for ColorF, uses the former in adjusting lights. 2016-08-09 14:49:03 -05:00
Anis 2794f18d78 Merge pull request #1730 from Azaezel/copyConstructorCorruption
accutex was left out of the copy constructor for TSRenderState.
2016-08-08 18:03:57 +02:00
Azaezel 3553ed0bf1 accutex was left out of the copy constructor for TSRenderState.
caused issues with https://github.com/GarageGames/Torque3D/pull/1711
2016-08-08 09:03:16 -05:00