Commit graph

7483 commits

Author SHA1 Message Date
marauder2k7
ea49af52a5 Update materialManager.cpp 2025-03-27 09:00:12 +00:00
marauder2k7
c025ea86b4 more cleanups
cleanup the type removing the refactor tag
materialManager restored to its original state
2025-03-27 08:59:50 +00:00
marauder2k7
a8d7664fc2 named target material reload clean
clean up the previous requirements for namedTarget to display on a material
2025-03-27 08:31:28 +00:00
marauder2k7
3b70689abc clean out old macros 2025-03-26 21:16:43 +00:00
marauder2k7
7af992970a Update ImageAsset.cpp
update getAssetIdByFilename to also check the imageFile of the asset
This helps match filenames for assets created privately such as probe bakes and targets
2025-03-26 18:51:44 +00:00
marauder2k7
b630442683 Update assetManager.cpp
stop crash when dumping declared assets if the asset is private
2025-03-26 17:34:25 +00:00
marauder2k7
086db03bbc Update ImageAsset.h 2025-03-26 15:42:26 +00:00
marauder2k7
f59ccc3f99 Update ImageAsset.h 2025-03-26 15:41:53 +00:00
marauder2k7
465c79f39d Update ImageAsset.h
update macros to share target functionality
add extra check to see if image asset exists.
2025-03-26 15:07:07 +00:00
marauder2k7
d86962d1fd requirements for postfx
update to handle posteffects with image_asset_refactor
2025-03-26 14:31:11 +00:00
marauder2k7
e1a2a6d9f9 fix material editor
material editor now handles named targets propertly when loading
also update preview image in material editor
2025-03-26 10:55:54 +00:00
marauder2k7
16d219769f set preview image
set the image asset preview image for namedTargets
2025-03-26 10:12:14 +00:00
marauder2k7
bab7878ca6 give named target a fallback
we need to give named target a fallback image so references are kept when a named target is not ready.
2025-03-26 09:12:06 +00:00
marauder2k7
9f2ab5a64e Update particleEmitter.cpp
null check around asset
2025-03-26 07:57:14 +00:00
marauder2k7
9ff4c84bc8 Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3 2025-03-25 21:02:57 +00:00
Brian Roberts
5436429e05
Merge pull request #1425 from Azaezel/alpha41/forwardFix
fix forward cubemip
2025-03-25 14:28:01 -05:00
Brian Roberts
6ffe7500cd
Merge pull request #1423 from Olathuss/gametsctrl-mouserefactor
Gametsctrl mouserefactor
2025-03-25 14:25:49 -05:00
AzaezelX
5e79c01208 fix forward cubemip
in case of temporary loss of the probe array, fall back to a (slightly) less arbitrary probemanager mip level as oposed to assuming 1 mip exists
2025-03-25 14:25:29 -05:00
marauder2k7
6c2b4f8979 null handling 2025-03-25 19:14:05 +00:00
marauder2k7
987ff90467 named target functionality 2025-03-25 18:22:26 +00:00
Olathuss
3dabbc83ff Fixed callbacks to replace char* with Point classes
Replacing char* in callbacks with Point2I and Point3F classes for better readability and overhead
2025-03-25 11:07:14 -06:00
Olathuss
df5ffd9e10 Remove extraneous function
Remove extraneous function makeScriptCall which is no longer used.
2025-03-25 10:47:35 -06:00
marauder2k7
6640cae0d7 Update cubemapData.cpp
missed checks, and loop should be inner
2025-03-25 14:34:28 +00:00
Brian Roberts
42eda97364
Merge pull request #1424 from Azaezel/alpha41/brdfFixes
unmangle brdfTexture. again.
2025-03-24 18:18:29 -05:00
AzaezelX
5666373447 unmangle brdfTexture. again.
also correct roughnessToMipLevel, specular tinting and missing horizon correction
2025-03-24 18:18:12 -05:00
marauder2k7
15503cbf7c Update cubemapData.cpp 2025-03-24 22:18:18 +00:00
marauder2k7
b2fe48ab8d more merge conflicts
fixed more merge conflicts (afxZodiac and MaterialDefinition)
Updated cubemapdata to use refactor asset
added new part to image_asset macro to create a private asset if the file exists.

