Commit graph

5378 commits

Author SHA1 Message Date
Brian Roberts a80502d50d
Merge pull request #1654 from Azaezel/typofix
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
typofix
2026-01-17 12:45:08 -06:00
AzaezelX 7d020b9379 typofix 2026-01-17 12:44:41 -06:00
AzaezelX b8f7d186d3 default controlables and items to mPathfindingIgnore = true; 2026-01-14 09:21:57 -06:00
AzaezelX 4481bdc726 don't use MarkerObjectTypes for navmesh generation
do use a minium radius for clicking on a link to select it in the tooling
2026-01-13 20:02:37 -06:00
JeffR 322d3bb093 Allows setBitmap calls on IconButtons to set the bitmap data even if the control isn't awake to avoid issues of a set call being 'skipped' 2026-01-07 17:57:53 -06:00
marauder2k7 1b528b818e Update bitmapUtils.h
the conversion functions were making assumptions that were wrong based on mant being 0 and the out being 0 completely on small numbers also if the sign was flipped it rounded to 0. Also simplified
2026-01-02 11:37:36 +00:00
marauder2k7 848219e226 Update bitmapUtils.cpp
add conversions for packed texture formats
2026-01-01 15:07:33 +00:00
Brian Roberts 1c92b5b138
Merge pull request #1649 from marauder2k9-torque/Restore_LibPNG
Restore lib png
2026-01-01 08:37:59 -06:00
marauder2k7 948fdfd353 Update pngpriv.h
fp.h is deprecated in macosx so just include math
2026-01-01 12:13:12 +00:00
marauder2k7 37934ccdac downgrade libpng
added zlib_root to libpng includes
2026-01-01 11:47:39 +00:00
marauder2k7 782ac5d82c Update pnglibconf.dfa 2026-01-01 11:13:31 +00:00
marauder2k7 5d644b4ffb update libpng
update libpng, the repo now requires a vcpkg setup for integrating but skipping the install step should allow it to work for windows an linux, mac might need more
2025-12-31 20:11:14 +00:00
marauder2k7 c593d860a0 Update CMakeLists.txt 2025-12-31 19:36:51 +00:00
Brian Roberts 0f32c10a2c
Merge pull request #1647 from marauder2k9-torque/development
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
Update guiPopUpCtrl.cpp
2025-12-31 10:00:47 -06:00
marauder2k7 7f351ef429 Restore LIBPNG for png files
Restores the use of libpng for png files as stb does not support writing out 16bit png files.
2025-12-31 11:00:07 +00:00
marauder2k7 26ae2f8420 Update guiPopUpCtrl.cpp
Fix for "|" in text for popupctrl

If 1 was found it was just assuming all other bars existed for a colour input.

there could be a cleaner way to do this but the direct approach allows for clear safeties.
2025-12-31 05:55:11 +00:00
AzaezelX 5ffa3b81f1 dial back nullPtr usage
while it still remains a good idea to port as many NULL compares and assignments over to nullPtr as feasable, we do still need to sort out how to better support scripted empty, false, and zero assigns for things like objectIDs.

this means we'll need to both fully convert the backend of the parser to support that kind of thing, but also alter most if not all exisiting NULLs. up to and including things like SAFE_DELETE. while that's certainly feasable, given there's aproximatel 400 nullptr assigns/checks prior to this commit, and roughly 1800 of the prior, if it terminates in a script call and not an aip one direct, we'll be dialing that back until such time as fork fully fopcused on converting and resolving any lingering mismatches is completed.
2025-12-29 17:45:09 -06:00
AzaezelX c65343b3c2 truncation correction
followup to https://github.com/TorqueGameEngines/Torque3D/pull/1639
clean up output calc formatting
2025-12-29 14:26:53 -06:00
Brian Roberts 7519c5693c
Merge pull request #1637 from Azaezel/alpha41/SDLUpdate2.32.10
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
update sdl2 to 2.32.10
2025-12-28 14:14:39 -06:00
vitawrap f394db4b36
ConvexFeature: Fix collision list object references
Turns out ConvexFeature::collide assumes the second round of testVertex calls will only add one entry to the collision list at a time and was erroneously only changing the last object and material reference.
2025-12-28 17:46:46 +01:00
AzaezelX 67a74a0553 Revert "trip onadd in additional places"
This reverts commit 4f639a16b5.
2025-12-27 15:28:27 -06:00
Brian Roberts 7cad861536
Merge pull request #1640 from Azaezel/alpha41/ExtraOnAdds
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
trip onadd in additional places
2025-12-27 10:28:49 -06:00
AzaezelX 4f639a16b5 trip onadd in additional places
by request,
adds a per object-instance onadd for datablocks if an object instance *also* defines a class.
be mindful not to mix up which namespace is in use there, as you can not tag two different core class instances the same scripted class
implements the same with the same restrictions for simobjects in general
2025-12-27 09:02:21 -06:00
AzaezelX c0ce94f32a add material tileScale
by request
2025-12-25 19:52:06 -06:00
AzaezelX 0e4b08ead1 roll back _setitmap macro-mirroring. seems there was somethin off there 2025-12-25 18:59:03 -06:00
AzaezelX d50161d296 fix GuiBitmapButtonCtrl setBitmap script command
it was pointing at the macro method direct, not the bespoke case that *also* calls the macro method.
2025-12-25 17:47:31 -06:00
AzaezelX 4823dee76e update sdl2 to 2.32.10 2025-12-24 13:35:39 -06:00
AzaezelX 5b2274d203 don't trip onInspectorFieldModified unless the value actually changed 2025-12-23 11:49:24 -06:00
AzaezelX 88e9de47d7 add text selection to tab cycling 2025-12-23 11:15:33 -06:00
Brian Roberts a181f488b2
Merge pull request #1633 from Azaezel/alpha41/dsqFindings
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
dsq followup work 1
2025-12-22 16:47:35 -06:00
AzaezelX 17326b2d8c add optional mip and face lookups for gbitmap::getcolor 2025-12-22 16:45:27 -06:00
AzaezelX 3213ede656 dsq followup work 1
fix animation export filename eroneous append
add ::canLoadCachedDSQ(const Torque::Path& path) methods to dae and assimp chains

