Commit graph

7232 commits

Author SHA1 Message Date
AzaezelX
24a1636edd correct malformed error reporting 2024-08-28 17:14:42 -05:00
AzaezelX
39300b18a8 fix misbehaving imposter display
corrects display of imposters when pole capture is on
2024-08-28 10:33:12 -05:00
Brian Roberts
0d07823ecd
Merge pull request #1305 from Azaezel/alpha41/beNormal
let normal maps handle raw file locations (imposter support)
2024-08-26 20:08:09 -05:00
AzaezelX
2629d28520 let normal maps handle raw file locations (imposter support) 2024-08-22 18:16:19 -05:00
Brian Roberts
2bbd5db767
Merge pull request #1304 from Azaezel/alpha41/audiofix2
guiaudio crashfix on exit
2024-08-08 00:22:20 -05:00
AzaezelX
1055dc8415 guiaudio crashfix on exit
further ensure sound playback isn't even started unless the test condition is true and the gui element is awake
remove redundant sfx->stop(). already does so with SFX_DELETE(source)
2024-08-07 21:51:36 -05:00
Brian Roberts
35e50b54b9
Merge pull request #1302 from Azaezel/alpha41/guiAudioCtrlFixes
guiAudiocCtrl fixes
2024-08-07 17:51:13 -05:00
Brian Roberts
9260250be1
Merge pull request #1303 from Azaezel/alpha41/lightBright
fix light emission point for shapebaseimaged
2024-08-07 17:49:43 -05:00
AzaezelX
7678f680a4 fix light emission point for shapebaseimaged
light generally comes from the muzzle of a gun, not the ground
2024-08-07 11:02:46 -05:00
AzaezelX
e4b1a869a3 hook up baseline button audio 2024-08-06 08:37:53 -05:00
AzaezelX
9b5f137f77 guiAudiocCtrl fixes
ditch description: not needed.
set process ticking off when the gui element is put to sleep
for the case of re-use of 3d sounds, set emission to the listener position
2024-08-05 17:51:17 -05:00
Brian Roberts
cfe76944e7
Merge pull request #1300 from marauder2k9-torque/macosx-build-copy-dependencies-fix
Macosx cmake cleanup and copy fix
2024-08-05 17:41:54 -05:00
marauder2k7
250b66b4db Update torque_macros.cmake
applying fixes in a hurry cause problems
2024-08-05 01:06:29 +01:00
marauder2k7
0374da0077 Update torque_macros.cmake
since this is showing in the cmake gui may as well make it unique for each framework..
2024-08-05 00:44:36 +01:00
marauder2k7
02de5160cf Update torque_macros.cmake 2024-08-05 00:38:46 +01:00
marauder2k7
9d51fc2830 fix packing
now openal and sdl are embedded in the app bundle along with their symlink alternatives
clear out the openal framework and use the embedded dll instead

archiving works and will produce a notarized app if you provide the correct information and enable hardening.
2024-08-04 14:54:25 +01:00
marauder2k7
7177e491dd Update torqueMacOSconfigs.cmake
simplify macos configuration

now sdl and openal no longer complain about multiple rpaths
2024-08-03 15:37:30 +01:00
marauder2k7
d62b40a9bf initial commit
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +01:00
marauder2k7
3b4ce5f4b5 cmake option
cmake option to enable the templated matrix class, this is still in review phase, if it gets merged into main, probably best to remove this options just in case someone activates it accidentally.
2024-08-01 18:29:38 +01:00
marauder2k7
2ed9fbb6ff Update mathMatrixTest.cpp 2024-08-01 05:07:54 +01: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
5883e3d45b Update mathMatrixTest.cpp
test box multiplication
test transformPlane
2024-07-29 22:46:16 +01:00
marauder2k7
8c19f6d8ca inverse function
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00
marauder2k7
fc058aaa5c Update mathMatrixTest.cpp
change mul tests to use more real world examples
2024-07-29 20:45:30 +01:00
marauder2k7
409f523dc3 Update mathMatrixTest.cpp
more tests that match between template and matrixf
2024-07-29 20:01:39 +01:00
marauder2k7
f77ff37e08 Create mathMatrixTest.cpp
committed tests for matrix class
so far all tests are matching between templated and stock matrixf class
2024-07-29 19:24: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
Brian Roberts
95c7e9f3f2
Merge pull request #1299 from Azaezel/alpha41/abFixes
fix guiwindowCTRL callback
2024-07-29 04:06:16 -05: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
AzaezelX
265ce8429b fix guiwindowCTRL callback
also set asset browser to use rows or columns depending on which dimension is longer
2024-07-28 05:51:03 -05:00
Brian Roberts
0d4f827c3a
Merge pull request #1298 from Azaezel/alpha41/updatedxCompiler
update d3dCompiler_47
2024-07-28 04:34:21 -05:00
AzaezelX
bb77091361 update d3dCompiler_47
this one's been vetted for steam decks
2024-07-28 04:33:10 -05: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