Commit graph

6584 commits

Author SHA1 Message Date
AzaezelX
b366ff9b1c script stabilization tweaks
Con::EvalResult CodeBlock::exec -
 objectCreationStackIndex needs to be signed as we test if it goes sub-zero
ConsoleValue Namespace::Entry::execute -
compiler yells about returning a temp via std::move
bool TorqueScriptRuntime::executeFile -
report the name of the dso output file, not the source scxript input file
2024-01-02 18:15:21 -06:00
Areloch
4c58a3601f
Merge pull request #1163 from Azaezel/alpha41/filtefuntimeztoo
filter inspector buttons out of the following:
2023-12-23 01:34:33 -06:00
Areloch
98014ea9d9
Merge pull request #1162 from Azaezel/alpha41/filterfuntiemz
add an $undoIgnoreList
2023-12-22 17:45:15 -06:00
AzaezelX
78147821a0 filter inspector buttons out of the following:
PersistenceManager::updateObject
SimObject::writeFields
SimObject::assignFieldsFrom
DefineEngineMethod( SimObject, getFieldCount, S32, (),,
DefineEngineMethod( SimObject, getField, const char*, ( S32 index ),,
SimObject::writeObject

do not do so for
SimObject::setDataField
DefineEngineMethod( SimObject, dump, void, ( bool detailed ), ( false ),
2023-12-19 23:29:46 -06:00
AzaezelX
cbc8905e05 add an $undoIgnoreList
of variable names for the editor's genericundoaction to ignore
mostly aimed at action buttons
2023-12-19 22:44:09 -06:00
Brian Roberts
61480c28bf
Merge pull request #1161 from Azaezel/alpha41/thirstyTheora
theoratexture can't downsample
2023-12-19 13:17:25 -06:00
AzaezelX
1f837304ea theoratexture can't downsample
so don't.
this stops $pref::Video::textureReductionLevel from crashing the applicaton in that scenario
2023-12-19 13:15:12 -06:00
Brian Roberts
0b65ff2c72
Merge pull request #1160 from Azaezel/alpha41/theoraThrashing
fix theora inclusion and macro set
2023-12-18 19:26:45 -06:00
AzaezelX
ea01bf57ed fix theora inclusion and macro set 2023-12-18 15:10:35 -06:00
Brian Roberts
385143f9e5
Merge pull request #1158 from Azaezel/alpha41/sillySun
fix sun corona
2023-12-12 13:47:54 -06:00
AzaezelX
d54de2a349 fix sun corona
by locking in the material feature variation to ensure it uses vertex lighting due to colorization, as well as a few other switches, and applying an explicit vs default stateblock blend
do similar with moon so you don't have to set that to explicitly translucent either
2023-12-12 12:49:05 -06:00
Brian Roberts
d28807c34e
Merge pull request #1157 from Azaezel/alpha41/saveAsShenanigans
correct mission saveas logic
2023-12-11 12:55:08 -06:00
AzaezelX
32c7eb1702 correct mission saveas logic 2023-12-11 12:51:57 -06:00
Brian Roberts
b56626e8ca
Merge pull request #1156 from Azaezel/alpha41/canHasCapturz
fix singular pobe capture
2023-12-06 21:23:21 -06:00
AzaezelX
62e23d10b4 fix singular pobe capture 2023-12-06 21:06:26 -06:00
Brian Roberts
078813195b
Merge pull request #1155 from Azaezel/alpha41/captureCritique
make cubic reflectors respect the reflectordesc->detailAdjust
2023-12-06 19:48:18 -06:00
AzaezelX
d16f2df63a make cubic reflectors respect the reflectordesc->detailAdjust 2023-12-06 18:23:31 -06:00
Brian Roberts
674a7a0212
Merge pull request #1153 from marauder2k9-torque/CMakeSuppressThirdPartyWarnings
Suppress 3rdParty Warnings
2023-12-05 23:51:32 -06:00
Brian Roberts
c1eaa73ee6
Merge pull request #1151 from Azaezel/alpha41/fixCaptureFlag
probe capture fixes
2023-12-05 23:20:58 -06:00
Brian Roberts
378c5481ee
Merge pull request #1146 from Azaezel/alpha41/guiObjectViewObjections
Alpha41/gui object view objections
2023-12-05 23:20:21 -06:00
marauder2k7
c6b8a59de1 Update CMakeLists.txt 2023-12-06 04:58:08 +00:00
Brian Roberts
32c7f2c30a
Merge pull request #1152 from Azaezel/achingArches
fix archlinux compilation issue
2023-12-05 21:56:53 -06:00
AzaezelX
ff67efbb19 fix archlinux compilation issue 2023-12-05 21:56:11 -06:00
AzaezelX
8c38448428 probe capture fixes
review of per and post bake protocols showed that the CAPTURING shader macro was not being properly recompiled in. as opengl was not playing nice with a simple batch shader recompilation for all effected shaders, a full lightmanager restart is at time of writing required. once we have a proper globally cached scene structure stored off GPU side, we'll want to change  GFXShader::addGlobalMacro("CAPTURING", String("1")); on over to dirtying that value in the cached buffer via setting a shader global uniform
review of prefilter examples shows a fixed sample count of 1024 across multiple implementations, so we'll use the standard barring further research into where that number is comming from for a scalar approach
review of gl shaders shows a doubleup in compiled state testing, so slimmed that down and added additional debugging reports
2023-12-05 13:32:03 -06:00
Brian Roberts
a269463bbd
Merge pull request #1149 from marauder2k9-torque/Skysphere-RenderFix
SkySphere issue
2023-12-03 13:31:38 -06:00
marauder2k7
962a2cffa3 Update skySphere.cpp
Skysphere doesnt render behind everything. This fix sorts that out
2023-12-03 19:28:15 +00:00
AzaezelX
f051379720 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/guiObjectViewObjections 2023-11-29 15:41:05 -06:00
AzaezelX
dc81e4e267 guiobjectview crash and compatibility fixes
rev1 wipwork
2023-11-29 14:04:20 -06:00
Brian Roberts
97de2e6b60
Merge pull request #1145 from Azaezel/typofix
typofix
2023-11-29 13:35:37 -06:00
AzaezelX
9b7d99fc1d typofix 2023-11-29 13:34:27 -06:00
Brian Roberts
f63371432e
Merge pull request #1141 from Azaezel/alpha41/nonobutton
filter out component inspector button callbacks
2023-11-29 02:27:04 -06:00
Brian Roberts
d7ca55a085
Merge pull request #1142 from Azaezel/alpha41/spamfilter
stop spamming the console every spawnObject call
2023-11-29 02:26:54 -06:00
Brian Roberts
bb6bc91615
Merge pull request #1144 from Azaezel/alpha41/brdfbadness
overdark causality review
2023-11-29 02:26:39 -06:00
AzaezelX
ccfe2478b7 overdark causality review
two things stuck out as proximal causes for an overdark result on community review
1) $PostFX::HDRPostFX::keyValue was significantly too low given existing calculations, so upped that to 00.5 in keeping with the general assumption were remain intending to have that be the dead center value of a luminance range
2)  Fr_DisneyDiffuse input assumptions differ from current engine ones, so reverting that to lambert .
2023-11-28 19:34:09 -06:00
Brian Roberts
be7afc9934
Merge pull request #1143 from Areloch/MiscPrototypingAdditions
Adds a few new shapes to prototyping module
2023-11-28 19:00:25 -06:00
Areloch
d867c1f7d0 - Adds Color Calibration card and Material Grid for reference resources to prototyping module
- Adds arrow primitive shape to prototyping module
2023-11-28 18:54:50 -06:00
AzaezelX
c1e81e0327 stop spamming the console every spawnObject call
assuming there was a spawnscript, the eval was also dumping that to the log
2023-11-27 21:10:39 -06:00
AzaezelX
113b3324a8 filter out component inspector button callbacks
specifically targets the undo manager via avoiding onInspectorFieldModified et al tripping on clicks
2023-11-27 19:45:15 -06:00
Brian Roberts
d671f2611e
Merge pull request #1140 from Areloch/D3DCompilerDLLAdd
Adds the D3DCompiler_47.dll to ensure it's packed and ready for projects when publishing
2023-11-23 14:40:09 -06:00
Areloch
14351b03f3 Fixed typo 2023-11-23 13:38:43 -06:00
Areloch
7e5ccc65bd Removed extra PATTERNs from cmakelists 2023-11-23 13:09:54 -06:00
Areloch
431cffac11 Adds the D3DCompiler_47.dll to ensure it's packed and ready for projects when publishing 2023-11-23 12:46:55 -06:00
Brian Roberts
0738562296
Merge pull request #1139 from Azaezel/alpah41/ambientfix
ambient scales ibl
2023-11-20 15:26:56 -06:00
AzaezelX
456334fc55 ambient scales ibl
so default to 1,1,1, not 1/3rds
2023-11-20 15:26:30 -06:00
Brian Roberts
52e7156436
Merge pull request #1138 from Azaezel/alha41/luxTargTricks
lighting corrections:
2023-11-20 12:03:23 -06:00
AzaezelX
593d0ef9f0 lighting corrections:
1) fix spotlight shadow casting. we weren't properly accounting for reversedepthbuffer there
2) fix mismatched variables in forward lit spotlight param array
3) use disney diffuse in the generalized brdf, and apply it for spotlights after angular attenuation, not before
4) .provide a generailze luxTargMultiplier approach for spot and point lights (as well as future growth areas) so that range, angle ect can impact the brightness variable sent to a given light source shader without perpixel overhead
5) for spotlightParams in particular, use sizeof(point4f) for the alignedarray untill that's properly reviewed/revised
6) narrow attenuation slightly based on a given lights dot product to prevent tool vs outcome leakage, plus provide safeties for when a given spotslight's inner and outter angles match identially
2023-11-18 19:05:12 -06:00
Brian Roberts
1ee64b0a82
Merge pull request #1137 from Areloch/MiscUIFixes_20231116
Misc Tools UI fixes
2023-11-16 19:01:40 -06:00
Areloch
20e0fa8ec9 Misc Tools UI fixes
- Fixes the AB's select button not being properly offset to the right side
- Fixes incorrect height offset for the main editor tabbook because of a no-longer-used variable
- Fixes the bottom of the scene tree scroll being cut off
2023-11-16 18:55:18 -06:00
Brian Roberts
917cb882e9
Merge pull request #1136 from Areloch/TabbedEditorFormBaseline
Moves the world Editor guis to be based through a tabbed structure
2023-11-14 19:31:42 -06:00
Brian Roberts
762a0cbb9c
Merge pull request #1135 from Azaezel/alpha41/particlePunt
hide particleemitter dupes
2023-11-14 19:31:12 -06:00