Commit graph

118 commits

Author SHA1 Message Date
AzaezelX
dd1470202d Merge branch 'development' of https://github.com/GarageGames/Torque3D into PBR_ProbeArrayGLWIP
# Conflicts:
#	Engine/source/gfx/D3D11/gfxD3D11Device.cpp
#	Engine/source/lighting/lightManager.cpp
#	Templates/Full/game/levels/Empty Room.mis
#	Templates/Full/game/levels/Empty Terrain.mis
2019-05-01 23:18:31 -05:00
suncaller
265e64f6fc Clean up MSVC warning [C4305]: truncation from 'double' to 'F32' 2019-02-02 23:07:44 -05:00
Azaezel
1eed979a9c Merge branch 'method_Unmangle' into PBR_PR 2018-12-12 14:54:22 -06:00
Areloch
6cf0c9e360 Merge branch 'development' into EngineAPI-Refactor 2018-12-09 14:48:50 -06:00
OTHGMars
2ed30ffeae Adds Clamp to QuatF::dot()
Clamps output of QuatF::dot() to [-1, 1].
2018-09-24 18:56:46 -04:00
Areloch
b4a1d18f42 Core implementation of Physical Based Rendering. 2018-09-15 20:19:57 -05:00
Azaezel
b0b2b1314a member var conversion error that oddly didn't crop up till mac testing. 2018-07-04 18:26:14 -05:00
Azaezel
13334b4d5c Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts:
#	Engine/source/sfx/sfxSystem.cpp
2018-04-23 10:08:14 -05:00
Lukas Joergensen
76908eae3c Eliminate DefineConsoleMethod 2018-04-17 21:01:50 +02:00
Lukas Joergensen
e718841467 Eliminate DefineConsoleFunction 2018-04-17 20:54:08 +02:00
Areloch
bc1b506205 Merge pull request #2146 from Azaezel/specializationShenanigans
changes find, swap, for_each, and delete_pointer from global to t3d namespace
2018-04-17 03:02:03 -05:00
Azaezel
c386e90348 further membervar issue with PolyhedronFixedVectorData template found with clang. 2018-04-01 17:48:10 -05:00
Azaezel
cffc9d3afe doubleup on Q defintion for baycentric coord calcs 2018-03-14 17:38:44 -05:00
Azaezel
300d9eefbf ease member vars tagged as member vars 2018-03-14 15:45:45 -05:00
Azaezel
d979cf9d2d PolyhedronVectorData core membervar cleanups 2018-03-14 15:18:00 -05:00
Azaezel
d57287cf75 adds an mWrap and mWrapF method for cycling values to within a given range.
examples of usage would be say, keeping a rotation within 360 degrees, or hitting a tile boundary and resetting the offset
2018-01-16 13:40:09 -06:00
Azaezel
01f0d5cfca tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places. 2017-12-27 22:57:47 -06:00
Areloch
0fde97f254 Corrects the documentation. 2017-10-17 21:50:53 -05:00
Areloch
1407f3953c Tweaks the asMatrixF for RotationF, as well as exposes additional console methods for rotation manipulation 2017-10-15 03:41:26 -05:00
rextimmy
54970b0ad6 Corrects OpenGL projection matrix
Corrects OpenGL glPolygonOffset values
Corrects Direct3D11 DepthBias values
2017-08-25 13:13:47 +10:00
Areloch
c2c34cdd5d Adds the getSignedAngleBetweenVectors function, which is like the existing getAngleBetweenVectors, but will returned a signed angle value, which helps to inform the full 360 angle, rather than the 'nearest 180'. 2017-02-19 23:00:54 -06:00
rextimmy
11532e10cc Add log2 function to mMathFn.h 2017-01-16 15:35:25 +10:00
Areloch
31ed509c1c Adds some helpful utility math functions. 2016-11-28 22:42:29 -06:00
Areloch
1a851f167d Merge pull request #1807 from Azaezel/boxBaseBorked
clang catch: boxBase's getPlanePointIndex method wasn't returning values in all cases.
2016-10-24 01:28:25 -05:00
Areloch
6cc7bcd2e0 Merge pull request #1805 from Azaezel/startRightEndRight
clang: constructor initialization order
2016-10-19 08:39:12 -05:00
Areloch
65f25cb0e6 Merge pull request #1796 from Azaezel/notSoEasy
retooled circular ease methods
2016-10-18 22:41:31 -05:00
Areloch
121d65215e Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang. 2016-10-17 01:00:12 -05:00
Azaezel
8d4dd14144 clang catch: boxBase's getPlanePointIndex method wasn't returning values in all cases.
assertfatal doesn't do anything in release builds, so also added a failure enum.
2016-10-16 15:31:56 -05:00
Azaezel
fbfd3ed8ed clang: constructor initialization order
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
Azaezel
2f5321ddfb tabs/space + transcription typofix 2016-10-14 13:40:53 -05:00
Azaezel
d50762cbef self modifying variables made clang unhappy. retooled circular ease methods
basis: http://gizma.com/easing/#circ1
2016-10-14 13:00:27 -05:00
RexTimmy
dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
Areloch
7e4095d610 Merge pull request #1688 from jamesu/dx11_openvr_pr
Basic OpenVR Support code
2016-09-14 00:24:20 -05: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
Marc Chapman
00cf5ab577 Added x64 check for SSE Intrinsic functions 2016-09-02 05:10:46 +01:00
Duion
1a405264c2 changes "Rotation" instead of "rotation" #1702
Changes back "Rotation =" values in mission files to the old "rotation =" since all other values are also lowercase.
2016-07-31 19:40:06 +02:00
Areloch
8a7159c00e Fixes the drawUtil rendering of polyhedrons by correcting the index ordering to work with triangleStrip as opposed to Fan. 2016-05-22 23:51:58 -05:00
Areloch
65f51a89d8 Merge pull request #1595 from Areloch/EpoxyProjectMatrixFix
Rolls back OGL Projection correction.
2016-05-20 00:23:45 -05:00
Areloch
c1f02c05e1 Adds some console methods to the non-class namespace Rotation for some convenient utility functions for dealing with rotations. 2016-05-16 16:03:24 -05:00
Areloch
8568ed19be Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development 2016-05-16 15:49:54 -05:00
James Urquhart
49a735e051 Fix axis check in Box3F::extend method 2016-05-13 12:09:40 +01:00
Areloch
1b47bdd972 Git apparently forgot to commit ALL the changes. 2016-05-12 23:49:06 -05:00
Areloch
383d27f2ec The class is designed as a general-purpose rotation/orientation class to make it easy to work with rotations and swap between math types as easily as possible. 2016-05-12 00:45:16 -05:00
Areloch
bc9033da2e Rolls back OGL Projection correction.
Epoxy looks to handle the projection depth range so it behaves more like D3D, so this change was doubling up and causing problems.
2016-05-06 16:45:18 -05:00
Azaezel
223e9a8264 corrects projection matricies for opengl 2016-04-05 20:36:13 -05:00
Anis A. Hireche
b3662d801a Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1334
# Conflicts resolved:
#	Engine/source/console/consoleFunctions.cpp
2016-02-26 21:58:01 +01:00
Anis
794f1b9536 Merge pull request #1532 from GarageGames/pr/1143
[CLONE] More consolefunctions #1143
2016-02-26 18:57:49 +01:00
Anis A. Hireche
0fb62de4b8 restored old signature of mRound as it's used from scripts. 2016-02-26 18:41:29 +01:00
Azaezel
7a60056365 Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced 2016-02-21 16:07:51 -06:00