SPECIAL NOTE:
as the above leads to dsqs not being previewable in editor, nor being able to understand they shouldn't be filtering out bones, for the block
         bool readSuccess = false;
         if (canLoadCached)
         {
            readSuccess = shape->read(&cachedStream);
         }
         else
         {
            readSuccess = shape->importSequences(&cachedStream, cachedPath);
         }
we'll be wanting to inject an armature proxy method to fill out          TSShape *shape = new TSShape;

untill such time as that's sorted, there's a bool gTryUseDSQs = false; killswitch in for dsqs
2025-12-22 11:13:33 -06:00
marauder2k7 3aef90a6bc Update GFXTextureManager and GBitmap
GBitmap Changes:
Added all other formats to gbitmap that we support
gbitmap now supports cubemaps
added converters for all these other formats
added stb_image_resize for extrudemips so we can extrude mipmaps for all other formats

GFXTextureManager
Can now directly make cubemaps and texture arrays based on the GFXTextureProfile
API implementations for all functions that cubemaps and arrays needed
2025-12-22 10:29:01 +00:00
JeffR 12ebebff46 Update of Particle Editor to standardize it up and utilize inspectors rather than adhoc guis 2025-12-21 16:39:19 -06:00
Brian Roberts 16d7a5f0f4
Merge pull request #1625 from Azaezel/alpha41/navmeshDefaults
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
navmesh creation default fixes
2025-12-18 19:15:18 -06:00
AzaezelX c9bc7aa6cb navmesh creation default fixes
fx navmesh scale detection
fill in mission file based .nav file name
account for walkableclimb having more filter weight than walkableslope when it comes to slanted quads generating navmesh data
2025-12-18 13:56:28 -06:00
Brian Roberts 0e6be15c7b
Merge pull request #1622 from Azaezel/alpha41/assimpAnimCLeanups
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
animation playback cleanups
2025-12-17 19:18:22 -06:00
AzaezelX 5b0f559c9f animation playback cleanups
courtessy of marauder
2025-12-17 15:42:13 -06:00
AzaezelX 80c49ec692 fix AnimValue smooth values on clients
the dbs were not transmitting the bools
2025-12-17 15:00:24 -06:00
AzaezelX 8d0fde4d1c simplified translucent opacity nudging
the basic articulable principle is the thicker and less translucent a given object is, the more it mimics standard solid objects. the more transparent, the less light bounces back since it continues on uninterrupted, casuing less backscatter.
2025-12-16 15:46:37 -06:00
Brian Roberts 854bea3246
Revert "take ibl amount into account for translucent opacity" 2025-12-15 13:53:31 -06:00
Brian Roberts e9a8961543
Merge pull request #1612 from Azaezel/alpha41/translucentReflectionOpacity
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
take ibl amount into account for translucent opacity
2025-12-15 10:06:41 -06:00
Brian Roberts 30ef348124
Merge pull request #1610 from Azaezel/alpha41/physicsFindings
physics findings
2025-12-15 09:49:06 -06:00
AzaezelX f78f3606b5 add executing file reporting to the trace(true/false) script command 2025-12-14 16:33:39 -06:00
AzaezelX fad8e12667 take ibl amount into account for translucent opacity 2025-12-13 20:52:36 -06:00
AzaezelX 4c083d713d physics findings
rigid: main finding is rigid needs to take delta into account for integration (aka interpolation)
also used POINT_EPSILON for thresholds for consistency

for rigidshape/item/player, main finding was length calcs for the search area were all over the place,
so we now derive the extended length of the cached area based on the velocity and the object's radius itself rather than guessin per class

atrest gravity calc suplimental syncing between rigidshape and vehicle

**remindernote POINT_EPSILO is 0.0001
2025-12-13 17:41:21 -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