Commit graph

8196 commits

Author SHA1 Message Date
AzaezelX 82435693dd decal atlas support work
allow a textureCoordCount to be used raw when texrows and coumns are not >1 in order to let the transmitted vector actually be used

correct and augment editDecalDetails to now read
      DecalEditorGui.editDecalDetails( %this.instanceId, %pos, %tan, %size, %uvID  );
it needed the word split to begin with, and also added the uvID for instance frame tracking/overriding
same token added a  getDecalFrame(%this.instanceId); method

todos: add a frame lookup and selector for the instance tab, modify decal display to account for non-square uv portions
2025-09-19 09:09:55 -05:00
Brian Roberts 099da1764f
Merge pull request #1552 from Areloch/terrainLoadedStateFix
Makes sure the loading code for terrain assets is properly assigned.
2025-09-15 21:40:18 -05:00
JeffR 11548d2630 Added early-out check if we're already successfully loaded 2025-09-15 21:26:56 -05:00
JeffR ce1be5e881 Makes sure the loading code for terrain assets is properly assigned.
This ensures stuff like saving works properly.
2025-09-15 21:16:34 -05:00
Brian Roberts 5d84b612bd
Merge pull request #1551 from Azaezel/alpha41/deDupeDsq
dsqs are a  subset of dts data
2025-09-14 16:59:31 -05:00
AzaezelX cd5f897e55 dsqs area subset of dts data
ensure if an input file contains mesh data *and* an animation, thats a dts, if it's *just* an armature, that's dsq
also fix shapeanimation tooltip display
and for furutere utility,  TSShape::isShapeFileType(Torque::Path filePath); is now static since it only requires a path, not an object instance per-se
2025-09-14 15:18:03 -05:00
Brian Roberts 50815c1a5a
Merge pull request #1550 from Azaezel/alpha41/clarifyCommand
clarify input value for some utility commands
2025-09-13 21:14:54 -05:00
AzaezelX 258237889f clarify input value for the makeTerrainMapsFrom and getImageFileName utility commands
it uses the "module:name" of the image. not the simid number
2025-09-13 21:13:53 -05:00
Brian Roberts dae9642ef8
Merge pull request #1549 from Azaezel/alpha41/filterForFBX
expand TSShape::addSequence filetype filtercheck
2025-09-13 17:08:31 -05:00
AzaezelX caae061b0e expand TSShape::addSequence filetype filtercheck
if we're going to be looking into additional file formats for animation sources, need to check all of the extensions
2025-09-13 10:14:52 -05:00
Areloch d7d64fdd9f
Merge pull request #1548 from Azaezel/alpha41/eventManagerSafeties
reformulation of subscriber message consumer
2025-09-12 00:46:56 -05:00
AzaezelX 6389b32f9b reformulation of subscriber message consumer
add extra safeties to subscriber message recipts

