Commit graph

2396 commits

Author SHA1 Message Date
James Urquhart e7bafe3c7b Fix cmake file for openvr 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
Anis 93a36f006f Merge pull request #1764 from Azaezel/fogFix
linearizes fog color
2016-09-08 19:24:34 +02:00
Anis e493b30d2f Merge pull request #1765 from rextimmy/dx11_cubemap_fix
Correctly copy mipmap sub resources for DX11 cubemap.
2016-09-08 19:23:59 +02:00
RexTimmy 28a9e99258 Correctly copy mipmap sub resources for DX11 cubemap. 2016-09-08 10:30:47 +10:00
Azaezel 57bd962b33 linearizes fog color so it falls within the same scale system as ambient and the like 2016-09-05 22:18:44 -05: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
Anis 2add87a702 Merge pull request #1756 from jamesu/hw_skinning_fix
Fix load with DTS shapes introduced with HW skinning changes
2016-09-04 02:03:45 +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 26241020ff Merge pull request #1755 from Areloch/SDLSplashWindow
Implements the splash screen window to the SDL platform stuff.
2016-08-28 23:23:35 -05: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
Anis 21bd220d04 Merge pull request #1711 from jamesu/hardware_skinning_final
Hardware Skinning Support
2016-08-21 18:32:10 +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
Anis 507c239a87 Merge pull request #1732 from Azaezel/linearGammaHelperFuncs
vec3 variants for toLinear and toGamma
2016-08-14 19:12:18 +02: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
Azaezel 07224ecd97 vec3 variants for toLinear and toGamma 2016-08-09 14:05:54 -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
Anis 1bcf9e4e7f Merge pull request #1726 from John3/fullPath_header
added path @dottools
2016-08-07 20:27:38 +02:00
John3 a6dcf6ee09 added path @dottools 2016-08-07 08:06:38 -05:00
Areloch dfa6d46013 Merge pull request #1725 from Areloch/IncludeInclude
Fix to include a needed include for the accumulation volume stuffs
2016-08-07 02:28:37 -05:00
Areloch 79358ee4be Fix to include a needed include for the accumulation volume stuffs 2016-08-07 01:35:23 -05:00
Anis 88ac03cce0 Merge pull request #1690 from John3/fixDatablockPhysicsShape
fix create datablock for physicsshapes.
2016-08-07 03:08:15 +02:00
Anis 4c59f39c09 Merge pull request #1642 from Azaezel/globalAccumulation
level-wide accumulation assignment
2016-08-07 02:31:45 +02:00
Anis 61418b1772 Merge pull request #1683 from John3/wrongPathMiniCLTask
Fix wrong folder path for cmake libbullet. Folder MiniCLTask and scalar
2016-08-07 02:29:41 +02:00
Anis 585c5d5afe Merge pull request #1717 from Duion/patch-3
fixes footsteps missing when no impactSoundId
2016-08-07 02:27:05 +02:00
Anis 70d868ca43 Merge pull request #1710 from Azaezel/terrainblend_revert
adresses #1704: partial reversion to 3.8 specs regarding layer blending.
2016-08-07 01:16:20 +02:00