Commit graph

5129 commits

Author SHA1 Message Date
AzaezelX f78f3606b5 add executing file reporting to the trace(true/false) script command 2025-12-14 16:33:39 -06:00
marauder2k7 cc17dcdc17 Update assimpShapeLoader.cpp
signage still causes issues
2025-12-10 08:21:47 +00:00
marauder2k7 a716107dd2 Assimp Import Axis
Build a matrix to fix the assimp import to be zup yforward
2025-12-10 04:52:03 +00:00
Brian Roberts bebce304b3
Merge pull request #1603 from Azaezel/alpha41/assetNetworkFollowup
followup to https://github.com/TorqueGameEngines/Torque3D/pull/1601
2025-12-09 21:31:30 -06:00
marauder2k7 34a8e5ef52 follow up to asset data management 2025-12-10 03:27:54 +00:00
AzaezelX 3ec347b2bb followup to https://github.com/TorqueGameEngines/Torque3D/pull/1601 2025-12-09 18:46:00 -06:00
marauder2k7 74638c0f2c Asset data management
Added functions to AssetManager to pack/unpack assets using an id hash instead of their id string this cuts down how much data is sent across the network for assets

All asset macros updated to use this new functionality.
2025-12-09 10:05:39 +00:00
Brian Roberts 42e8687067
Merge pull request #1596 from Areloch/ReflectProbeDataCleanupFix
Some checks failed
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
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
Add cleanup of irradience and prefilter cubemap datas in reflection probes when the probe is deleted
2025-12-03 06:46:25 -06:00
JeffR 1741108a5b Add cleanup of irradience and prefilter cubemap datas in reflection probes when the probe is deleted 2025-12-03 00:47:00 -06:00
JeffR 66f924ebd4 Updates TerrainMaterialAsset to utilize similar macros to everything else
Updates groundCover to utilize TerrainMaterialAsset macros in place of straight StringTableEntry for type layers
Fixes formatting for several asset types' inspector fields so they correctly call down into prompting the AssetBrowser being shown with correct field naming, thus allowing fields that are arrays to have the right index when setting the target variable
Updates several asset helper macros to handle blank values for network traffic to actually be sent to client, thus allowing setting an asset to blank on the client, rather than only falling back
2025-12-03 00:33:14 -06:00
Brian Roberts 9fe2eec813
Merge pull request #1587 from marauder2k9-torque/development
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
Placeholder function argument vars
2025-11-26 02:08:42 -06:00
AzaezelX 9bcf8a90b2 dsq detection filters 2025-11-25 19:03:38 -06:00
marauder2k7 891ede5d59 Update assimpAppNode.cpp 2025-11-25 10:09:18 +00:00
marauder2k7 f817d7d903 further assimp fixes
AppMesh position was being scaled twice since the node is now being scaled
Try and resolve fps from file instead of default 30
maxKeyTime should be outside the loop
2025-11-25 08:34:00 +00:00
marauder2k7 a5ed09fa57 fix assimp import
Assimp importer now sets the collada options to fix up axis transformation
bounds are now created by tsmesh
top level nodes are now added to the processNodes stack so bounds and other root nodes can be found correctly
2025-11-24 07:54:53 +00:00
Brian Roberts aa9a8154e1
Merge pull request #1592 from Azaezel/alpha41/crashTestDummies
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
crashfixes
2025-11-23 20:55:41 -06:00
AzaezelX 2b8d7855e4 crashfixes
IRangeValidatorScaled display was looking in the wrong var
afxMagicMissileData was misconverted and lacked a NULL initializer
2025-11-23 15:10:37 -06:00
Areloch f2da4ac828
Merge pull request #1588 from marauder2k9-torque/XM-Document-Blind-Traversal
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
XML Document Blind element traversal
2025-11-21 22:06:29 -06:00
Areloch 91e354fe99
Merge pull request #1591 from Azaezel/alpha41/thumbsSideways
scroll thumb safety
2025-11-21 21:55:57 -06:00
Areloch b8ae99e70e
Merge pull request #1590 from Azaezel/alpha41/glCVBSafety
circular volatile buffer safety
2025-11-21 21:55:47 -06:00
AzaezelX 75883f74cf scroll thumb safety
avoid divnull
2025-11-20 20:56:18 -06:00
AzaezelX 473a45fbca circular volatile buffer safety
add padding to the circular volative buffer overlap test to avoid loop artifacting
2025-11-20 10:04:20 -06:00
marauder2k7 fe982c730c Revert "Update astNodes.cpp"
This reverts commit 9d9fe0db77.
2025-11-16 14:17:14 +00:00
marauder2k7 9d9fe0db77 Update astNodes.cpp 2025-11-16 06:02:53 +00:00
marauder2k7 c53d79a8cf XML Document element traversal
Allows traversing an xml document by element without needing to know the element name
Blind traversal allows more dynamic loading of xml docs and logic to wrap different outcomes

new script functions:
prevElement
nextElement
nextChildElement

<main> <--- we are here
  <child> <-- nextChildElement will take us here
  </child>
  <child2> <-- after nextChildElement nextElement will take us here
  </child2>
