Commit graph

3897 commits

Author SHA1 Message Date
AzaezelX 9f9049e6bd use the templated mLerp
turns out a) it exists, and b) it uses the standard input order, so shoud be easier for new folks to remember
2022-11-28 22:12:25 -06:00
Jeff Hutchinson 82b5084875
Merge pull request #924 from JeffProgrammer/cpp20
Compilation fixes for C++20
2022-11-28 22:32:04 -05:00
Jeff Hutchinson 1940becb2d Compilation fixes for C++20 2022-11-28 21:39:06 -05:00
AzaezelX ab98909f1e if we have no description, the sounds is never 3d 2022-11-28 00:10:32 -06:00
Brian Roberts d40351414f
Merge pull request #920 from Azaezel/alpha402/ramblinRoad
add MeshRoadEditorGui::onRoadCreation callback
2022-11-17 13:48:00 -06:00
AzaezelX 15d5aafadb add MeshRoadEditorGui::onRoadCreation callback
use it, and the RoadEditorGui::onRoadCreation one to assign default road matrials on initial creation
2022-11-14 21:30:13 -06:00
AzaezelX be108d8e48 supress Mapping string spam unless net debugging 2022-11-06 15:32:22 -06:00
AzaezelX 1dd8149074 cleanups for terrain blending 2022-11-03 10:07:27 -05:00
Brian Roberts 84f1e673fc
Merge pull request #915 from Azaezel/alpha402/sortSorting
correct the moduleDependencySort callback
2022-10-31 19:10:58 -05:00
AzaezelX ac1cbe8198 set default (true) case for findModules 2022-10-30 14:10:36 -05:00
AzaezelX ebcee97d5c leverage the pre-existing vector<foo>.sort(&method) hooks for better self containment. also sort by dependency count, and above all else, skip sorting entirely if we've already populated mModulesLoaded since that already takes dependencies into account when generating the vector
also defualt to using that one for the general findmodules case
2022-10-30 14:02:30 -05:00
Brian Roberts cf76fc5b88
Merge pull request #911 from Bloodknight/UpdateAssimp_5.2.5
Update assimp 5.2.5
2022-10-28 08:45:05 -05:00
AzaezelX b168617034 correct the moduleDependencySort callback 2022-10-27 18:14:30 -05:00
Areloch e4cca8d3f0 Fixes the setting of binary file download config for httpObject 2022-10-16 11:39:56 -05:00
Bloodknight 19e284f5ab
Merge branch 'TorqueGameEngines:development' into UpdateAssimp_5.2.5 2022-10-15 08:22:16 +01:00
AzaezelX cdf3b6cf79 kill console spam
no point in reporting mismatched texture formats the line right before we try and convert the things and report if we couldn't
*was mostly due to excessive reports for fully compatible rgb vs rgba mixes
2022-10-09 00:30:06 -05:00
Bloodknight 16f3710058 Update Assimp from 5.2.3 to 5.2.5 2022-10-02 19:21:41 +01:00
Brian Roberts ea7ca63301
Merge pull request #908 from Azaezel/alpha401/dediserverfixes
dedicated server cleanups
2022-10-01 14:19:42 -05:00
AzaezelX 04f4a5fcf4 dedicated server nulltexturemanager work
also supress warning for imageassets not loading a texture in nulldevice, and early out of _determineFeatures shadergen methods under the same conditions
2022-10-01 12:44:45 -05:00
AzaezelX 4f00c48ff0 sfx bypass doe dediservers. 2022-10-01 01:41:24 -05:00
OTHGMars 640af98807 Monitor DeviceId setting.
The SDL_WINDOWEVENT_DISPLAY_CHANGED event reports an incorrect DeviceId when changed via command. The resolution sanity check that is applied when changing monitors is moved to the SDL_WINDOWEVENT_MOVED event where DeviceId is properly detected.
2022-09-29 03:45:25 -04:00
AzaezelX 8343c096df need to surpess billboard generation attempts on dedicated servers 2022-09-29 02:04:51 -05:00
AzaezelX 0e8e93f1e5 lock in version point 2022-09-28 18:13:59 -05:00
AzaezelX be0f3097d6 $platform $= "macos" is used throughout the codebase 2022-09-20 19:58:02 -05:00
AzaezelX 6ce2d4cd9e helps to report which asse... 2022-09-20 16:08:36 -05:00
AzaezelX 91d843b8bd correct constructorfile reference 2022-09-20 15:39:42 -05:00
AzaezelX aafbb7bfba add debug reportingfor cubemap arrays, and correct transcription flaw 2022-09-18 07:30:47 -05:00
AzaezelX 62a99adb74 aug GFXTextureArray::setTexture to report what texture sizes are mismatching 2022-09-18 05:36:11 -05:00
Areloch 5e9d7d63a1 Adjusts handling for httpObject class so that if curl flag is off, files are not included and references are disabled to avoid compilation issues
Adds SMAA anti aliasing
Adjusts AA option setting to properly work and facilitate SMAA
Added defaults for AA to facilitate SMAA
Updated brightness and HDR values on Example Level to comply more closely to the Editor default to give better default results
Fixed issue where ShapeEditor wasn't initialized properly when we'd open it from the Asset Browser
2022-09-16 16:16:12 -05:00
Brian Roberts ae1131e167
Merge pull request #878 from CouleeApps/curl_http
WIP: libcurl integration with HTTPObject
2022-09-15 18:02:49 -05:00
Brian Roberts 3a800e51cc
Merge pull request #891 from Azaezel/alpha401/CubeMapMangle
get probes displaying with low Texture quality
2022-09-15 18:01:24 -05:00
Jeff Hutchinson 2e006390f8 Add GFXFormatA8L8 for OpenGL 2022-09-15 17:59:00 -04:00
AzaezelX ad3c961579 get probes displaying with low Texture quality
refactored detection of texture sizes for cubemaps
removed the assumption that if we give U32 GFXTextureManager::getTextureDownscalePower( GFXTextureProfile *profile ) no profile, it should go right ahead and downscale anyway
sniped the downscaling strings in the resulting U32 getProbeTexSize(); and void setCubeTexSize(const U32 cubemapFaceSize); until sucj time as we can properly follow up all possible combinations of shiping in one scale, and a customer choosing to use lower resolution textures as the current result is a hard shutoff entirely
2022-09-14 15:58:32 -05:00
AzaezelX 567e766ffe correct a flaw with mapto importing.
addImportingAsset was improperly applying cleaning to cleanAssetName rather than leaving it as the raw origional. may or may not want a tighter target there
2022-09-12 01:10:20 -05:00
AzaezelX 90cb07a550 uniform float targetRatio; var by request 2022-09-04 13:15:50 -05:00
Glenn Smith 01a719ee58
Update libcurl 2022-09-03 01:31:41 -04:00
Glenn Smith 20eb0a911a
HTTPObject with CURL 2022-09-03 00:54:26 -04:00
Areloch fb5ad738e0
Merge branch 'development' into MiscFixes20220829 2022-08-30 01:31:42 -05:00
Areloch cd82186231 Fixes setter issue for image/shape/material custom inspector fields where it was not correctly passing through the changed value from the Asset Browser select
Swapped the water's disableTrueReflections variable to be enableTrueReflections for simplicity and consistency(also fixed a persistent typo)
Swapped disableVerticalSync to be enableVerticalSync for simplicity and consistency
Swapped disableParallaxMapping to be enableParallaxMapping for simplicity and consistency
Fix click detection on slider mode entries for guiGameSettingsCtrl so the click position correctly matches the percentage
Fixed problem where postFX initialization would always exec default.postfxpreset.tscript, even if a level's got it's own preset, which can cause problems
Fixed range field type behavior so that editing the values applies in real time, and also consistently applies between slider and text field
2022-08-30 01:29:39 -05:00
AzaezelX 73c1a902de cAps fix 2022-08-29 21:43:14 -05:00
AzaezelX 65275a8a35 leftover profile reference flaw 2022-08-29 21:18:20 -05:00
AzaezelX b79b1ae65e remove leftover 2022-08-29 20:39:04 -05:00
marauder2k7 5d85664b40 Change GuiProfile to use Sound Asset
-Added SoundAssetInspector to bypass circular issue
-Added SoundAsset to GuiTypes
2022-08-29 23:40:51 +01:00
marauder2k7 fe47048293 Mac OpenAL 1.1
Added compatibility function to return max sources the old way.

