Commit graph

5479 commits

Author SHA1 Message Date
marauder2k7
48312ae20e JOLT Physics update
adds jolt physics to torque3d
2026-04-13 14:55:46 +01:00
marauder2k7
d331731aa1 local build of libpng 2026-04-13 14:55:45 +01:00
marauder2k7
97e539db46 Update simSet.cpp 2026-04-13 14:55:45 +01:00
marauder2k7
0c94a71c66 update the settings display for audio devices 2026-04-13 14:55:45 +01:00
marauder2k7
8baca526b1 Update actionMap.cpp
convert objectstring to upper case to look better in the ui
2026-04-13 14:55:45 +01:00
marauder2k7
3188920312 Update actionMap.cpp 2026-04-13 14:55:44 +01:00
marauder2k7
496895d60c action map remap for mac
Mac now automatically remaps keys and modifies the incoming string to reflect it

automatically converts:
Ctrl -> Cmd
Alt -> Option

if you absolutely need a specific set on macos you will still need to check the platform in script and set the required key otherwise this will allow menus to be built with just providing the windows key or the mac key and it will display correclty for the platform.
2026-04-13 14:55:44 +01:00
marauder2k7
8de2458610 Add reverb
Adds reverb functionality to sound system

TODO: Make a proper sfxMixer api that will route voices to channels that have the effects slots added to them. this is just a place holder for a more complete implementation
2026-04-13 14:55:44 +01:00
marauder2k7
974f217b96 SFX API Changes
DSound has since been deprecated and xaudio2 would require us to write our own 3d spatialization and mixer
Load devices the same way we load in the gfx end
setup sfx provider
run sfx devices on startup
various fixes around sfx null device
added the bitrate and samplerate globals
added the hrtf global code is in to use this but not setup yet
Adds speed of sound to the sound system
SFXAmbience now has a property for speed of sound for different mediums, can also be set directly
2026-04-13 14:55:43 +01:00
marauder2k7
6da3caf88a Fix include directives
includes now dont go into sub folders for the most part
2026-04-13 14:55:42 +01:00
marauder2k7
7367914923 Update CMakeLists.txt 2026-04-13 14:55:42 +01:00
marauder2k7
d0a00da9a0 vcpkg complete replacement
Replaces all our 3rd party dependencies with vcpkg installed dependencies.

Some will be downloaded eg assimp/libpng
2026-04-13 14:55:41 +01:00
Brian Roberts
12dddd07b5
Merge pull request #1711 from marauder2k9-torque/GLFix-BlackTerrain-issue
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
OPENGL: Terrain doesnt render correctly
2026-04-11 18:12:37 -05:00
marauder2k7
a78c0b4309 Update bitmapPng.cpp
update bitmapPng reading from libpng to have context in warnings and errors, also add a bit of a better structure around the read and write functions.

Interlaced PNG's were never being accounted for before so add the png_set_interlace_handling for interlaced pngs
2026-04-10 17:41:27 +01:00
marauder2k7
f622d97224 Update gfxGLDevice.cpp 2026-04-10 17:00:58 +01:00
marauder2k7
dead75f458 Update gfxGLDevice.cpp 2026-04-10 16:48:30 +01:00
marauder2k7
02b3f3d0a1 Update gfxGLDevice.cpp
clearing the active program caused issues during a target bake as we call glClear after setting the shader etc. As this warning id 131204 seems to be a product of doing this, everything i read up on it says it is safe to silence it.
2026-04-10 08:34:59 +01:00
marauder2k7
93b5a8d22e Terrain doesnt render correctly
The core of this issue was the unlock on the GFXGLTextureObject

Few other bug fixes around setting a texture binding to 0, notice in clear function we now also clear the glprogram and the buffers. This seems to fix most of the warnings around id 131204

This warning was triggered every frame, now it just triggers when a shader expects a texture but none is active.
2026-04-10 06:42:45 +01:00
AzaezelX
d6e370508f for some reason undo was comming in as a global method. so no temp vars 2026-04-09 23:59:52 -05:00
Areloch
0820cff8e2
Merge pull request #1705 from Azaezel/alpha41/soundsQuickfix
quick fix for misc sounds
2026-04-08 23:42:28 -05:00
Areloch
4fe0dd05b4
Merge pull request #1682 from marauder2k9-torque/RefBase-refactor
RefBase classes refactored to use smart pointers
2026-04-08 23:42:19 -05:00
AzaezelX
9ca436d193 quick fix for misc sounds
player and vehicle were not loading some of thier sounds.
we'll want to revisit this with a more comprehensive solution in the future, but this will at least allow folks to use the systems in place
2026-04-04 15:21:47 -05:00
Brian Roberts
6c94836654
Revert "client projectile origin tweak" 2026-04-01 16:06:43 -05:00
Brian Roberts
1ee72ff9bd
Merge pull request #1699 from Azaezel/alpha41/decalEd_pill
fix decal editor bounds and decalmanager raycast
2026-03-24 19:04:58 -05:00
marauder2k7
4a0a7d2b10 fix for hasaccumulation exception
There is an exception on teardown usually during a debug build that is caused during shapeBase onRemove calling hasAccumulation.