and just for good measure, don't bother listening for an event that will never be triggered
2025-09-11 22:28:44 -05:00
Brian Roberts 3bb948b431
Merge pull request #1547 from Azaezel/alpha41/nixFixProbePoke
fix filename referencing for isfile on unix derivative o/s's
2025-09-11 15:51:21 -05:00
AzaezelX 20924fb38d fix filename referencing for isfile on unix derivative o/s's 2025-09-11 14:57:56 -05:00
Brian Roberts be54d24269
Merge pull request #1546 from Azaezel/alpha41/spawnPosSorted
lock in spawnLocation at client controllable creation
2025-09-08 16:28:49 -05:00
AzaezelX 1fd55fe23a lock in spawnLocation at client controllable creation
ensure the initial position of the controller object starts at spawnLocation's position rather than relying solely on settransform to ensure at no point would a controllable touch an origin subscene unintentionally
2025-09-08 16:19:57 -05:00
Brian Roberts ac9400a1ec
Merge pull request #1545 from Areloch/GuiEditorSelectionListFix
Fixes issues with shifting the gui selection dropdown to be searchable via the Ex control.
2025-09-06 19:54:31 -05:00
JeffR 50e05800f4 Fixes issues with shifting the gui selection dropdown to be searchable via the Ex control. 2025-09-06 19:28:14 -05:00
Brian Roberts 1d2ed41ab3
Merge pull request #1544 from Azaezel/alpha41/openalupdate1_24_3
update openal-soft to 1.24.3
2025-09-03 12:48:53 -05:00
AzaezelX ba32094b7b update openal-soft to 1.24.3
keeping the alt 87514151c4 (diff-73a8dc1ce58605f6c5ea53548454c3bae516ec5132a29c9d7ff7edf9730c75be)
2025-09-03 11:09:27 -05:00
Brian Roberts 12db0500e8
Merge pull request #1543 from Azaezel/alpha41/curdledCurl
redundant file cleanup
2025-08-26 18:40:23 -05:00
Brian Roberts 9b266cc6bd
Merge pull request #1542 from Azaezel/alpha41/stabbyStabilizers
hovervehicle stabilizer fix for groundplane (and other things)
2025-08-26 18:40:14 -05:00
AzaezelX d345640298 redundant file cleanup
httpobject is a curl-modeule dependent class. that already exists in the curl module
2025-08-26 18:35:00 -05:00
AzaezelX b28aaa8baa hovervehicle stabilizer fix for groundplane (and other things)
use the generic collisionmask for the stabilizer castrays
2025-08-26 11:59:05 -05:00
Brian Roberts e73efc13c4
Merge pull request #1541 from Areloch/MiscFixes_20250825
Misc small fixes, improvements and QoL tweaks
2025-08-26 01:43:57 -05:00
JeffR 098a5ac36d - Fixed issue of TypeCommand field type not applying change when text was edited in the textpad
- Fixed it to check both 0 and -1 values when exiting out of shapeEditor since both can be returns
2025-08-25 23:42:58 -05:00
JeffR 9c654d7932 - Fixes the display of the preview in the MaterialAsset fields
- Hides the special-case direct filepath field for ShapeAsset persist fields macro
- Shifts the handling of TSStatics so the shape instance will load materials on the server as well as the client. This opens gameplay options as well as allowing rebaking of meshes functionality more easily
- Expands AssetBase's isValidAsset utility function to actually check validity instead of just returning true
- Adds isValid utility function to AssetPtr
- Added new field flag that makes the field not write out to file
- Removed legacy iconBitmap field from GuiIconButtonCtrl because it was causing errors
- Fixed group filtering check of guiInspector to ignore case
- Removed unneeded isFile checks for common datablock script files in Prototyping module script
- Removed test datablocks from Prototyping module
- Removed unnecessary container control from AssetBrowser
- Adjusted preview regen logic of AssetBrowser so it doesn't trip if you're simply resizing the window
- Fixed issue where row-vs-column layout logic for AssetBrowser when resizing window was fiddly
- Added handling for when Dragging and Dropping datablock from AssetBrowser to spawn, it'll prompt if it spawns the actual object, or a spawnsphere that spawns said object. In the event of an PlayerData will also prompt if it should spawn an AIPlayer
- Added ability to take a TSStatic that uses a baked down mesh and are able to restore it to the cache prefab, or trigger and in-place rebake to refresh it if something has changed in the original contents via RMB menu on the scene tree
- Added ability to explode prefab to RMB menu on scene tree
- Added ability to convert selection to prefab or bake to mesh in RMB menu on scene tree
- Tweaked sizing of the DatablockEditorCreatePrompt window to not have cut off elements and easier to see/work with
- Added sanity check to datablock editor creation
- Fixed preview display of material in Decal Editor
- Made compositeTextureEditor use the cached preview of images
- Fixed sizing/spacing of gui selection dropdown as well as resolution dropdown of GuiEditor
- Fixes MaterialEditor to properly save the group collapse state when editing
- Adds ability to in-flow edit and create datablocks in the NavMesh Editor for the testing panel, and makes the datablock dropdown searchable
- Fixed issue where opening the ShapeEditor via the edit button on a ShapeAsset field would cause the action buttons on the top bar to not show
- Fixed error in shape editor where when exiting it was erroneously checking for a clear value of -1 rather than 0
- Removed unneeded top tabbook and tab page for main editor panel
- Fixed issue where reset button of TerrainBrush Softness Curve editor didn't actually reset
- Resized Object Builder window to not cut off elements and have enough width to show more data
- Added a TypeCommand field type to Object Builder and changed spawnscript field of SpawnSphere to use it rather than a simple text edit field
- Allow SpawnSphere in ObjectBuilder to be passed in spawn class and spawn datablock default info
- Injects button to controllable objects when Inspecting them to make it easy to toggle if you're in control of it or not
-
2025-08-25 23:35:28 -05:00
Brian Roberts 6ee643d137
Merge pull request #1540 from Azaezel/alpha41/tabCycling
add tab cycling between inspector sub-elements
2025-08-24 19:57:05 -05:00
Brian Roberts 5a6ff8d118
Merge pull request #1537 from Azaezel/alpha41/wonkyWheels
skip transmitting server authorative wheel spin
2025-08-24 14:29:44 -05:00
AzaezelX 67f4ce44a6 add tab cycling between inspector sub-elements
for linked values like position, scale, extents ect
2025-08-24 12:11:31 -05:00
Brian Roberts 0dbfa4a601
Merge pull request #1539 from Azaezel/alpha41/compareContrast
correct DECLARE_<foo>ASSET assigns
2025-08-21 18:24:02 -05:00
AzaezelX 3123935472 correct DECLARE_<foo>ASSET assigns
use string compare there, not pointer compares
2025-08-21 15:40:07 -05:00
AzaezelX a0bd5dd426 from marauder: sleep threshold work 2025-08-19 08:49:05 -05:00
AzaezelX d5a111e9ff set isAtRest report to read-only 2025-08-19 08:29:50 -05:00
AzaezelX 5ea10f1cfc skip transmitting server authorative wheel spin
it's not in itself a force-injection, so we can just use the existing calcs (also. fix the exisitng calcs so slippling is properly cleared)
in addition, rigidshaeps shouldn't be trying to resolve collisions with things mounted to them any more than they should self-collide. it's a hard-locked relational association
2025-08-16 20:38:32 -05:00
Brian Roberts 2af8bf25d5
Merge pull request #1536 from Areloch/ForestEdDirtyFix
Fixes dirty status behavior of Forest Editor
2025-08-12 12:30:53 -05:00
JeffR ff2a4daa9f Ensures that when performing certain actions like painting, erasing, cutting or pasting, it will mark the forest editor as dirty so it will save as expected 2025-08-12 00:46:52 -05:00
Brian Roberts e2704b95c9
Merge pull request #1535 from Azaezel/alpha41/mipMangle
fix directx rendertarget crash
2025-08-11 23:21:45 -05:00
AzaezelX 00ee42e2a8 fix directx rendertarget crash
asset brower previews were asserting due to a cornercase rt assignment
also ditch mipgen for rts targetting a texture profile that's marked as nomip, and adjust hdr uopsampling shader to compensate for overdarks
2025-08-11 23:21:20 -05:00
Brian Roberts 0404b743f6
Merge pull request #1534 from Areloch/EscapeMenuActionmapFixes
Fix escape menu keybind not working
2025-08-11 09:19:24 -05:00
Brian Roberts 638e819f2d
Merge pull request #1533 from Azaezel/alpha41/connectionCleanups
clean up spawn chain
2025-08-11 09:19:13 -05:00
JeffR c2a46e4b45 Make sure to actually remove the signal registration too 2025-08-11 00:09:54 -05:00
JeffR 970aba9766 Fixes design oversight where the general game menu keybind was being overridden due to order of operations issues with an offscreen canvas demoing the options menu
Fixed via several solutions to prevent issue from cropping up again.
Firstly, Adjusted behavior script-side so game menu keybind is pushed with the PlayGUI since almost every single game will use the game menu
Secondly, added logic so that the guiInputCtrl, when going to push an ActionMap(if it has one) will check if it's root canvas is active.
Thirdly, to allow guiInputCtrls to respond to a canvas becoming active, such as a GUi-on-Material surface displaying a menu and it's activated, an offscreen canvas becoming active now trips a signal that guiInputCtrl listens for.
2025-08-11 00:06:42 -05:00
AzaezelX 73abc69a82 typofix 2025-08-09 22:22:34 -05:00
AzaezelX 26ea1b60fc ensure controlling client object is removed post onClienLeaveGame so each controllable object module doesn't have to remmber to do so 2025-08-09 19:54:51 -05:00
AzaezelX 229cc9709e postSpawnComplete listener cleanup 2025-08-09 19:35:06 -05:00
AzaezelX 2be21425df clean up spawn chain
ensure among other things that we're only subscribed to the completion or failed events for a given loading stage once all of them have checked in
also for callonobjectlist, see what module::callback method in particular is being itterated through for that stages batch when debugging
2025-08-09 12:54:29 -05:00
Areloch 13ec94ef6b
Merge pull request #1532 from Azaezel/mipwip
render target mipmap generation
2025-08-07 11:06:23 -05:00
AzaezelX 8d38fa0bc4 gl side mip sanity clamps 2025-08-06 12:57:59 -05:00
AzaezelX 12fdab166f Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into mipwip 2025-08-06 11:51:17 -05:00