If openal 1.2 method returns 0 it will do it the old way.
2022-08-29 20:06:29 +01:00
marauder2k7 5b1e20f28c OpenAL Mac
Cleanup print functions cos mac hates them. All these functions did was print what was capable on openal anyway end user doesn't really get any benefit from this. Will save these for the refactor.
2022-08-29 18:04:55 +01:00
AzaezelX 5453d53f4c correct capturing flag test 2022-08-28 17:24:59 -05:00
AzaezelX 748f884671 adds light fade and cap trackign to probe manager
prebake removes them, postbake restores them to ap settings.
also went ahead and threw the probes::capturing val at it as well
2022-08-28 14:27:15 -05:00
AzaezelX 111f0c840d probe capture cleanups pt1
fix high-metalness object capture (had the lerp the wrong direction for canceling out NULL-ibl due to full metallic)
use dStrcmp for (Con::getVariable("$Probes::Capturing", "0") comparisons. and early out on rendering probes when we are capturing, not when we aren't.
2022-08-27 17:25:35 -05:00
AzaezelX d24df92a8b Revert "provide a new levelinfo. fallbackAmbient value for scenes with no global light source"
This reverts commit 270cf0e054.
2022-08-27 15:14:09 -05:00
Areloch ded99cd8cb * Fixes handling for Image, Material and Shape Assets' inspector fields so they properly work with non-object targeted inspectors, such as the PostFXEditor
* Updated PostFXEditor scripts to handle refreshing properly when certainl field types(assetId fields) are changed
* Adjusted display handling of slider values on guiGameSettingsCtrl to show 0.x decimal format instead of 0.xxxxx
* Fixed pad length of item names in guiTreeView for items that are marked to avoid console spam
* Fixed local offseting for popupMenus so scaled/offset window position doesn't cause the popup menu to offset from mouse click position(courtesy OTHG_Mars)
* Fix issue with terrain where, due to default value save validation, the global scope for the terrain collision list would be whiped when saving, causing players to fall through terrain. Moved to per-terrain convexLists
* Fixed issue with the core camera model mesh and updated references so camera bookmarks display properly
* Fixed console spam during asset browser initialization where it would try and expand the directory tree even though the dir tree isn't populated yet
* Fixed handling of Open File Location RMB menu action to properly deal with script and datablock types
* Removed unusuable "Create ___" asset type prompts from the RMB menus for the AB to avoid confusion
* Improved slider offset positioning for various popup sliders on editor toolbars
* Anchored the visibility popup menu to the button for more consistent formatting and better feel
* Shifted various visibility toggles from 'in place' on the menu buttons to functions, allowing it to also properly mark the menu entries as checked or not, improving usability
2022-08-26 15:25:17 -05:00