Commit graph

8248 commits

Author SHA1 Message Date
marauder2k7
fa7a8df3aa linux required changes 2026-02-27 14:41:37 +00:00
marauder2k7
d8b511bbf9 mac isa neon update
added float3
restructured the classes to look more like the final version of the x86 classes
2026-02-27 14:07:26 +00:00
marauder2k7
657a606c57 Update math_backend.cpp 2026-02-27 11:32:58 +00:00
marauder2k7
f0a3251cd3 all float3 and float4 functions and isas
completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.
2026-02-27 11:28:51 +00:00
marauder2k7
18d0aa0418 further sse simd additions
avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend
2026-02-26 21:11:31 +00:00
marauder2k7
2559145c06 Update math_backend.cpp 2026-02-26 16:45:13 +00:00
marauder2k7
13ec0dfa82 Merge branch 'TEST-PR-Streaming-and-Lazy-loading-ghosts' of https://github.com/marauder2k9-torque/Torque3D into TEST-PR-Streaming-and-Lazy-loading-ghosts 2026-02-26 16:41:00 +00:00
marauder2k7
43d1a91873 neon float4
note: 64bit only
2026-02-26 16:40:49 +00:00
marauder2k7
25ccdde085 moar changes
mac implementation had _mm_div (x86 intrinsic)
2026-02-26 16:40:01 +00:00
marauder2k7
ea5442a6c6 Update CMakeLists.txt
fix mac build
2026-02-26 15:35:38 +00:00
marauder2k7
37aa67fa8a math backend setup
setup libraries for different simd isa's
add float4 functions for c sse2 and avx2 (placeholder file for neon to be implemented on mac)
2026-02-26 14:57:16 +00:00
marauder2k7
d0820996f3 basic simd math function overrides
beginning the implementation of overriding the math functions with sse2 sse41 and avx2 functions

Test simd math functions for float4 values

beginning implementation of float4 simd functions for x64 and neon

Update mMath_CPU.cpp

Update mMath_CPU.cpp

Update mMath_CPU.cpp

fix mac

fix linux compile

added flags for different simd availability
linux complained (as usual)

backup

alot more changes here added some matrix functions
most of the point3 and point4 is now converted over to simd functions
matrix now has a lot done by simd but transpose/normal/affine inverse/ inverse still to do

Revert "backup"

This reverts commit fb986e375d.

Revert "fix linux compile"

This reverts commit 8908bbe462.

Revert "Update mMath_CPU.cpp"

This reverts commit a59ba751eb.

Revert "Update mMath_CPU.cpp"

This reverts commit babde0e6d2.

Revert "Update mMath_CPU.cpp"

This reverts commit ea6c9cf5e8.

Revert "Test simd math functions for float4 values"

This reverts commit 6406ca1832.

Revert "basic simd math function overrides"

This reverts commit a7d92c344d.
2026-02-26 12:11:08 +00:00
marauder2k7
2b375bfea4 cpu info check
find avx2 and avx512
2026-02-24 15:03:22 +00:00
marauder2k7
8a72ce5674 cleanup
removed classes that are no longer used
2026-02-24 09:48:13 +00:00
marauder2k7
14b5c7221d Update simObject.h
scope error
2026-02-24 00:39:02 +00:00
marauder2k7
cc6a1c0932 Update simObject.h
test case for restoring destroySelf to simobjectptr (ghosting may require it)
2026-02-23 19:06:38 +00:00
marauder2k7
ca4517c076 working weak ref
WeakRefPtr now actually acts like a weak reference
backend of weakRefPtr is now a weak_ptr so once the main shared_ptr is freed, they all get freed.
2026-02-23 18:39:05 +00:00
marauder2k7
d688f1cfde Update simObject.h 2026-02-23 18:39:04 +00:00
marauder2k7
43e673d8ea ref pointers
TODO: Cleanup

WeakRefBase lifetime is now controlled by a shared_ptr and a control block
objects now act like shared and weakptrs so they free themselves without any outside involvement, last of an objects reference goes out of scope object deletes.
2026-02-23 18:39:03 +00:00
marauder2k7
f1f09efbfa backup
WeakRefBase is now threadsafe and uses an actual weak_ptr to drive its logic, strongrefbase is next.
2026-02-23 18:39:02 +00:00
marauder2k7
1fed963d82 updates
Fixed streaming logic to only happen when we are not editing a mission, also some issues with objects that cannot be streamed eg camera, and player.

Reverted limits
2026-02-23 18:39:01 +00:00
marauder2k7
eecc2bdaee Test PR of lazy load of ghosts and scene streaming
For now scene streaming only affects how subscenes are loaded. If you try it on everything in a scene expect issues as the namespaces are not linked up at that point.

