marauder2k7
a59ba751eb
Update mMath_CPU.cpp
...
fix mac
2026-02-25 16:58:03 +00:00
marauder2k7
babde0e6d2
Update mMath_CPU.cpp
2026-02-25 16:29:08 +00:00
marauder2k7
ea6c9cf5e8
Update mMath_CPU.cpp
2026-02-25 16:09:11 +00:00
marauder2k7
6406ca1832
Test simd math functions for float4 values
...
beginning implementation of float4 simd functions for x64 and neon
2026-02-25 15:06:04 +00:00
marauder2k7
a7d92c344d
basic simd math function overrides
...
beginning the implementation of overriding the math functions with sse2 sse41 and avx2 functions
2026-02-24 20:19:34 +00:00
marauder2k7
f24e9f5195
Update mathTypes.cpp
...
TransformF can take 7 or 3 values so on false just set position for now. We may need to change ParseProperty to return a count for such cases as this and be able to tell whether its just position, rotation or both being set
2025-05-16 17:27:34 +01:00
marauder2k7
e1c01cd49a
Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3
2025-05-12 14:45:41 +01:00
marauder2k7
0ff636e9ca
Update mathTypes.cpp
2025-04-10 08:56:40 +01:00
marauder2k7
77a7847eed
Update mathTypes.cpp
2025-04-10 08:56:20 +01:00
marauder2k7
fae5ebb9e8
null termination was wiping buffer
2025-04-10 08:55:42 +01:00
marauder2k7
2e64d36382
Update mathTypes.cpp
...
fix matrix types, should of been using columns not the rows
2025-04-10 08:13:10 +01:00
marauder2k7
cd7666bf2a
rename overloaded function so linux and mac stop bitching
2025-04-09 16:05:22 +01:00
marauder2k7
7c3fbfc9d8
add getter for console get types
...
templated function for getting data from a field
2025-04-09 15:14:46 +01:00
marauder2k7
f30ff6734e
Update mathTypes.cpp
...
mathtypes.cpp ConsoleSetTypes now converted
2025-04-08 10:13:48 +01:00
marauder2k7
1cb2109d6e
Update mathTypes.cpp
...
update matrix/ang types to use the new function
change all print's to warn's
2025-04-08 09:51:38 +01:00
marauder2k7
802f90bf69
init commit
...
initial commit of templated ParseProperty function
TypePoint and TypeRect consoleSetTypes now use the new templated function
2025-04-08 08:16:09 +01:00
marauder2k7
eca0820134
init commit
...
start of attempt 3
2025-01-23 22:12:52 +00:00
marauder2k7
9af22dc302
BUG: Probe baking look at matrix was wrong
...
Multiple fixes in files sent by Az but matrix look at function was creating a view matrix that messed up the capture.
Look at function for matrix now returns the correct matrix and bakes looking better
2025-01-07 15:44:19 +00:00
marauder2k7
ef9d33bc68
Update mPoint4.h
2024-12-09 18:08:54 +00:00
marauder2k7
80bd8f8117
some enchancements for shadowmapping
...
new /= operator in point4f
_calcClipSpaceAABB in pssm no longer uses radius just transform points into light space and do min max
_roundProjection matrix also optimized.
2024-12-09 17:54:48 +00:00
marauder2k7
a92b9d0e2d
code review with az
...
changes per review, frustum wasnt dirty... i like it dirty
2024-12-05 00:17:44 +00:00
marauder2k7
f288ffccba
cubemap baking fix
...
the key part of this issue was to invert the order we were baking the faces. Not much of a fix but it works better than before need to get a proper fix implement
the way the issue is copying X+ into every other face but isnt doing it in the reverse order means the rtv for face 0 must be being replicated into all other faces.
2024-12-04 21:57:32 +00:00
marauder2k7
b72b7882c2
unit test improved precision
...
change matrix unit tests to use POINT_EPSILON macro for testing precision
remove old matrix test class, was not used anyway
2024-08-01 05:04:13 +01:00
marauder2k7
699fa5ef77
Update mMatrix.h
...
invertTo should always just be const
return loop to * operator, explicit will not allow for scaling of rows and cols
2024-08-01 03:33:07 +01:00
marauder2k7
b5e729c179
Update mMatrix.h
...
add default destructor
2024-07-31 19:02:23 +01:00
marauder2k7
219792cc30
Update mMatrix.h
...
returning identity no longer necessary as fullinverse is its own algo
2024-07-31 18:54:22 +01:00
marauder2k7
165a2bea01
fix
...
fix invertTo function
unitTest to make sure matrix calling invertTo does not get changed.
reimplemented gauss jordan.
2024-07-31 18:52:18 +01:00
marauder2k7
ab4b4cbf96
cramer for inverse
...
added #if block around inverse methods to track down shadow bug
uses old inverse method as default for now.
2024-07-31 17:32:00 +01:00
marauder2k7
4078f3ad4e
inverse fixes
...
further tests showed issues with inverse function, now to better match what was originally happening, the inverse only happens on the 3x3 portion of the matrix and translation is handled separately.
Frustum test now uses more real world examples of a projection matrix. Test for the full unproject stack of math to test its result as unproject was where the issue about inverse originated
2024-07-30 17:54:16 +01:00
marauder2k7
f96e044d89
unit tests and fixes
...
implemented the rest of the tests
euler single dimension angle tests now pass, missed 1.0f in z
2024-07-30 13:00:32 +01:00
marauder2k7
d03851958d
more fixes
...
more unit tests revealed more discrepancies fixes applied.
2024-07-30 08:30:42 +01:00
marauder2k7
a5de2d9add
tests
...
added more unit tests to match values between templated and matrix
tests showed discrepancies in affineInverse, fixed the function to return what is expected.
2024-07-30 07:20:57 +01:00
marauder2k7
8c19f6d8ca
inverse function
...
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00
marauder2k7
54bb31c8bc
Update mMatrix.h
...
bracket lines
change functions to match mmath_c to figure out where the issue is.
2024-07-29 17:24:23 +01:00
marauder2k7
75c5a0919b
Update mMatrix.h
...
silence issues from macos clang
2024-07-29 16:39:08 +01:00
marauder2k7
2fa15191ae
Update mMatrix.h
...
most working example
2024-07-28 20:40:26 +01:00
marauder2k7
504b549ac0
Update mMatrix.h
2024-07-28 19:38:02 +01:00
marauder2k7
c61d36b799
closest
...
backup closest working example, no errors or warnings from compile, matrices arent correct though yet.
2024-07-28 19:36:07 +01:00
marauder2k7
888332a85c
rest of the implementation
...
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
marauder2k7
8f8cc32636
normalize and affineInverse
...
added functions for normalize and affineInverse
2024-07-28 11:54:44 +01:00
marauder2k7
2cee5f7e10
mul and operators
...
add mul functions and operators
code conformity changes
2024-07-28 09:02:49 +01:00
marauder2k7
02b5e85f61
implement struct example
2024-07-28 07:04:23 +01:00
marauder2k7
c0bcb8bd00
Update mMatrix.cpp
...
fix comment, torque is already column major, even though doc says its row major
2024-07-28 06:38:11 +01:00
marauder2k7
0f02c878ef
Update mMatrix.h
...
setColumn
setRow
isIdentity
only a few functions left
2024-07-27 23:06:59 +01:00
marauder2k7
dd25f1c58a
backup
...
initial implemenation of templated classes :
Matrix class first.
2024-07-27 15:29:54 +01:00
AzaezelX
ce36e2cac6
typofix
2024-04-10 16:27:30 -05:00
AzaezelX
65fe0be037
use consistent clipping
2024-04-10 15:17:24 -05:00
AzaezelX
f7ed077d82
round utility functions
...
add mRoundF to return nearest floating value to stepsize
2024-04-10 14:17:19 -05:00
marauder2k7
815832152d
changes on macosx
...
mac picked up a couple of left over issues.
2024-03-18 19:58:47 +00:00
marauder2k7
2b295fb7f0
rest of virtuals removed
...
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
2024-03-18 18:40:22 +00:00