Commit graph

145 commits

Author SHA1 Message Date
marauder2k7 2ef93acac6 define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
marauder2k7 5527207805 AngAxis toEuler
Add Euler set and to functions to AngAxis.
Removes the need to use a matrix
2023-06-13 15:11:28 +01:00
marauder2k7 cbe2bd4c7b Conversions
Commit from Azaezel to fix the naming of inspector fields.
TypeMatrixField still messes around on first responder, we know these functions convert angAxis to eul properly and from eul to angAxis but when the data comes to TypeMatrix it changes.... weird issue is weird.
2023-06-11 21:59:03 +01:00
Brian Roberts cc3c2c53ae
Merge pull request #1023 from Azaezel/alpha41/mInvLerp
inverse lerp function
2023-05-22 12:08:17 -05:00
AzaezelX c5afb407db inverse lerp function 2023-05-21 12:10:33 -05:00
AzaezelX a03586a5fe account for null dumpmatix captions 2023-05-18 10:19:30 -05:00
Brian Roberts a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
AzaezelX e386a360ca more arithmetic overflow warns
(cherry picked from commit 3974775b9c6bc49fba7295dcdd35e8f2cc06a0c9)
2023-05-01 10:43:11 -05:00
AzaezelX 0ce2da3a23 clean up math varsize complaints 2023-04-27 16:10:04 -05:00
AzaezelX aa02e48c8d add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
AtomicWalrus 75625dc679 Reverse depth & 32F buffer format
-Adds reversed depth projection model, dramatically increasing depth buffer effective resolution.
-Adds 32F depth 8U stencil format GFXFormatD32FS8X24 (following DX naming conventions). Note this is a 64-bit format, and likely not suitable for mobile platforms. Revert to GFXFormatD24S8 in renderManager.tscript for mobile & "ancient" platforms.
-Corrects alignment of texture type details array.
2023-04-14 20:13:28 -06:00
AzaezelX ace18d0246 layout consistency pass pt 2 -place shapebase inheriting initpersistfields up top so the child layout appends to the parent 2023-01-24 19:30:09 -06:00
Robert MacGregor c687c0d23a * BugFix: Remove unused 3DNow! extensions and broken SSE extensions. 2022-05-24 20:39:34 -04:00
AzaezelX b795776b23 requested feature: large number display
origional author: Peter Simard
2022-04-17 13:03:44 -05:00
AzaezelX 540e82b95c template mixins need this-> specified 2022-02-14 19:50:37 -06:00
JeffR a0f8b29da7 Improves logical checks for the default value so it's more sane and stable
Allows creation of polyhedrons via constructor with a origin and vector format, allowing to have default polyhedron values on triggers and physical zones
2022-02-14 01:07:39 -06:00
Robert MacGregor 1b6b803a20 * BugFix: Clear a lot of warnings and correct a few actual programming errors along the way. 2021-10-04 20:04:21 -04:00
Areloch c5d5a91356 Add handling to RotationF's addRotation function to ensure formatted return 2021-09-28 18:17:49 -05:00
AzaezelX b7b4ced8d6 adds binary to decimal and vice versa methods 2021-04-02 14:08:26 -05:00
Lukas Aldershaab 9c4191702c Properly specify type of console types with a different native type 2020-11-15 21:32:29 +01:00
Lukas Joergensen b76a3fa508 Correct name of EaseF param in struct EngineAPI export 2020-11-15 21:30:45 +01:00
Lukas Joergensen a241d27b58 Expand EngineAPI type definitions 2020-11-15 21:30:45 +01:00
Lukas Aldershaab 973fd44c6a Profile editor for the meshRoad object
credit to Ryan Mounts (RDM)

found originally at http://www.garagegames.com/community/forums/viewthread/105391
2020-10-04 00:19:43 +02:00
Areloch 8956559bfd Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code. 2020-09-19 18:25:10 -05:00
Areloch 247c0eb34a Moves the delta-based rounding function Verve used up into the engine so it wouldn't override the regular mRound function. Now is mRoundDelta. 2020-07-18 02:53:34 -05:00
AzaezelX ebb7ed1b78 uninitialized variables-math 2020-05-11 16:17:40 -05:00
AzaezelX 022b87cac2 from user Ewyncat: adds invcameratrans, cameratoscrren, and screentocamera postfx and shader matrix interfaces.
also a bit of backend work to normalize those later once we've proof-of-concepted the calcs
2019-09-06 14:25:17 -05:00
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