Commit graph

4578 commits

Author SHA1 Message Date
Brian Roberts 8274bbbca4
Merge pull request #1342 from Areloch/SpawnObjectOverrideOverhaul
SpawnObject Override Overhaul
2025-01-03 09:44:37 -06:00
JeffR 46f6f6a9da Added field to ModuleDefinition for priority, which can be used to process/sort them in priority order
Added logic to ModuleManager's findModules method to allow priority sorting as well as pre-filtering by a given module group
Adjusts the %isFine argument for the onMapLoadFailed callback events to %canContinueOnFail for a bit more clarity on what the arg conveys
Shifts the setSpawnObjectType, setSpawnPoint and onPostSpawn call stack to utilize an event manager to allow the setup process for spawners and gamemode prepwork to run in it's own time, if needbe. Such as if a gamemode has to generate a map and there's no guarantees on when it'll b e done for one client vs another
Added getModulesAndGameModesList, callOnObjectList and getNumCanCallOnObjectList utility functions
2025-01-03 00:37:25 -06:00
Brian Roberts 69fa4b389f
Merge pull request #1340 from marauder2k9-torque/ImageAsset-NamedTexTarget
NamedTexTargets as ImageAssets
2024-12-23 03:12:22 -06:00
Brian Roberts 783f2a03b4
Merge pull request #1341 from Azaezel/alpha41/probeOffsetFix
fix probe capturepoint nudge utility
2024-12-23 03:12:07 -06:00
AzaezelX 9eb87b9555 fix probe capturepoint nudge utility 2024-12-16 12:01:53 -06:00
JeffR bf9692a451 Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape
Fixes behavior with gamemode selection in ChooseLevelMenu so if there is only one gamemode, it is auto-selected and advances to the level selection
Update ExampleLevel in ExampleModule to have updated gamemodes field name
2024-12-15 23:48:16 -06:00
JeffR 81ac23fd35 Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-12-15 18:39:03 -06:00
marauder2k7 0458228e1c Update processedMaterial.cpp
revert console spam
2024-12-14 18:58:31 +00:00
marauder2k7 7b73ce7a2f Update ImageAsset.cpp 2024-12-14 16:26:02 +00:00
marauder2k7 f5f50723ed final cleanup 2024-12-14 14:47:46 +00:00
marauder2k7 1edfbcf447 fixes for reload and flush 2024-12-14 13:37:23 +00:00
marauder2k7 f6dc694bd4 fully working 2024-12-14 01:18:46 +00:00
marauder2k7 85463c85ac named targets for image assets
image assets can now be bound to a named texture target
if used in a material the target needs to exist before the material is initialized
2024-12-13 00:26:39 +00:00
marauder2k7 87de724d31 final cleanup 2024-12-12 15:08:01 +00:00
Brian Roberts 70f546aafe
Merge pull request #1338 from marauder2k9-torque/AssimpImporter-update
Assimp importer update
2024-12-12 08:45:20 -06:00
marauder2k7 4a1d664b6a final commit get this merged 2024-12-12 14:32:20 +00:00
marauder2k7 13a6df35cc mac/linux fix 2024-12-12 01:02:36 +00:00
marauder2k7 dcedcdd6f8 test cases
apply transform to root before importing scene
2024-12-12 00:21:37 +00:00
marauder2k7 742b341bcd Update assimpAppNode.h 2024-12-11 21:12:55 +00:00
marauder2k7 3966f561a6 Update assimpShapeLoader.cpp
missed that one
2024-12-11 19:33:21 +00:00
marauder2k7 aa294b37f6 final cleanup
cleanup types
cleanout unnecessary vars
only aboslutely necessary vars to collada utils remain, for tracking scale and up_axis etc.
2024-12-11 19:28:09 +00:00
marauder2k7 684f299e86 Update assimpShapeLoader.cpp
most uniform shape import across the formats....
2024-12-11 16:43:23 +00:00
marauder2k7 4ac9639a52 bkup commit
fbx details matching for skinned meshes, gltf still offset
2024-12-11 15:38:17 +00:00
marauder2k7 af6722f547 Update assimpShapeLoader.cpp
because of the convert to lefthand gltf all formats are good with Y_UP
2024-12-10 18:41:14 +00:00
marauder2k7 5beef47b23 dont autoconfig up axis set it explicitly for the formats 2024-12-10 16:46:29 +00:00
marauder2k7 28fcb8d68b animation update
updated how animations are handled from assimp
gltf timing now correct
2024-12-10 11:54:13 +00:00
marauder2k7 5f1c2a63e5 Update assimpShapeLoader.cpp
fix for mac and linux build
2024-12-10 00:41:23 +00:00
marauder2k7 ca6e26520b Update assimp importing
assimp importer now works for the most part for fbx and gltf
animations for gltf still need to be sorted out
2024-12-09 23:24:09 +00:00
marauder2k7 ef9d33bc68 Update mPoint4.h 2024-12-09 18:08:54 +00:00
marauder2k7 80bd8f8117 some enchancements for shadowmapping
new /= operator in point4f
_calcClipSpaceAABB in pssm no longer uses radius just transform points into light space and do min max
_roundProjection matrix also optimized.
2024-12-09 17:54:48 +00:00
JeffR 61d9e82ce5 Adds FIELD_SpecialtyArrayField field type and handling for it in PersistenceManager, as well as a use-case of it for the surface field in ConvexShape 2024-12-07 13:20:30 -06:00
Brian Roberts 03a348deb7
Merge pull request #1335 from marauder2k9-torque/MaterialPreview-Skylight-fix
Material preview get skylight bake
2024-12-04 20:04:36 -06:00
marauder2k7 7810ee4f51 Update guiMaterialPreview.cpp
light movement now makes sense
2024-12-05 00:34:17 +00:00
marauder2k7 a92b9d0e2d code review with az
changes per review, frustum wasnt dirty... i like it dirty
2024-12-05 00:17:44 +00:00
marauder2k7 e7a7935bd4 Update guiMaterialPreview.cpp
more "fixes"
2024-12-04 23:59:43 +00:00
marauder2k7 291c5c75b6 Update guiMaterialPreview.cpp
use mSaveFrustm to keep states between object switches
2024-12-04 23:45:32 +00:00
Brian Roberts c9b22a59b3
Merge pull request #1331 from Azaezel/alpha41/canvasClamping
add a canvas.constrainMouse(true/false);
2024-12-04 17:37:52 -06:00
marauder2k7 f288ffccba cubemap baking fix
the key part of this issue was to invert the order we were baking the faces. Not much of a fix but it works better than before need to get a proper fix implement
the way the issue is copying X+ into every other face but isnt doing it in the reverse order means the rtv for face 0 must be being replicated into all other faces.
2024-12-04 21:57:32 +00:00
Areloch 49c76cc486
Merge pull request #1332 from Azaezel/alpha41/configConfusion
correct malformed config passalong
2024-11-27 01:29:09 -06:00
AzaezelX f8f9e88dc6 correct malformed config passalong 2024-11-26 19:56:34 -06:00
AzaezelX de882b4024 add a canvas.constrainMouse(true/false);
command keeps a mouse point within the ap window (off by default)
2024-11-26 08:51:43 -06:00
Brian Roberts 65e11745fa
Merge pull request #1330 from Azaezel/alpha41/FixGLBDetection
fix glb detection
2024-11-25 21:03:56 -06:00
AzaezelX b1f68ec3fb fix glb detection 2024-11-25 21:03:29 -06:00
JeffR e56df92002 Used the math from PathShape updating to standardize updating the transform of the child objects 2024-11-17 14:53:04 -06:00
JeffR 75fb6683f5 Fixed up render transform handling for SceneGroups 2024-11-14 20:23:23 -06:00
JeffR 2c8adfdf93 Fixed child relative transforms for when SceneGroups are updated 2024-11-14 19:29:41 -06:00
JeffR 9ff2a56466 Fixed issue of mis-transforming child objects so rotation would be weird when rotating subscenes
Fixed issue of action buttons breaking with subscenes when going between child-object manip modes and not
2024-11-13 17:10:27 -06:00
Brian Roberts 1be326e0d0
Merge pull request #1297 from marauder2k9-torque/matrix-templated
Template Matrix class
2024-11-07 16:17:38 -06:00
JeffR e2d0cc1981 Fixes issue where Regenerate Bounds button for SceneGroup/SubScenes wasn't displaying by moving it to Editing inspector group
Added mode toggle for if changing the transform influences the child objects of a SubScene or not
Added onSelected/onUnselected callbacks for SimObjects to allow contextual behavior in the editor
Added functionality of programmatic/dynamic Tool Button Palettes
Added logic so when selecting SubScenes the world editor palette has new buttons for letting the move/rotate actions influence the child objects
2024-11-05 20:14:36 -06:00
AzaezelX 218caea9e8 remove filtes on misbehaving brushes.
correct range defaults
2024-10-28 09:39:02 -05:00