updated reflectionProbe errors to actual function name where the error occurs.
2025-03-24 21:50:04 +00:00
marauder2k7
0da0903599
Merge branch 'development' into imageAsset_refactor_rev3 2025-03-24 20:07:06 +00:00
marauder2k7
e16a66f363 Revert "sound asset refactor init"
This reverts commit 2bf2da74a0.
2025-03-24 19:58:52 +00:00
Olathuss
32bc068f7f Added PlatformTimer for mouse callbacks
Added PlatformTimer to GameTSCtrl to limit mouse move/drag callbacks.
2025-03-24 12:04:36 -06:00
Brian Roberts
d0d0a39fcd
Merge pull request #1421 from Azaezel/alpha41/cryingSkies
handle feeding a cubemap via 2d textures
2025-03-24 11:32:33 -05:00
AzaezelX
61e4107c39 handle feeding a cubemap via 2d textures
courtessey marauder
2025-03-24 11:32:09 -05:00
Brian Roberts
ce0059613a
Merge pull request #1420 from Azaezel/alpha41/twsitedMetal
correct further flaws with albedo handling
2025-03-23 20:54:05 -05:00
AzaezelX
9d7fdab193 correct further flaws with albedo handling 2025-03-23 20:53:32 -05:00
Brian Roberts
5636ebc457
Merge pull request #1419 from Azaezel/alpha41/twsitedMetal
clean up brdf
2025-03-22 13:38:34 -05:00
AzaezelX
61dbbf7102 clean up brdf
it was loading in the wrong colorspace, and there as a mix of texture/textureLOD refs leading to inconsistencies
2025-03-22 13:38:09 -05:00
Brian Roberts
3b2f8be521
Merge pull request #1418 from Azaezel/alpha41/twsitedMetal
specular review
2025-03-22 10:54:29 -05:00
AzaezelX
42710ec6f0 specular review
cleanup of various calcs
2025-03-22 10:00:45 -05:00
Brian Roberts
77e336627b
Merge pull request #1416 from marauder2k9-torque/Fix-CubemapBaking-Resizing
fix and cleanup
2025-03-20 11:29:32 -05:00
marauder2k7
c476b292a6 Update gfxD3D11Cubemap.cpp
put arraySize check back in
2025-03-20 15:51:39 +00:00
marauder2k7
ef856e23fa fix and cleanup 2025-03-20 15:26:52 +00:00
Brian Roberts
7d0ba641ce
Merge pull request #1415 from Azaezel/alpha41/forceDetailfix
fix forceDetail
2025-03-19 18:08:52 -05:00
AzaezelX
b4eb885aae fix forceDetail
it can safely be a negative number.
2025-03-19 18:08:37 -05:00
Brian Roberts
903c987d53
Merge pull request #1414 from Azaezel/alpha41/validValidators
further validator cleanups
2025-03-18 14:06:48 -05:00
AzaezelX
fcd2d38deb further validator cleanups
bump default fidelity from 0,0001 to 0.01
fix F32Range. needs to go from - to +, not smallest to largest positive value
fix several misasigned validator ranges. most of which use some form of -1 default to do a Special Thing
2025-03-18 14:06:33 -05:00
Brian Roberts
1ebe48edbd
Merge pull request #1413 from Azaezel/alpha41/validValidators
consolidate addfieldV method contents to avoid duplication
2025-03-18 10:43:42 -05:00
AzaezelX
011a8906ff skip trying to be clever and just report the variable name being checked directly 2025-03-18 03:13:37 -05:00
AzaezelX
55ac453ab9 guiProfile.border has specific usage cases for -2, so use the full negative range
clarify a bit what fieldindex is being asigned
2025-03-18 01:23:33 -05:00
AzaezelX
ffe83b1d2d use the same renderpriority range across all cases 2025-03-18 01:18:37 -05:00
AzaezelX
44b0d896b8 consolidate addfieldV method contents to avoid duplication
report *what* field is an invalid console type
prune down floating point fuzzed validators to 0
default the visual fidelity to POINT_EPSILON (0.0001) rather than 1/FLT_MAX
use the bit(bitcount) macro for legibility
fix breakangle
2025-03-17 22:39:01 -05:00