</main>
<main2> <-- next element will bring us here
</main2>
2025-11-15 19:02:45 +00:00
marauder2k7 b0f8a5f9bd tscript change
Adds the ability to declare defaults for function arguments

eg
function testFunc(%x = 1, %y = 1)
{
    return %x + %y;
}

can now be called as
testFunc(10) and it will return the value of 11.
2025-11-15 17:38:13 +00:00
Brian Roberts 7e64493dbf
Merge pull request #1586 from Azaezel/alpha41/missionMarkerFilter
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
add conditional filter for missionmarker autospawn
2025-11-13 15:24:33 -06:00
Brian Roberts 8c0e7492f6
Merge pull request #1585 from Azaezel/alpha41/miscFixes11.13.25
misc fixes
2025-11-13 15:24:09 -06:00
AzaezelX cbf407bc10 add conditional filter for missionmarker autospawn 2025-11-13 14:58:36 -06:00
AzaezelX cce40efd35 fix particle glow
multiple preloads were failing to return false or mesages on failure of mandatory entries.
clear out redundant isScriptFile definition
fix default order of /scripts/managedData script files
2025-11-13 14:29:25 -06:00
marauder2k7 320b91fe34 link libs 2025-10-29 01:47:22 +00:00
Brian Roberts ca2c502269
Merge pull request #1581 from Azaezel/alpha41/netpipeNarrowing
Alpha41/netpipe narrowing
2025-10-23 14:47:40 -05:00
AzaezelX 3ff3a5eef4 sceneobject xform transmission review 2025-10-23 09:42:47 -05:00
AzaezelX 4579f327b4 network reductons
first pass, tsstatic
sceneobject under review
2025-10-22 23:35:35 -05:00
AzaezelX c0bd8de143 shift glow logic to use a bool. we'll likely make that a scalar at some point, but not at the last second
gl math parity. for proper *command* parity we'll need to hunt down why it' forcing it to version 110
2025-10-20 12:11:56 -05:00
AzaezelX ab80a842aa fix particle glow 2025-10-20 10:56:19 -05:00
Brian Roberts 5d260bc58f
Merge pull request #1578 from Azaezel/development
PROFILE_START_IF profiler macro
2025-10-16 19:37:48 -05:00
AzaezelX ba18fdbe6d PROFILE_START_IF profiler macro
sig is an action, a stringtable variable, and an unquoted string to compare against
demonstrated with bitmapSTB
2025-10-16 18:11:29 -05:00
JeffR 6b3fcd8e74 Shifts the console method for manually invoking load() from being ShapeAsset specific to being generalized to AssetBase 2025-10-13 08:13:37 -05:00
Brian Roberts 1277b1a347
Merge pull request #1573 from marauder2k9-torque/Taml-Json
Taml Binary compilation and JSON format
2025-10-13 07:26:42 -05:00
JeffR e02981c848 Fixes various reported issues with the ShapeEd update
- Updates addSequence for the TSShapeConstructor so it can properly understand if it's handed an assetId or not, and if it is, stores that as the source data for use later
- Has the added benefit of ensuring no erroneous double-ups of data causing accidental overwrites when saving the shapeConstructor because it thinks the data 'changed'
- Fixed saving of new added sequences in shape constructor to properly trip whitespace
- Adds ability to manually trigger a ShapeAsset to load the shape data
- Adjusted the logic for getting a shape/animation asset's constructor when adding a new sequence to avoid false reporting of no constructor existing(by manually loading it)
- Fixed formatting on ShapeEd Anim window to properly scale
- Added onWake calls for the ShapeEd select and properties windows to better prep them position/extents-wise so they should behave more consistently
- Fixed issue of Not closing material editor if it was opened via the Edit Selected Material button in the ShapeEd
- Fixed issue of highlighting of material not going away when ShapeEditor is closed
2025-10-13 00:07:46 -05:00
marauder2k7 e1bcced905 Update assetManager.cpp
load compiled binary if it exists and is newer than the asset file
2025-10-12 19:43:50 +01:00
marauder2k7 48680700ab Update taml_ScriptBinding.h
even simpler
2025-10-12 19:43:48 +01:00
marauder2k7 efe8c184d4 Update taml_ScriptBinding.h
fix spam on saving, we only care about compression when baml is being written out. set it to false for all apart from where specified as binary, if the format is specified then turn off auto format. This warning was also wrong its binary format
2025-10-12 19:43:46 +01:00
marauder2k7 b074b9fc1f binary parsing working
finally....
2025-10-12 19:43:44 +01:00
marauder2k7 140e9dbfc6 taml binary parsing
added taml binary parser
2025-10-12 19:43:42 +01:00
marauder2k7 55afef7b3d Update assetManager.cpp
fs
2025-10-12 19:43:41 +01:00
marauder2k7 91fc70f15a Update assetManager.cpp 2025-10-12 19:43:39 +01:00
marauder2k7 64605a5c00 Update assetManager_ScriptBinding.h 2025-10-12 19:43:38 +01:00
marauder2k7 f1658d2e1e add compile options to asset manager
CompileAll - allows us to compile all assets to binary
CompileModuleAssets - allows us to just compile assets for a specific module
CompileAsset - compile a single asset
2025-10-12 19:43:36 +01:00