This fix reorders the hasAccumulation check to be before shapebase calls Parent::onRemove, and also hard sets the mMaterialList to NULL when setMaterialList is called
2026-03-23 12:22:54 +00:00
Areloch
b742f399e4
Merge pull request #1692 from Azaezel/alpha41/controllerCreaceCorrections
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
controler hardening
2026-03-22 21:39:40 -05:00
AzaezelX
215830ca55 fix decal editor bounds and decalmanager raycast
we weren't accounting for texRects for decal atlases
2026-03-22 21:31:39 -05:00
Brian Roberts
1e2a3ffcf0
Merge pull request #1691 from Azaezel/alpha41/projectileProjection
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
client projectile origin tweak
2026-03-19 16:02:25 -05:00
Brian Roberts
75e0cdc7bb
Merge pull request #1695 from Azaezel/alpha41/matrixWork
Some checks are pending
Linux Build / Ubuntu Latest GCC (push) Waiting to run
MacOSX Build / MacOSX Latest Clang (push) Waiting to run
Windows Build / Windows Latest MSVC (push) Waiting to run
matrix work
2026-03-19 14:31:05 -05:00
Brian Roberts
b8e5a89ed6
Merge pull request #1696 from Azaezel/alpha41/strayStringCmp
emtpy char* check correction
2026-03-19 12:46:27 -05:00
AzaezelX
0005774075 pick up missed strays 2026-03-19 12:06:30 -05:00
AzaezelX
f04f387bc4 ditch general swizzle mask. use the singular 2026-03-19 11:03:12 -05:00
AzaezelX
135f59ab82 Revert "add missing v_swizzle_mask"
This reverts commit decab9210b.
2026-03-19 11:01:20 -05:00
AzaezelX
decab9210b add missing v_swizzle_mask 2026-03-19 10:04:23 -05:00
AzaezelX
64ceec1060 emtpy char* check correction 2026-03-18 20:21:48 -05:00
AzaezelX
6fb3c84073 update 2026-03-18 19:34:30 -05:00
AzaezelX
11d8df4866 matrix work 2026-03-18 19:32:37 -05:00
AzaezelX
a074146603 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/controllerCreaceCorrections 2026-03-17 15:46:45 -05:00
Brian Roberts
db9dd294b6
Merge pull request #1694 from Azaezel/fixCI
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
fix CI
2026-03-17 15:44:45 -05:00
AzaezelX
832d1afec4 further followups to CI compilation config 2026-03-17 14:55:23 -05:00
AzaezelX
a64cc6a512 revert some of the more experimental matrix math
from marauder:
Fixing transform plane as some descrepencies between the simd function and the c math caused issues with precision.
Use c math for inverse functions until a proper simd implementation can be found.
2026-03-17 12:59:45 -05:00
AzaezelX
ae67aaba4a controler hardening
work towards better handling of tightly overlapping corners and degenerate polysoup faces
2026-03-16 22:48:12 -05:00
AzaezelX
45e2a00f20 client projectile origin tweak
on the client, start the projectile simulation starting point at the rendered muzzlepoint (reminder server corrective packets will force it to converge as it goes along)
origional report/revision suggestion couressy loljester: https://discord.com/channels/358091480004558848/358091480004558849/1476994844005109893
2026-03-16 22:24:45 -05:00
Brian Roberts
58632d0d73
Merge pull request #1689 from ZombieSoul/fix-physics-player-collision
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
Fix wrong variable in physics collision loop
2026-03-15 09:34:06 -05:00
ZombieSoul
014ab6991a Fix wrong variable in physics collision loop
In Player::updatePos(), when processing physics collision results, the code was incorrectly using col.object instead of colCheck.object when checking if the collision object is a player.

This caused:
- First iteration: col.object is uninitialized (zeroed), leading to null pointer access
- Subsequent iterations: col.object contains the previous iteration's value, causing incorrect type checks

The fix changes col.object to colCheck.object to properly check the current collision object.
2026-03-15 10:15:30 -04:00
Brian Roberts
6700cfd993
Merge pull request #1680 from marauder2k9-torque/SIMD-Math-and-ISA-integration
Some checks failed
Linux Build / Ubuntu Latest GCC (push) Has been cancelled
MacOSX Build / MacOSX Latest Clang (push) Has been cancelled
Windows Build / Windows Latest MSVC (push) Has been cancelled
Simd math and isa integration
2026-03-13 12:50:17 -05:00
Brian Roberts
c666f411ef
Merge pull request #1686 from Azaezel/alpha41/containerCorrection
Some checks are pending
Linux Build / Ubuntu Latest GCC (push) Waiting to run
MacOSX Build / MacOSX Latest Clang (push) Waiting to run
Windows Build / Windows Latest MSVC (push) Waiting to run
fix scencontainter itterator filter
2026-03-12 20:52:26 -05:00
Brian Roberts
98619c805b
Merge pull request #1685 from Azaezel/alpha41/fixDebug
fix forward lit shaders in debug mode
2026-03-12 20:52:08 -05:00
AzaezelX
19c5a55dcd fix scencontainter itterator filter 2026-03-11 17:09:29 -05:00
AzaezelX
5b18051b5d fix forward lit shaders in debug mode 2026-03-11 17:04:58 -05:00