Commit Graph

4325 Commits

Author SHA1 Message Date
Turánszki János 7f93e6cd3c gltf importer fix 2025-02-01 07:56:13 +01:00
Turánszki János bbceb6dbcc backlog: removed non-trivial locking (#1051) 2025-02-01 07:35:29 +01:00
Turánszki János 12f6abd4de general improvements (#1049)
- Entity is now 64-bit uint
- terrain chunk hashing improvement
- structure memory alignment improvements
- light shafts improvements
2025-01-31 08:25:02 +01:00
Turánszki János ed5b4a0e9c vulkan layout hash collision handling (#1048) 2025-01-30 07:47:15 +01:00
Turánszki János 45b2ff31ae reduced vs-ps parameters 2025-01-29 08:52:12 +01:00
Turánszki János 098e7b52fb shader compiation fixes with -Od option 2025-01-29 07:37:50 +01:00
Turánszki János 2aa34e53f0 compatibility fix for the clang compiler 2025-01-28 17:06:12 +01:00
Turánszki János 0dc0ede9ea alpha testing improvements 2025-01-27 08:47:44 +01:00
Turánszki János 2e51d612e7 interior mapping emissive 2025-01-26 18:47:44 +01:00
Turánszki János 4c53158662 interior mapping (#1047) 2025-01-25 13:54:27 +01:00
Dennis Brakhane 4d9bd4aeb3 Linux: update FAudio to 25.01 (#1029) 2025-01-24 14:37:48 +01:00
Dennis Brakhane c0cbd84520 offlineshadercompiler: shaderdump no longer implies rebuild (#1046) 2025-01-24 07:35:11 +01:00
Turánszki János f030147c8d Pipeline hashing simplification and hash collision handling (#1045) 2025-01-24 07:30:33 +01:00
Turánszki János 7161d9884a physics: parented rigid body is detached only temporarlily during simulation to not modify real hierarchy system 2025-01-23 08:15:14 +01:00
Turánszki János 010e794de4 removal of unnecessary shader specializations (#1044) 2025-01-23 07:56:10 +01:00
Turánszki János 4bae72f5f7 props file moved from root dir (#1043) 2025-01-23 07:55:33 +01:00
Turánszki János 2726ff1737 editor: added master volume slider, object multiselection value fixes 2025-01-22 07:47:29 +01:00
Turánszki János a19962fa77 editor fix: BVH must be rebuilt after LODgen 2025-01-21 09:08:40 +01:00
Turánszki János 32006f3d10 humanoid lookat can be set to entity and serialized 2025-01-21 06:56:04 +01:00
Phil Schumann 257206d60f character_controller.lua: remove unused fields / vars (#1040) 2025-01-21 06:48:40 +01:00
Dennis Brakhane 0022b69da1 Github actions: Add Ccache to Windows build (#1041) 2025-01-21 06:47:15 +01:00
Dennis Brakhane a667a93ec2 Fix typo (#1039) 2025-01-21 06:46:31 +01:00
Turánszki János 03958b58ae editor: translator snap to surface improvement; subset order modification button; 2025-01-20 09:02:40 +01:00
Dennis Brakhane fd26919a8b wiArchive: Make sure isClose() returns true after calling Close() (#1036)
Fixes #1035
2025-01-20 08:00:55 +01:00
Turánszki János 1db7abd065 script bindings for version things 2025-01-19 14:05:45 +01:00
Dennis Brakhane 98dfd7f589 github actions: use offical UPX, update .editorconfig (#1031)
* Update .editorconfig so my Emacs doesn't add tabs into the YAML files
  anymore

* The UPX version in ubuntu doesn't use the NRV library and seems to be
  a bit buggier. Furthermore, UPX is GPL and they allow an exception
  only if the binary is compressed with the official build. The latter
  is not really a problem, nobody will care, but the worse compression
  and potential crashes are. So just use the official build for Linux.
  Windows was already using it, but to keep it consistent with
  UPX_VERSION we now also download it instead of using Chocolatey.
2025-01-19 07:45:35 +01:00
Phil Schumann 79c16973e4 Docs: clarify how to achieve looping audio playback (#1033)
[Background](https://wickedengine.net/forum/topic/how-to-make-the-soundinstance-in-samples-tests-loop/)
2025-01-19 07:43:24 +01:00
Turánszki János f4b37094f4 fixes and improvements 2025-01-18 15:28:59 +01:00
Turánszki János 55db8abdeb xbox fix 2025-01-18 12:04:58 +01:00
Turánszki János 9b9557b29c xbox fixes 2025-01-18 08:57:45 +01:00
Dennis Brakhane 7918369856 github actions: cancel superseded PR build actions (#1030)
When a PR is updated while the build action hasn't finished yet,
the old action is not automatically cancelled. That build is of
very limited usefulness since its results will not be shown and
are not relevant anymore, so it just wastes resources.

This commit fixes that, now an older build will get cancelled.
2025-01-18 08:15:19 +01:00
Dennis Brakhane 20dc3e4722 remove yet another clang warning (#1028) 2025-01-18 08:10:12 +01:00
Dennis Brakhane dff19387d4 Don't call UnregisterTypes() in ~JoltDestroyer (#1025)
Closes #945

see jrouwe/JoltPhysics#1458
2025-01-17 07:37:55 +01:00
Dennis Brakhane 09c042f994 increase timeout waiting for entriesLock (#1026)
Turns out 33ms aren't "more than enough", during shader compilation
the timeout was often reached. Increasing it to 100ms seems to solve
the issue, and it's still short enough to avoid blocking the application for
too long in case something goes wrong.
2025-01-17 07:36:04 +01:00
Dennis Brakhane ddc55487d1 Compress Editor with UPX (#1022) 2025-01-17 07:34:32 +01:00
Turánszki János 13921bc1b0 wait for job system threads to shut down before exiting 2025-01-16 09:59:43 +01:00
Dennis Brakhane 17bf75fd35 linux: add simple crash handler that dumps stacktrace (#1020)
Since the Linux version seems much more unstable than the Windows one,
having more information where the crash occured will help with figuring
out where the problems are.

This commit adds a simple crash handler that dumps out the stacktrace,
it's only supported on Linux.
2025-01-16 08:42:40 +01:00
Phil Schumann 73d7a0d2f8 Mini docs fix: get entity via GetEntity (#1024)
Fix: get entity via GetEntity
2025-01-16 07:55:50 +01:00
Dennis Brakhane 3ffe1d7771 add option to disable editor UI animations (#1011)
* add option to disable editor UI animations

* focus mode updates

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2025-01-15 16:00:03 +01:00
Turánszki János 7a3e488328 resources from compressed archive will be streaming from memory instead of file 2025-01-15 09:29:59 +01:00
Turánszki János 70ef11caa8 dx12 and vulkan error checking fixes 2025-01-14 16:29:10 +01:00
Turánszki János 73433bf842 Archive compression (#1018) 2025-01-14 12:57:40 +01:00
Dennis Brakhane 602117b712 cmake: remove broken instruction (#1017)
it causes compiler errors and works fine without
2025-01-13 17:27:22 +01:00
Dennis Brakhane 187c3108b6 Simplify {vulkan,dx12,xaudio}_check macro (#1015)
This changes `vulkan_check` and other macros to directly take the call
to be executed. It will execute it and check the result, if it's not
successful, it will log an error with the function name.

It also returns the result code, allowing further processing.
2025-01-13 17:25:57 +01:00
Phil Schumann 4660a680c4 fix: Unix guard to set FAudio target properties (#1016) 2025-01-13 14:18:47 +01:00
Turánszki János d81618e5fe fix in compress/decompress and remove unused function 2025-01-12 19:48:03 +01:00
Dennis Brakhane 224ed34fe9 backlog: fix potential deadlock in a different way (#1014)
The current implementation works insofar as that there is no deadlock,
but unfortunately the `entries` data can become corrupted enough for
the program to crash in the C++ stdlib.

For the new solution we use a shared_timed_mutex, allowing shared read
access to `entries`, and only acquire a unique lock for writing. Since
this can run into a deadlock if an error happens during rendering of
the backlog itself, we only wait 33ms to acquire it (1 frame @ 30 fps).

If we can't get it by that time, we still write to debug output, but not
into `entries`.

The shared_timed_mutex also allows us to wait for a read lock at the
end of the program, so we now wait for 1s instead of giving up immediately.

This commit also fixes a missing synchronization when accessing `history`
that was accidentially removed.
2025-01-12 19:27:26 +01:00
Turánszki János 1a91ab93af documentation updates (#1013) 2025-01-12 14:23:16 +01:00
Dennis Brakhane 9b7e102e05 use Zstd for wiHelper::Compress (#1012) 2025-01-12 07:40:12 +01:00
Phil Schumann acd31d6dfc cmake: allow static PIC builds with new optional WICKED_PIC_CODE (#1010) 2025-01-11 22:16:41 +01:00