Commit graph

4884 commits

Author SHA1 Message Date
AzaezelX
b92b5b34fd clean up shadergen ambient handling
fallback needs to a) set the same value as elswhere. b) treat uniforms the same. c) exist on both ends to ensure order of ops doesn't mangle things
2025-03-29 14:43:03 -05:00
Brian Roberts
85c7a68f46
Merge pull request #1427 from Azaezel/alpha41/riverRun
flowMagnitude and ripplespeed can go negative
2025-03-26 22:16:23 -05:00
AzaezelX
289d42cc10 flowMagnitude and ripplespeed can go negative 2025-03-26 22:12:19 -05: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
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
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
AzaezelX
61e4107c39 handle feeding a cubemap via 2d textures
courtessey marauder
2025-03-24 11:32:09 -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
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
AzaezelX
b4eb885aae fix forceDetail
it can safely be a negative number.
2025-03-19 18:08:37 -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
Olathuss
d0f5c2e0db
Merge branch 'TorqueGameEngines:development' into gametsctrl-mouserefactor 2025-03-15 13:49:58 -06:00
Brian Roberts
bab30568eb
Merge pull request #1409 from Azaezel/alpha41/soImpulsive
skip out on impulses that have no chance of moving the object
2025-03-14 13:59:44 -05:00
AzaezelX
40b5b018c7 report what the value is that is out of range 2025-03-11 22:30:18 -05:00
AzaezelX
4b54fcbe42 conform and correct gridsize
waterblock and waterplane were using two entirely different var types. by usage, those should be natural numbers
2025-03-11 22:09:21 -05:00
Olathuss
96786020a2 Remove document reference
Removed incorrect document reference, as parent GuiTSCtrl does not implement mouse callback.
2025-03-11 09:40:22 -06:00
AzaezelX
325b3a97c0 skip out on impulses that have no chance of moving the object
also, sRestTol already is a 0.5 multiplier
2025-03-09 18:40:49 -05:00
AzaezelX
28603655a5 fix malformed addfeildV 2025-03-09 12:58:59 -05:00
AzaezelX
a30eac9a2b kill case of deprecated vars leaking in 2025-03-09 12:35:59 -05:00
AzaezelX
f633ef3a3d fill in the validated variables 2025-03-09 11:53:23 -05:00
AzaezelX
fa760fa746 add numerous new validators
as well as inspector support to treat a significant chunk of the codebase as range-clmped values which can take a guisliderbarctrl with a configurable at the validator level fidelity variable
additionally adds a new addfieldV and addprotetedfieldV for further callback validated slider-presented variables
*also* adds an on additional callbacks to the inspector itself, like onPreinspectobject, onPostinspectObject, and onPostInspectorfieldModified
in addition to *that*, adds a new hidefield command to tag a given specific field not to show in inspector
2025-03-09 11:51:54 -05:00
Olathuss
7cdfe63233
Merge branch 'TorqueGameEngines:development' into gametsctrl-mouserefactor 2025-03-08 12:02:08 -07:00
AzaezelX
45bb368762 from marauder: proper enumtable lookup 2025-03-07 00:12:09 -06:00
AzaezelX
d8fcbb7863 work towards reflecting the typemask in the checkboxes in a combinatory manner again 2025-03-06 23:37:37 -06:00
AzaezelX
677c061bc9 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/maskMadness 2025-03-06 23:34:13 -06:00
Brian Roberts
3b39d74f57
Merge pull request #1406 from Azaezel/alpha41/crashfix
fix another potential crash with firstresponder code
2025-03-06 23:33:00 -06:00
AzaezelX
79782148ec fix another potential crash with firstresponder code 2025-03-06 23:32:38 -06:00
AzaezelX
0ac0ee88c2 BitfieldConsoleBaseType::setData definition
also, preserve saved out 0 and -1 numbers to resrver 'none' and 'all'
ditch 'no' materialdefinition::animtype
2025-03-06 20:55:40 -06:00
AzaezelX
64103a58aa enum value listing
show the string value of masked enums in variable entries
also sort the combo case of scrolling and rotating materials
2025-03-06 19:04:22 -06:00
Olathuss
f9b445119f gameTSCtrl mouse refactor
GameTSCtrl mouse refactoring to make consistent with scripting call backs.
2025-03-06 12:29:40 -07:00
Olathuss
59b938151d Enable onMouseMove script method for GameTSCtrl
Enables the onMouseMove method for scripting in the GameTSCtrl class.
2025-03-04 21:30:19 -07:00
Brian Roberts
09cf5a0425
Merge pull request #1402 from Azaezel/alpha41/mumbledMat
prexisting material asset safety check
2025-03-01 18:41:37 -06:00
Brian Roberts
2f2cfb94d1
Merge pull request #1401 from Azaezel/alpha41/guideButton
add guide button support
2025-03-01 18:41:28 -06:00
AzaezelX
bc9ed3e10a prexisting material asset safety check
from steve_yorkshire
don't try and create a new suffixed materiaAsset if one already exists
2025-03-01 17:17:24 -06:00
AzaezelX
7364fb495d add guide button support
courtessy steve_yorkshire
2025-03-01 16:58:35 -06:00
Brian Roberts
c1a924141e
Merge pull request #1400 from Azaezel/development
inspector aug: docs as tooltips
2025-03-01 15:10:15 -06:00
AzaezelX
53a87af2b1 inspector aug: docs as tooltips
convert feilddocs to an 80-char per line tooltip to better help folks understand what a given variables intent is
2025-03-01 15:09:32 -06:00
Brian Roberts
dbdcf251ac
Merge pull request #1399 from Azaezel/alpha41/restingLagFace
rigidshape pef tweaks
2025-03-01 12:07:07 -06:00
AzaezelX
69a0c40795 wheeled vehicle downforce aug. applies a spoiler effect 2025-02-28 19:20:21 -06:00
AzaezelX
ccbcf7a862 take tick time into account as well. 2025-02-28 19:18:28 -06:00
AzaezelX
c2b3ea6122 clean out redundant pack/unpack in vehicle 2025-02-28 18:35:46 -06:00