Commit graph

4295 commits

Author SHA1 Message Date
Pecon
909892f40e
Change shorts to ints 2020-08-11 15:27:52 -07:00
Pecon
90dc11410b
Followup commit to switch to engine conventions 2020-08-11 15:13:56 -07:00
Brian Roberts
a03e0c9284
Merge pull request #284 from Pecon/openWebBrowserLinux
Basic Platform::openWebBrowser implementation for linux
2020-08-11 15:43:08 -05:00
Pecon
d3f51cf7c0
Basic Platform::openWebBrowser implementation for linux 2020-08-11 12:51:46 -07:00
Brian Roberts
d1a79ae5eb
Merge pull request #280 from Areloch/YetMoreMiscAssetFixes
Even more misc asset fixes
2020-08-09 14:09:29 -05:00
Areloch
79ecc2f4a0 Updates the rest of the asset types to utilize separate expanded path variables to avoid breaking assetDef saving
Fixes select mode for the Asset Browser to properly filter to the selecting type
Fixes the imageType in the asset import window inspector to properly set to the importing image asset's discovered type if valid
Fixes AssetBrowser asset selection return so it returns back a valid assetId
Fixes TerrainMaterial save crash by ensuring we fill in the diffuseMapAsset
Removes saving of TerrainMaterial being saved to a generic script file if one isn't found for an existing TerrainMaterialAssets
2020-08-09 01:32:27 -05:00
Brian Roberts
641c75b721
Merge pull request #279 from Areloch/MoreABAndImporterFixes
More various Asset Browser and importer fixes
2020-08-08 15:12:01 -05:00
Areloch
d01341708e Removes extra assetImportConfigs file
Fixes name handling when finding associated image files on materials
Makes parseImageSuffix return back the case-correct suffix given the image's filename
Fixes import session reset logic to not have infinite looping happen when activated if files are in the session still(used mainly when import config is changed)
Makes sure materials are not processed if they are found in the import config's ignoreMaterials list
Makes sure active import config is properly on importer when it's changed in the Import window
Tweaked asset browser folder filtering logic so it always rejects .git folders from displaying, and also made the core, tools, cache and shaderCache filtering behavior consistent
Fixed navigation of root-level folders if double-clicking on them through the main window
Ensured import session is reset after an import happens so no extra files are left over in the importer's list
2020-08-08 13:01:50 -05:00
Brian Roberts
08f8d8abf2
Merge pull request #277 from Azaezel/alpha40_matAssetMangles
from @OTHGMars: AssetImporter type and path for material look-ups.
2020-08-08 00:55:26 -05:00
AzaezelX
284ad3e083 from @OTHGMars: AssetImporter type and path for material look-ups.
(and fix for pbrconfig<map> entry)
2020-08-08 00:54:06 -05:00
Brian Roberts
6153d3c27b
Merge pull request #276 from OTHGMars/queueExecOrder
Queue exec order
2020-08-07 11:18:18 -05:00
OTHGMars
6534957496 registerDatablock update in-place.
Maintains load order for datablock files that are overridden by registerDatablock.
2020-08-07 05:27:36 -04:00
OTHGMars
840ad6d385 queueExec update in-place.
Maintains load order for files that are overridden by queueExec.
2020-08-07 04:40:14 -04:00
Brian Roberts
4278d8ad5a
Merge pull request #274 from Areloch/MiscAssetImportAndWorkflowFixes
Various fixes for both asset importing and some workflowy bits relating to assets stuffs
2020-08-07 03:37:56 -05:00
Areloch
813762c722 Separated ShapeAsset's fileName for the loose file name and the fully processed file path to avoid potential save-out problems
Fixed autoAssetImport so it properly cleared any prior import session objects
Added beginning and ending comment line signfiers to make import logging easier to spot in console
Fixed variable used when doing the actual import on assets where it would use the top-level asset import objects and not the children array, causing a crash
Fixed the Make Selected A Mesh logic to work with the creation of a new shapeAsset
Added secondary handling to generate a prefab of the original selection for preservation purposes
Added optional input for makeSelectedPrefab to not delete the original selection(useful for the preservational prefab mentioned above)
Adjusted font color for NA text edit fields to make it more legible
Changed the non-working reloadDatabase button in assetBrowser to instead open the Asset Editing editor settings page.
2020-08-07 00:24:26 -05:00
Brian Roberts
2b686bf713
Merge pull request #273 from OTHGMars/GamePad_nonwin
Fix gamepad binds on non-windows.
2020-08-05 04:52:59 -05:00
Brian Roberts
b727d1d962
Merge pull request #272 from OTHGMars/InputTestInit
inputTest Module Initialization
2020-08-05 04:52:39 -05:00
OTHGMars
83e41ce188 inputTest Module Initialization
Updates module initialization to use queueExec() for consistency with the ui module. This is required so all module dependencies (gui objects and profiles) are loaded before they're referenced.
2020-08-05 03:57:29 -04:00
OTHGMars
186efd5c87 Fix gamepad binds on non-windows.
Removes unneeded #ifdef that was preventing gamepad binds from being found in non-windows builds.
2020-08-05 02:50:04 -04:00
Brian Roberts
cc5359fdfd
Merge pull request #271 from Azaezel/alpha40_shaderGenCleanups
Alpha40 shader gen cleanups
2020-08-04 12:16:52 -05:00
Brian Roberts
237b7cdac3
Merge pull request #268 from Areloch/ObjectFadePref
Adds some console preference variables for object fade overriding on TSStatics
2020-08-03 18:14:21 -05:00
Areloch
b9e16649d9 Slims down the obj size get math to just use the worldSphere radius rather than computing the bounds width to save cycles. 2020-08-03 18:12:21 -05:00
AzaezelX
3de60baf79 retool ShadowMaterialHook::_overrideFeatures so we're not including a bunch of extraneous features 2020-08-03 16:46:22 -05:00
AzaezelX
ca4b77f424 give shadergen tags for the other two potential rendertargets for use down the line 2020-08-03 16:45:37 -05:00
AzaezelX
1e66b118b6 more prepass cleanup, plus skip out early on _determinefeatures for deferred if we're translucent 2020-08-03 16:45:05 -05:00
AzaezelX
b81b4c61a5 clean up leftover interlaced prepass experimental code. 2020-08-03 16:44:20 -05:00
Brian Roberts
4da43119b0
Merge pull request #270 from Areloch/lightFieldsCleanup
Some cleanup and adjusting of local light fields and default settings.
2020-08-03 14:05:01 -05:00
Brian Roberts
b9e482bd7e
Merge pull request #269 from Areloch/ExpandedLightPreferences
Adds additional light preferences
2020-08-03 14:04:48 -05:00
Brian Roberts
d9649025f5
Merge pull request #267 from Azaezel/alpha40_ribbonFix
ribbon shader variable order fix from @steve_yorkshire
2020-08-03 14:04:36 -05:00
Areloch
695ad6357f Hides some light fields for local lights that are intended for PSSM's, thus useless.
Also disables the Paraboloid shadowmap type, as it is non-functional.
Disabled light animations by default so as to not waste processing time if not needed
Sets point lights' shadow types to be cubemap by default, and lowers the overdark factor to make them look cleaner and not exacerbate aliasing.
2020-08-02 23:47:20 -05:00
Areloch
7b02d81b54 Adds preferences for limiting the maximum number of local lights, as well as distance-based fading of local lights. 2020-08-02 23:16:03 -05:00
Areloch
a257dc8399 Adds some console preference variables for object fade overriding on TSStatics 2020-08-02 22:33:10 -05:00
AzaezelX
dc2e17d894 ribbon shader variable order fix from @steve_yorkshire 2020-08-02 14:44:26 -05:00
Brian Roberts
9e792845f7
Merge pull request #262 from Azaezel/alpha40_reverbBlurb
fix reverb out of bound initializations
2020-07-30 11:49:51 -05:00
Brian Roberts
914fc3e80c
Merge pull request #263 from Azaezel/alpha40_decalDrek
crashfix: decal report when missing the DB entry was malformed
2020-07-30 11:49:37 -05:00
Brian Roberts
7575d82d90
Merge pull request #264 from Azaezel/alpha40_lightLoopiness
crashfix: `const U32 numVerts = curEntry.vertBuffer->` is invalid for vectorlights
2020-07-30 11:49:24 -05:00
Brian Roberts
3bc479a921
Merge pull request #265 from Azaezel/alpha40_dbCacheClearCorrectly
proper variation on the datablock file list erasure
2020-07-30 11:49:06 -05:00
Brian Roberts
6a89e53acc
Merge pull request #266 from Areloch/defaultLODTypeValue
Adds a default value to the lodType of the asset importer
2020-07-30 11:48:53 -05:00
Areloch
fc225a7f0b Adds a default value to the lodType of the asset importer to prevent utilizing an un initialized value 2020-07-29 15:42:28 -05:00
AzaezelX
69f154e0b9 proper variation on the datablock file list erasure
clear is a nonfuncitonal command for arrayobjects, so a) needed to use erase, and b) needed to fill in a couple more spots
2020-07-29 15:27:34 -05:00
AzaezelX
33d82ea1f6 crashfix: const U32 numVerts = curEntry.vertBuffer-> is invalid for vectorlights 2020-07-27 20:30:26 -05:00
AzaezelX
820cd5cb10 crashfix: decal report when missing the DB entry was malformed 2020-07-27 18:22:08 -05:00
AzaezelX
6b2db37f8a followup to array acess breaches: waterobject and guiparticlegraphctrl need to check >=, not just > 2020-07-27 10:45:45 -05:00
AzaezelX
1f93e362cc fix out of bound initializations 2020-07-27 10:22:39 -05:00
Brian Roberts
bcbc08cf23
Merge pull request #251 from zfbx/patch-1
Added slider to consoleDlg for bg alpha (Needs refinement)
2020-07-27 10:13:51 -05:00
Tony
3d76cc4c12 Moved GuiSliderProfile into core 2020-07-27 10:57:08 -04:00
AzaezelX
45f45ca974 Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into Preview4_0 2020-07-27 02:49:02 -05:00
Brian Roberts
017f7fafa2
Merge pull request #259 from Areloch/SecondaryWindowCloseFix
Captures secondary window close events
2020-07-26 20:08:56 -05:00
AzaezelX
a2e0719163 Merge branch 'SecondaryWindowCloseFix' of https://github.com/Areloch/Torque3D into Preview4_0 2020-07-26 19:52:41 -05:00
Brian Roberts
70ea856574
Merge pull request #236 from Azaezel/alpha40_connectionCleanup
client cleanups
2020-07-26 18:03:15 -05:00