Commit graph

4891 commits

Author SHA1 Message Date
Brian Roberts
69e763f698
Merge pull request #1381 from Azaezel/alpha41/detailGenerator
adds a built in detail map generator
2025-02-08 14:34:37 -06:00
AzaezelX
4d66ae37de handle mounted lights ghosting in and out
send a periodic corrective packet for mounted lights to ensure they stay mounted when moving in and out of ghosting
2025-02-08 10:58:50 -06:00
AzaezelX
516df48354 adds a built in detail map generator
splitTerrainMaps("data/some/file"); or  makeTerrainMapsFrom("module:anAsset"); to take a detailed albedo map and split it into a _bas(is) file thats an averaghe of the inut and a _det(ail) file to raise and lower different channels from that average.
special note: while used primarily for terrain authoring, these files could also be plugged into a normal material
2025-02-06 14:46:05 -06:00
Brian Roberts
e77c4b3a18
Merge pull request #1364 from Azaezel/alpha41/offloadLibcurl
offload libcurl to resources
2025-02-06 14:01:33 -06:00
Brian Roberts
b47ffb2f28
Merge pull request #1379 from Areloch/VariousSubSceneFixes
Various Subscene Fixes
2025-02-06 12:16:49 -06:00
JeffR
0d338f2d51 * Update levelAsset creation so it can be flagged to be creating a subScene preemptively, improving workflow when creating a SubScene level asset 'in place' via the inspector.
* Fixed issue of creating new SubScene using the full level template instead of a blank level file
* Fixed subScene inspector field handling so clicking the create new will mark the 'in place' created level asset as a subscene appropriately
* Changed up persistenceManager logic when parsing objects out - especially with specialty fields - to use Strings instead of const char* to simplify memory juggling and improve stability
* Rolled back specialty array field outputs for decal roads and convex shapes to have the field names in the output again
* Added sanity check for MeshRoad's when writing out via specialty array field to ensure there are profile nodes before trying to write any
* Added sanity check to avoid pointlessly writing out meshroad and river position field into subScene file as it could cause a transform double-up and cause them to move when loading from a subscene
2025-02-05 22:51:43 -06:00
AzaezelX
11bf7df46d need to filter subscenes out of screenspace box drag
the ap hangs otherwise
2025-02-02 21:08:57 -06:00
JeffR
e47fe2b1f3 Adjusts the OpenAL device listing query to ensure more reliable results. 2025-01-30 15:18:51 -06:00
Brian Roberts
cd2213de36
Merge pull request #1371 from Azaezel/afxZodiacFindings
Afx zodiac findings
2025-01-27 18:57:28 -06:00
Brian Roberts
4bd43265a9
Merge pull request #1370 from Azaezel/alpha41/tsStaticTrouble
add lod selection for visiblemesh collisions
2025-01-27 18:57:13 -06:00
AzaezelX
f5b7f70f50 add a specific lod option for findColDetails 2025-01-27 17:19:22 -06:00
AzaezelX
d2a1153a49 turn zbuffer checks on, account for reverse depth changes 2025-01-27 16:29:07 -06:00
AzaezelX
e2a0fbefa3 add lod selection for visiblemesh collisions
add box filtering for visiblemesh buildPolyList
2025-01-27 15:37:05 -06:00
Brian Roberts
5feef0ec5c
Merge pull request #1368 from Azaezel/alpha41/sourceGroupGrok
fill in asset based sound group if not specified by instanced emitter
2025-01-27 11:31:41 -06:00
Brian Roberts
fdbac265b7
Merge pull request #1363 from marauder2k9-torque/ColorPicker-refactor
Color picker refactor rev2
2025-01-27 11:31:17 -06:00
marauder2k7
44a6ceab2d code review
Revert Hsb to using integers
Clamp drag values
2025-01-27 08:04:55 +00:00
JeffR
bf9f0ee6cd Adjusts the test behavior for when the player class tries to ray-check against PathShapes to nudge the player to a safer position. Originally it ONLY checked pathshapes, so a static over a pathshape could cause erroneous behavior. 2025-01-27 00:15:14 -06:00
AzaezelX
557b3639eb fill in asset based sound group if not specified by instanced emitter 2025-01-26 20:52:50 -06:00
Olathuss
44df6dada7 Close Menu Implemented
closeMenu function on guiMenuBar implemented. Closes menu when selecting a popup menu action.
2025-01-25 22:59:17 -07:00
marauder2k7
a91ddfffa1 fixes for linux
According to doc and man pages we should not be using %Lg for a double as %Lg relates to a long double, F64 in torque is just a double so. This also produces better results when going from colorF to the colorPicker dialogue
2025-01-24 08:44:57 +00:00
AzaezelX
c41f4d6680 since
https://github.com/Torque3DResources/curlModule/blob/main/source/libs/libs.cmake
appends TORQUE_INCLUDE_DIRECTORIES
we can look in that dir for httpobject sintead of relying on relative-to-core locations
2025-01-23 20:59:21 -06:00
marauder2k7
2bf2da74a0 sound asset refactor init 2025-01-23 22:16:35 +00:00
marauder2k7
d87655bb3a merge dev 2025-01-23 22:16:33 +00:00
marauder2k7
0f4d2d1689 material definition finished 2025-01-23 22:16:02 +00:00
marauder2k7
58119a4f82 more material def 2025-01-23 22:15:47 +00:00
marauder2k7
cebfdbc5ec material definition
changing the beast over to the refactor
2025-01-23 22:15:29 +00:00
marauder2k7
4d980e5406 various cleanups and fixes
basicClouds refactored
null dereference fixes in guiMenuBar
2025-01-23 22:14:05 +00:00
marauder2k7
eb746a1142 console spam
moved error printout in guiType guiControlProfile incLoadCount inside a check to make sure the profile has a bitmap asset set.

