Commit graph

4139 commits

Author SHA1 Message Date
Areloch
6a5661ddc7 Corrected some path-slash wrongness 2020-05-17 15:27:16 -05:00
Areloch
aae0c0613b Merge branch 'Preview4_0' of https://github.com/Areloch/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-17 01:38:34 -05:00
Areloch
9b7b09dce8 Adjusts the ShapeAsset autoImport invoke logic to actually use the C++-side autoImport logic
Changed originalImportingAssets to originalImportingFiles in the AssetImporter for naming clarity
Made autoImportFile properly return the assetId that was made
Additional logging in the AssetImporter
Adjusted the asset registration logic to support reimports, which merely refreshes the assetID
Added logic to shape asset importing to be able to import in an existing companion constructor cs file
Tweaked the TSStatic setShapeName logic so it will properly set fields depending on if the assetID was correctly set, or if we have the noShape fallback in use
2020-05-17 01:38:17 -05:00
Areloch
2a01d8a651 Merge pull request #148 from Azaezel/alpha40TerainLayerHack
'fixes' terrain normal blending for tightly grouped >4 layer scenarios
2020-05-17 01:31:04 -05:00
Areloch
75583ca6c7 Merge pull request #161 from Azaezel/alpha40_BandingBreakup
Alpha40 banding breakup
2020-05-17 01:25:59 -05:00
Areloch
4774226d8f Merge pull request #160 from Azaezel/alpha40_dbClear
make sure we're working with a clean slate each datablock load cycle
2020-05-17 01:25:39 -05:00
Areloch
b14a4af654 Merge pull request #162 from Azaezel/alph40_cleanups
Alph40 cleanups -uninitialized vars batch 1
2020-05-17 01:19:55 -05:00
Areloch
9d781798ee Merge pull request #155 from Azaezel/alpha40_explodeNorm
expose explosion.initialnormal to script for fine grained directional control
2020-05-16 02:38:33 -05:00
Areloch
c52541bdac Merge pull request #157 from Azaezel/alpha40_HiddenHugs
show/hide children automagically for simgroups via inspector
2020-05-16 02:37:24 -05:00
Areloch
3f0195475d Merge branch 'alpha40TerainLayerHack' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:19:02 -05:00
Areloch
240aa571de Merge branch 'alpha40_explodeNorm' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:18:35 -05:00
Areloch
87b160faab Merge branch 'alpha40_dbClear' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:17:50 -05:00
Areloch
2c2c9659e1 Merge branch 'alpha40_HiddenHugs' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:17:24 -05:00
Areloch
638a515702 Merge branch 'alpha40_BandingBreakup' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:16:52 -05:00
Areloch
9b907e77ee Swaps some references from the windows SDK-specific FLT_MAX to T3D's F32_MAX
Takes the makeFullPath in findTSShapeConstructor and turn it into a string before passing it along to the Filename to make stricter compilers happy
Removed some referenced to fields that don't exist in the current build
Removed unneeded ASM language activation for the cmake files
Adjustments to material map assembling macros to better comply to stricter compilers
2020-05-13 02:10:11 -05:00
Areloch
39d9e6039c Merge branch 'alph40_cleanups' of https://github.com/Azaezel/Torque3D into Preview4_0 2020-05-13 01:29:58 -05:00
AzaezelX
ebb7ed1b78 uninitialized variables-math 2020-05-11 16:17:40 -05:00
AzaezelX
5f59ebbacc uninitialized variables-materials 2020-05-11 15:59:22 -05:00
AzaezelX
36cbc4c962 uninitialized variables-verve 2020-05-11 15:53:14 -05:00
AzaezelX
43259e29c1 uninitialized variables-util 2020-05-11 15:46:44 -05:00
AzaezelX
9e1c22204f uninitialized variables-ts 2020-05-11 15:40:55 -05:00
AzaezelX
c2e74f375a uninitialized variables-terrain 2020-05-11 15:37:43 -05:00
AzaezelX
fabd5864fa uninitialized variables-t3d 2020-05-11 15:30:21 -05:00
AzaezelX
87603029db uninitialized variables-sim 2020-05-11 15:26:52 -05:00
AzaezelX
a1a6143e01 uninitialized variables-sfx 2020-05-11 15:24:49 -05:00
AzaezelX
7392d598da uninitialized variables-scene 2020-05-11 15:20:03 -05:00
AzaezelX
8aa03a4ac9 uninitialized variables-renderinstance
(cherry picked from commit dcbc22bf8450250f192ae56b303affd760f63db1)
2020-05-11 15:17:09 -05:00
AzaezelX
522578074c looks like distance needs to default to 0, not max, for raycast purposes.
(cherry picked from commit 00ee743559e19bc2dd3cbf92060b8bf089d5aceb)
2020-05-11 15:15:48 -05:00
AzaezelX
bd8a72005e uninitialized variables-platform
(cherry picked from commit 36fd324de7a29a8f4bb84b7622ae925acb1d3760)
2020-05-11 15:15:01 -05:00
AzaezelX
bfcc83638d uninitialized variables-core-2
(cherry picked from commit 7c329699e4e4d13a164b2483e174b5f555ea9344)
2020-05-11 15:13:29 -05:00
AzaezelX
b6c33bdd2b uninitialized variables-persistence 2020-05-11 15:12:50 -05:00
AzaezelX
a46bf3d7e5 uninitialized variables-navigation 2020-05-11 15:08:57 -05:00
AzaezelX
f52c3d5ed2 uninitialized variables-lighting 2020-05-11 15:07:21 -05:00
AzaezelX
9fef1b3cd1 uninitialized variables-gui 2020-05-11 15:03:27 -05:00
AzaezelX
b9c207765e uninitialized variables-gfx 2020-05-11 15:00:25 -05:00
AzaezelX
1efb687867 uninitialized variables-environment and forrest 2020-05-11 14:56:04 -05:00
AzaezelX
2c1508c169 uninitialized variables-console 2020-05-11 14:40:31 -05:00
AzaezelX
e9415a0994 uninitialized variables-collision 2020-05-11 14:33:59 -05:00
AzaezelX
1cea8ffacb uninitialized variables-core 2020-05-11 14:00:35 -05:00
AzaezelX
3c0360fd2f uninitialized variables-afx 2020-05-11 13:54:23 -05:00
Areloch
4978538490 Includes required support functions for ImageAsset 2020-05-11 02:30:58 -05:00
Areloch
4f319d3d2c Corrects typos in Asset Browser preview tooltips 2020-05-11 02:10:11 -05:00
Areloch
3e36dbb06f Finished out primary comment documentation and initPersistField hook-ins 2020-05-11 02:08:07 -05:00
Areloch
fb31f9d1e5 Implements the Asset Importer integrated into the engine, avoiding the need for calldowns into the tool suite to import assets 2020-05-10 03:48:08 -05:00
Areloch
157b114ec7 Added ImageAsset type mode for cubemaps.
Added new inspector type TypeShapeAssetId which is processed as a assetId string instead of an AssetPtr.
Added utility function to ShapeAsset to getAssetIdByFilename, which lets you find - if any exist - the asset that utilizes a given loose file. If it doesn't find one, it can attempt to run an auto-import if the editor settings allow, then proceed.
Fixed callback of the shapeAsset inspector fields so the Open in Shape Editor correctly binds the asset's shape to the editor for modification.
Added function to open a shapeAssetId in the shape editor to facilitate the above.
Added additional check to findShapeConstructor to look up the full path of the shape in the cases where a full path is provided instead of a local path. This prevents the shapeConstructor from not finding shapes that absolutely exist.
Added beginnings of Datablock representation in Asset Browser.
Fixed a few minor issues with asset auto import causing false positive errors, preventing Import or erroneous logging.
Fixed issue where editing of asset import configs didn't save.
Fixed logic of materials in asset browser so they will open in the material editor as expected.
Re-enabled AutoImport of assets editor setting by default.
2020-04-15 12:15:12 -05:00
AzaezelX
d15780b0cb we do actually need to account for reference position (of the capture box) to avoid it trying to look up the cube face relative to world origin... will need to eyeball what's going on backend wise forcing additional position-offsetting... 2020-04-14 15:00:29 -05:00
AzaezelX
1a33d483a3 ensure we've got a known stateblock set for GeneratePrefilterMap 2020-04-14 12:40:31 -05:00
AzaezelX
e28b6ae6de misc fixes to mitigate banding
scriptside:
1) HDRPostFX::onEnabled needs to test vs GFXFormatR16G16B16A16F, as that's what's getting returned by getBestHDRFormat()
2)  AL_FormatToken shifted to that same GFXFormatR16G16B16A16F target format
3) tangental but somewhat related, we were doubling up refposition offsets in the boxproject
sourceside:
tweaked the capture code for probes to ensure that the "screengrab" and output cubemap formats were identical
2020-04-14 11:36:49 -05:00
AzaezelX
83ad320886 make sure we're working with a clean slate each datablock load cycle to prevent wierd order confusion 2020-04-06 11:13:47 -05:00
Areloch
72b489fe25 Fixes path var issue that prevented newly created material assets from loading automatically when created via importing
Fixes issue of camera speed popup having a transparent background.
2020-04-05 01:32:44 -05:00