Commit graph

7232 commits

Author SHA1 Message Date
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
marauder2k7
5f8c59a8df MacOSX fixes 2023-12-04 00:16:07 +00:00
marauder2k7
c39461c3fb Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2023-12-03 19:32:08 +00: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
marauder2k7
a91b19d4dc Added hdr and bypass 16bit when png.
Added support for .hdr format, atm just being converted to ldr after the exposure is applied.

cleanup dds file

PNG skips 16bit altogether at the moment for textureArray issues.
2023-12-01 14:50:59 +00:00
marauder2k7
c18c14b415 Update gBitmap.h
typo
2023-11-30 15:58:41 +00:00
marauder2k7
6ed0374768 Added documentation
CompressionLevel argument now used to set jpeg quality as well. Values need to be 0-100 range for jpeg and 0-10 for png.
2023-11-30 15:57:59 +00:00
marauder2k7
870fae3e47 Update screenshot.cpp
Screenshot now works with stb: gBitmap outbuffer holds the whole image anyway so just use writeBitmap when its done.
2023-11-30 14:02:06 +00:00
marauder2k7
63682c43ec Bug fixes:
Generating image previews of image assets was failing

DDS remove redundant check for stream status.

STB requires the file to be free before being written to, move check to make sure we can open the path into gBitmap and remove FileStream checks from everywhere else.
2023-11-30 10:46:51 +00:00
marauder2k7
0b451aa7b5 Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2023-11-30 09:09:57 +00:00
marauder2k7
108ba34c08 STBImage
STB used for loading and writing images.
2023-11-30 09:09:13 +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
045c15fd26 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into classPrototypingPresenter 2023-11-29 14:16:37 -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
AzaezelX
4b86e112c8 add safeties 2023-11-24 15:58:35 -06:00
AzaezelX
c10808873d hook PrototypeClass(%objectName) on up to inspector
fix dialog close, fix dynamic variable gui element alignment
2023-11-24 15:44:54 -06:00
AzaezelX
81b721c755 wipwork for adding a gui driven class callback method prototyper with command and variable reporting 2023-11-24 14:05:55 -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
Areloch
59247bd9ca Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.
Currently establishes the MainScene tab and otherwise retains existing behavior directly
2023-11-14 18:58:58 -06:00
AzaezelX
61b7813f11 hide particleemitter dupes
if you have a selected particleemitternode when opening the particle editor, don't show the edit-copy one
2023-11-14 13:11:01 -06:00
Brian Roberts
52b5ab197c
Merge pull request #1134 from Azaezel/alpha41/spotlightFix
revert b5d1d1a02c
2023-11-14 12:10:00 -06:00
AzaezelX
182fec8b1a revert b5d1d1a02c
turns out that caused lighting 'occlusion' artifacting
2023-11-14 12:09:32 -06:00
Brian Roberts
fcd611353d
Merge pull request #1133 from Azaezel/alpha41/updateAudioStateCrashFix
fix updateAudioState null crash
2023-11-12 21:32:56 -06:00
AzaezelX
155477492d fix updateAudioState null crash 2023-11-12 21:32:24 -06:00
Brian Roberts
efd81758a8
Merge pull request #1132 from Azaezel/alpha41/fixbitmapButtons
fix bitmap button state display
2023-11-12 19:50:00 -06:00
AzaezelX
7a9715654d fix bitmap button state display 2023-11-12 19:49:45 -06:00