Commit graph

6793 commits

Author SHA1 Message Date
marauder2k7 cd6656be35 Fix archive
Incorrect cmake directory was messing up reading from zips
STB was failing to read from zips, it was failing to get the file info, something we were using as an early out, now if that files on the filepath, we use the memory read instead since stream needs to be a success to get to that point.
2024-03-01 10:06:18 +00:00
Brian Roberts 5d1f306668
Merge pull request #1224 from Azaezel/alpha41/cmakeCleanup
t3d subdirectory review
2024-02-28 19:39:20 -06:00
AzaezelX 7d1927af99 t3d subdirectory review
add missing example directory
preserve reservations for ecs directories in remmed form
2024-02-28 03:53:49 -06:00
Brian Roberts 13e5302e93
Merge pull request #1211 from marauder2k9-torque/AssimpLoaader-Fix
Test assimp PR before full refactor
2024-02-28 03:37:25 -06:00
Brian Roberts e0cf6cd1b7
Merge pull request #1219 from Azaezel/alpha41/npcnono
fix non player class pathshape jitter
2024-02-24 12:31:15 -06:00
Brian Roberts ecd75bdc06
Merge pull request #1220 from Azaezel/alpha41/fixGLVisibility
fizzle fix for gl
2024-02-24 12:31:06 -06:00
Areloch 6b4472b762
Merge pull request #1221 from Azaezel/iesbugfixes
Iesbugfixes
2024-02-23 15:34:38 -06:00
AzaezelX 3ab716063f doc correction 2024-02-23 12:39:26 -06:00
AzaezelX c7cc86b357 clamp spot angle to 179,
up custommaterial inputs to 16
add Material::PhotometricMask:handling to processedcustommaterial
and for paranoias sake go ahead and be explicit about _getLightMaterial (those *should* be unneeded as they optionally default to that, but it's how they were in the beatup fork during testing)
2024-02-23 11:52:43 -06:00
AzaezelX 4d1395dd57 from mar: fix the opengl cookie uv lookup 2024-02-23 11:23:07 -06:00
AzaezelX c27b9bf48f allow spotlights specifically to comprress ies based on angle differentials 2024-02-23 01:28:15 -06:00
AzaezelX bbe9bc8871 missed a 1d convert 2024-02-22 23:47:57 -06:00
AzaezelX 14b6822e49 a) use a 1d texture for this
b) if we're going to optionally assign iesProfiles via shadowMacros.push_back, should specify the entries for the samplers too
2024-02-22 17:53:53 -06:00
AzaezelX 0b7fd2f0b3 ies bugfixes 2024-02-22 16:00:26 -06:00
marauder2k7 1ccf4cff85 Merge remote-tracking branch 'upstream/development' into AssimpLoaader-Fix 2024-02-22 10:01:32 +00:00
AzaezelX ad6880ec0d fizzle fix for gl
correct  ShaderFeatureGLSL::getInVpos to more closely match directx outcomes so we can keep using the same math across incudes
2024-02-21 14:16:38 -06:00
AzaezelX a4da6727ed fix non player class pathshape jitter
everything has a consistent getRenderTransform() nowadays
2024-02-21 12:24:38 -06:00
Brian Roberts 1cb5ed6884
Merge pull request #1218 from marauder2k9-torque/IES-Profiles
Loads an IES Photometric profile.
2024-02-21 12:14:45 -06:00
marauder2k7 2335a05fbe
Update LICENSE.md 2024-02-21 16:32:29 +00:00
marauder2k7 5588213996
Update LICENSE.md 2024-02-21 16:28:40 +00:00
marauder2k7 7fb14e17b5 Create jelly-fish.ies 2024-02-21 10:16:07 +00:00
marauder2k7 973d2792ed Delete A23D-Pathway-&-Accent-Light.ies 2024-02-21 10:15:44 +00:00
marauder2k7 3b4a15d7aa Some test ies profiles
IES profiles to my knowledge are not only free to download, but also free to distribute. you can get packs with thousands of these, i am uploading 3 test ones for now.
2024-02-21 10:14:29 +00:00
marauder2k7 ad64b4f2df IES Loader
Updated IES loader to use torque math functions and calls in the problem areas for mac and linux.

New F32_MIN_EX which is lower than F32_MIN (required for ies profiles)
2024-02-21 09:36:37 +00:00
marauder2k7 39ec0305f9 GLSL To match
Update the glsl side to match hlsl ies profile usage
2024-02-21 08:24:24 +00:00
marauder2k7 4417462499 Add support for both ies and cookie
Both ies and cookies can now exist on a light

We are still not using all the capabilities of an IES profile, such as candela and luminance values we are just using them as a mask for the moment

