Commit graph

5106 commits

Author SHA1 Message Date
AzaezelX
c830d20150 update max probecount
dx11 has a 2048/6 cap on how many cubemaps can fit in a given array. bump the probe count up to just under that to buy folks head room while we work on revising a more robust solution
2025-02-19 19:17:19 -06:00
bank
5e8af7020c
Fix memory leak in ZipSubRStream
Inside attachStream() method we may clone passed stream, but never delete it.
2025-02-19 15:06:02 +03:00
AzaezelX
f9eeaf8869 simplify erosion calcs 2025-02-18 19:58:48 -06:00
AzaezelX
e106871350 correct noise miltipliers. add biases for thermal (slope) and hydrolic (average) hieght changes 2025-02-18 16:08:30 -06:00
AzaezelX
0d2f3e294d use standard t3d maxes 2025-02-18 01:09:09 -06:00
AzaezelX
25ea164a1f add a pasteUp and pasteDown pallet 2025-02-17 23:42:19 -06:00
AzaezelX
561c201b88 copy paste support for terrains 2025-02-17 22:10:56 -06:00
AzaezelX
262ff405fa conform hydrolicErosion to the same spec as thermal 2025-02-17 20:58:40 -06:00
AzaezelX
315f05ea47 revert portions to a previously demonstrated to work state... 2025-02-17 19:55:23 -06:00
AzaezelX
329ffab86c work towards adding erosion noise 2025-02-17 16:43:10 -06:00
AzaezelX
2eb2cbc302 add erosion brushes
todo: sort why noise... isn't.
2025-02-17 05:48:15 -06:00
Brian Roberts
4827c100f7
Merge pull request #1385 from Azaezel/alpha41/onTheClock
guiClockHud augs
2025-02-15 20:26:44 -06:00
AzaezelX
8993ffe3e6 guiClockHud augs
adds a pause, reversed, and significantTime inspector exposed variable to guiClockHuds
significantTime is in sceconds and triggers an onSignificantTimeReached callback
2025-02-15 16:48:15 -06:00
marauder2k7
142467ccc6 update lib
can use original cmakelists.txt from torque, but update naming to tinyxml2
2025-02-14 19:57:38 +00:00
AzaezelX
a529e3ecc0 clean up subscene load evaluators so that it doesn';t require a client if it's set to global
(allows spawnpoints to fill out prior to connections)
also try and apply filtering prior to actual loading
2025-02-13 14:32:23 -06:00
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