remove older typeImageAssetId from group and variable inspector classes
2025-01-23 22:13:49 +00:00
marauder2k7
32c6330b72 guiControlProfile 2025-01-23 22:13:48 +00:00
marauder2k7
b75d5b70c6 toolbox 2025-01-23 22:13:47 +00:00
marauder2k7
22037bf94f moar refactors 2025-01-23 22:13:46 +00:00
marauder2k7
4d893f51cf gui image asset refactor
bitmap button popup ctrl ex
2025-01-23 22:13:21 +00:00
marauder2k7
f519cff6ff gui types using image_asset 2025-01-23 22:12:57 +00:00
marauder2k7
fa8110ce8f all DECLARE_IMAGEASSET refactored 2025-01-23 22:12:55 +00:00
marauder2k7
24b374f545 cloud layer example 2025-01-23 22:12:54 +00:00
marauder2k7
eca0820134 init commit
start of attempt 3
2025-01-23 22:12:52 +00:00
marauder2k7
055ca0ae00 use screenshot for eye dropper
instead of using backbuffer image, use the screenshot so it captures everything
2025-01-23 20:23:47 +00:00
marauder2k7
93352f5754 linear to hsb and back again requires srgb calcs 2025-01-23 19:37:15 +00:00
marauder2k7
704e304eef display correct values
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
AzaezelX
209abf3aa4 ensure zodiac texture is preloaded 2025-01-23 11:21:07 -06:00
marauder2k7
48ca98ca84 color palette saving
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7
46192c3709 Eye dropper functionality
Adds eye dropper functionality
adds eye dropper button image supplied by jeff
adds a few missing asset files (due to in asset browser scan and add all loose files)
2025-01-23 10:18:18 +00:00
marauder2k7
029a495de1 change hsb to doubles internally 2025-01-22 20:12:49 +00:00
marauder2k7
5ca1c37fe9 more fixes for hsb conversion and gui updated 2025-01-22 19:14:40 +00:00
marauder2k7
29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
AzaezelX
a5583a1d0e typofix 2025-01-21 11:02:16 -06:00
Brian Roberts
b105fce2f2
Merge pull request #1357 from Azaezel/alpha41/subScenSplineShenanigans
spline objects were mis-saving in submis files
2025-01-20 12:54:23 -06:00
AzaezelX
0e22488434 cleanups and safeties.
had a bunch of dupliated code injectors that are bypassed by the nature of AbstractClassRep::FIELD_SpecialtyArrayField
since those getSpecialFieldOut entries return a const char * from the stringtable, we *don't* want to try and kill those off, since that can lead to trying to delete deleted things from what was designed as a permanent record
2025-01-19 13:31:23 -06:00
AzaezelX
d6334f6cca spline objects were mis-saving in submis files
classes using AbstractClassRep::FIELD_SpecialtyArrayField use an explicit-writing mechanism, rather than tying things to a variable 'slot', so don't try and concaenate the two
2025-01-16 15:35:39 -06:00
Brian Roberts
221614383b
Merge pull request #1356 from Azaezel/development
handle pathshapes comming in from above players more gracefully
2025-01-15 20:36:35 -06:00