This is a TEST! Do not merge! If you do you will open up a gate to an alternate reality where all that you believe will cease to exist in an endless void of darkness.
2026-02-23 18:39:00 +00:00
Brian Roberts
23e30e801f
Merge pull request #1669 from Azaezel/alpha41/reflectionCorrection
Some checks are pending
Linux Build / Ubuntu Latest GCC (push) Waiting to run
MacOSX Build / MacOSX Latest Clang (push) Waiting to run
Windows Build / Windows Latest MSVC (push) Waiting to run
make reflectors optional
2026-02-23 10:23:49 -06:00
AzaezelX
01b10cfb89 make reflectors optional
don't waste memory per object-instance on non reflective objects
2026-02-19 14:46:19 -06:00
Brian Roberts
2dae0fbbad
Merge pull request #1668 from marauder2k9-torque/development
Some checks failed
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
Various tweaks and fix for font cache
2026-02-16 21:24:46 -06:00
marauder2k7
562756a306 Update guiBitmapCtrl.cpp 2026-02-17 00:23:53 +00:00
marauder2k7
6f0c31468f various fixes
added fix for font cache (stb required size to be read switch back to libpng knocks the stream off)

Added extra control over the rendering of guibtimaps
If guibitmaps are a child of buttons the profile colors now affect how to the button is rendered.
2026-02-17 00:13:10 +00:00
Brian Roberts
2c0558840a
Merge pull request #1667 from Azaezel/alpha41/fontsaveButton
Some checks failed
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
add a (re)Generate font cache button to the profile tab
2026-02-13 10:34:19 -06:00
AzaezelX
34ea855031 add a (re)Generate font cache button to the profile tab
also add a zeroth %sidebar-->button
2026-02-02 22:59:10 -06:00
Brian Roberts
c4931e6bed
Merge pull request #1666 from Azaezel/alpha41/clickClackClunkiness
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
folllowup to https://github.com/TorqueGameEngines/Torque3D/pull/1661
2026-02-02 22:21:32 -06:00
AzaezelX
8874c250da folllowup to https://github.com/TorqueGameEngines/Torque3D/pull/1661
if onImage (the up/down arrow, not to be confused with the class icon) go ahead and open/close the tree view wether we're selected or not
2026-01-30 10:34:19 -06:00
Brian Roberts
476ed66932
Merge pull request #1665 from Azaezel/alpha41/beNormal
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
ConvexShape corrections
2026-01-26 19:09:53 -06:00
AzaezelX
afb3ed0f27 more straightforward (and corrected) texcoord assignment 2026-01-26 12:45:57 -06:00
AzaezelX
b56867be55 clean up straight downward facing convexshape normals 2026-01-26 12:12:23 -06:00
Areloch
5db8c75083
Merge pull request #1655 from Azaezel/alpha41/exposedBone
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
provide a global scriped variable for TSShape::smMaxSkinBones
2026-01-21 19:35:14 -06:00
Brian Roberts
84b2405efb
Merge pull request #1656 from Azaezel/alpha41/aiAugs
expanded movement state data for aicontrollers
2026-01-21 18:59:16 -06:00
Brian Roberts
d2b63f73a8
Merge pull request #1661 from Azaezel/alpha41/clickclack
fix clicking a treeview element tripping expand/collapse
2026-01-21 18:59:03 -06:00
Brian Roberts
96dda12c53
Merge pull request #1664 from Azaezel/alpha41/camCam
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
address https://github.com/TorqueGameEngines/Torque3D/issues/1663
2026-01-21 12:25:19 -06:00
AzaezelX
aacb41ce0b adress https://github.com/TorqueGameEngines/Torque3D/issues/1663
by ensureing if the players is a camrea, then %conection.camera knows it's the same thing
2026-01-21 12:16:12 -06:00
AzaezelX
89fb2990df fix clicking a treeview element tripping expand/collapse
set the wasselected check earlier in the test chain, and test against it  so just selecting it doesn't automatically also trip expand/collapse
2026-01-20 11:56:44 -06:00
Brian Roberts
475142b847
Merge pull request #1660 from marauder2k9-torque/DefaultArgStringFix
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Fix for String arguments for functions
2026-01-20 04:00:01 -06:00
marauder2k7
3a4e2f8a7e Update astNodes.cpp
strings that are arguments for a function need to be put into the global string table. PrecompileIdent does this for the function name etc so it pulls from that during compiled eval
2026-01-20 08:26:51 +00:00
Brian Roberts
6e96c0510d
Merge pull request #1659 from Azaezel/alpha41/decalInstPreview
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
fix decal instance preview
2026-01-19 21:37:15 -06:00
Brian Roberts
9cd04a2a67
Merge pull request #1657 from Azaezel/alpha41/singletonSpam
dont try and recreate singletons
2026-01-19 21:37:10 -06:00
Brian Roberts
5361e59a2d
Merge pull request #1658 from Azaezel/alpha41/itsAboutControl
GameBaseData::onNewDataBlock reload state
2026-01-19 21:37:04 -06:00
AzaezelX
0b19bd9aca fix apcrash when loading a new mission after painting decals but before properly selecting a new one to paint 2026-01-19 21:28:48 -06:00
AzaezelX
d8f585c552 fix decal instance preview
update previews for instance selection just like we do db selection
2026-01-19 12:28:10 -06:00
AzaezelX
15f619c1aa GameBaseData::onNewDataBlock reload state
if live editing a datablock for an object you're piloting, reapply the control post onadd
2026-01-19 12:00:10 -06:00
AzaezelX
0f827ac89e dont try and recreate singletons 2026-01-19 11:15:42 -06:00
AzaezelX
8411ae3c4b kill pointless line 2026-01-18 17:51:33 -06:00