Issues compiling on mac and linux, will need to update the ies-loader to use torque methods instead of std::
2024-02-21 07:40:57 +00:00
marauder2k7 a12d915180 Loads an IES Photometric profile.
ADDED: Ability to add IES profile as the cookie texture slot in both point lights and spot lights

TODO:
Have the IES Profile also drive the settings for the lights.
Make it work with Cookie textures. IES profiles are to be another slot in the advanced light section.
2024-02-21 06:22:37 +00:00
Brian Roberts 429585f060
Merge pull request #1217 from Azaezel/alpha41/crashFyxMatED
temp workaround for material editor crash
2024-02-20 14:12:16 -06:00
AzaezelX 60758dd5a2 temp workaround for material editor crash
selection swapping is causing an apcrash
notDirtyMaterial.delete(); *should* work, but we know what they say about assumptions.
supressing deletion of workspace material kill off and recreation pending proper review
2024-02-20 14:11:58 -06:00
Brian Roberts 5b9ec4e025
Merge pull request #1215 from Areloch/InspectorFieldSearch
Adds ability to filter inspector fields
2024-02-14 00:36:08 -06:00
Areloch 7563130545 Fixes the guiEditor inspector search bar extents and clear button position 2024-02-14 00:34:52 -06:00
Areloch 3734ef8e5b Added search behavior to guiEditor's inspector as well 2024-02-14 00:23:27 -06:00
Areloch d890c530f9 Adds logic to be able to set a search string on an inspector that will be used to filter displayed fields.
Adds a textEdit filter box to the main world inspector that hooks into the primary inspector for said search functionality
2024-02-13 20:33:14 -06:00
marauder2k7 58bcea770c Node interp
Fix node interpolation to remove the jittered (reverted back to previous get node transform)
2024-02-10 21:57:08 +00:00
Brian Roberts 59fc6d3d65
Merge pull request #1214 from Azaezel/alpha41/fixAnimScrubberPos
fix animation scrubber position
2024-02-10 15:15:40 -06:00
AzaezelX 7c7a213f94 fix animation scrubber position 2024-02-10 15:15:09 -06:00
Brian Roberts 5afbfec3b1
Merge pull request #1213 from Azaezel/alpha41/ProbesInPreviewers
fix guishapeedpreview not displaying IBL
2024-02-10 14:50:23 -06:00
AzaezelX acef688a45 correct main entry to 128 2024-02-10 14:49:54 -06:00
AzaezelX ddddf112a4 revert "defaulting" to shapeEditorplugin 2024-02-10 14:43:35 -06:00
AzaezelX 85e5cfec3c set object editor previewBackground element to .5s instead of .0s to stop blowing up eye adaption 2024-02-10 14:41:12 -06:00
marauder2k7 b7f9687a9d Merge remote-tracking branch 'upstream/development' into AssimpLoaader-Fix 2024-02-10 20:02:02 +00:00
marauder2k7 05960e4d25 extra fixes
Torque sees the seqEnd in appSequence as a time in seconds whereas in Assimp this is in frames.
This is then converted to frames in generateSequences.
2024-02-10 20:01:52 +00:00
AzaezelX 359ec3aa43 set object editor previewBackground element to .5s instead of .0s to stop blowing up eye adaption 2024-02-10 13:47:44 -06:00
AzaezelX de87d2f6ad fix guishapeedpreview not displaying IBL
note this *does* require a baked skylight in the main scene
todo: track down why a similar protocol does not operate for guimaterialpreview and guiobjectview
2024-02-10 13:36:55 -06:00
Brian Roberts 2fe2e7925e
Merge pull request #1212 from Azaezel/alpah41/UnitTestTrouble
supress concurent threadsafedeque test as invalid
2024-02-10 10:48:39 -06:00
AzaezelX 0ccb27b7ad supress concurent threadsafedeque test as invalid
it's never actually used like that in practice, and while the cornercase reminder is useful, it's activetly causing overlooks for practical problems
2024-02-10 10:16:23 -06:00
Brian Roberts 729b74fac8
Merge pull request #1210 from marauder2k9-torque/ThreadSafeDeque
Update threadSafeDequeTest.cpp
2024-02-10 09:30:43 -06:00
marauder2k7 e2550ed525 Update assimpAppSequence.cpp 2024-02-10 04:49:57 +00:00
marauder2k7 144e1bcc60 Update assimpShapeLoader.cpp 2024-02-10 04:25:48 +00:00
marauder2k7 4b2abd4828 Merge remote-tracking branch 'upstream/development' into ThreadSafeDeque 2024-02-10 03:20:59 +00:00