Commit graph

4567 commits

Author SHA1 Message Date
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 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
JeffR 10d1aeca1f Shift tracking of dynamicObjects from strict child objects for Scenes, to tracking the objects but keeping them in the Cleanup Group to fix prefab loading behavior
Shifted to utilizing SimGroupInterator and persistenceManager to fix saving issues with SubScenes
Shifted to utilizing SimGroupIterator for Scene saving to standardize and minimize object misses
Changed prefab load file logic to add loaded child simgroup to rootscene for consistent tracking and avoiding conflicts with subScene's hijacking the ImmediateGroup var
Reduced duplication of build<type>field callback for inspectors
Added more standard field type lookups to inspector group when creating a field to avoid misses for types like 'F32' or similar.
Folded the added-on MinSize/MaxSize/SimgroupSelect fields for SimGroup editing into a single compound field and fixed bugs with it's behavior so it works as expected now
2024-10-27 20:04:13 -05:00
AzaezelX 24933a1cc7 add min/max tile height entrys to painter, apply those to the general isvalid check for a given tile alteration. apply that to more brushes. 2024-10-24 13:37:45 -05:00
AzaezelX 85955479c8 terrain mask work
adds an isValid(gridinfo tile) command to prefilter out grid elements of a specified nature
applies that to SetEmptyAction::process
also corrects sliderbar positions for terrain painting elements, as ell as adds a min/max slope for removal

potential TODOs: apply it more places pending feedback. add a min/max hieght filter as well
2024-10-23 17:50:07 -05:00
JeffR 484ece3d28 adds loadIf conditional eval, onLoad/UnloadCommands, ability to freeze loading state and per-subscene ticking for conditional checks
Fixes for child iteration of subscenes
Renamed tripCondition field in triggers to tripIf for consistency/naming clarity
Added ability for callbacks for gamemode to have reference on which subscene was loaded/unloaded for respective callback
2024-10-21 00:08:07 -05:00
JeffR dde0ffe32f Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-10-20 11:14:52 -05:00
Areloch 43501127ec
Merge pull request #1327 from Azaezel/alpha41/matrixMangle
fix(?) assimp to torquie matrix converter
2024-10-04 16:25:01 -05:00
JeffR e4d07c7e8d Adds utility function and method to be able to enact a load of subscenes at a specific world position
Adds loadIf conditional logic to evaluate if a subscene is 'allowed' to load when tested
Adds isAlwaysActive to GameMode to be able to flag a gamemode as being defaulted to on and used automatically
Updated GetGameModesList function to return an arrayObject of the gamemodes found
Overhauled CallGameModeFunction to utilize the gamemodes list with active/alwaysActive modes being called against, rather than level-scanning
Updated ChooseLevelMenu to be able to toggle on/off multiple gamemodes with an image indicator if it's active or not
2024-10-04 00:10:26 -05:00
AzaezelX bb432dc906 fix(?) assimp to torquie matrix converter
it wasn't accounting for the formatScaleFactor (1, 0.01, ect) leading to mesh deformations based on bone vs skinned mesh displacement
2024-09-30 22:39:00 -05:00
AzaezelX 99bcf7ca3e fix forest editor failing to pop up a create new
reminder note for if switches in c++, it it fails once in an or evaluation, that's it. it does not try other portions
2024-09-30 19:45:32 -05:00
JeffR 20a01d9f02 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into SubScenes_Gamemode_PR 2024-09-28 22:11:39 -05:00
AzaezelX 7664b63071 snap syncing
for world and convex shape editors
2024-09-22 14:34:07 -05:00