Commit Graph

1137 Commits

Author SHA1 Message Date
Dennis Brakhane f428e1a61b cmake: use precompiled headers (#1181) 2025-07-30 14:21:43 +02:00
Turánszki János 7ecd39dd6e Warning fixes and changes for Linux
- Disabled warnings as errors
- Using -Wall for specifying commonly used warnings
- Fixes for many warnings in the engine code
2025-07-29 19:59:53 +02:00
Turánszki János 496fa99c92 prefer forward slashes in places where filename will be given to user and saved 2025-07-26 14:14:00 +02:00
Turánszki János 3446829b4c fbx importer: improvement for mixamo animation name 2025-07-26 11:19:02 +02:00
Turánszki János 566b2490be enabled avx (#1184) 2025-07-24 08:36:31 +02:00
Turánszki János 14a6cb6816 limb spacing (#1182) 2025-07-23 08:25:08 +02:00
Dennis Brakhane 9c6dd74a09 update json.hpp to 3.12.0 (#1177)
this gets rid of warnings on clang, all changes are
backwards-compatible.
2025-07-19 09:31:37 +02:00
Turánszki János 6e3c57ff33 added multiple animation import for character and animation tester and Mixamo resetpose fix (#1176) 2025-07-18 08:24:45 +02:00
Turánszki János 6b6d8abdfd editor retarget animation: reset pose before retarget to avoid mistake of retargeting while in a different pose 2025-07-17 09:12:26 +02:00
Dennis Brakhane ae83bddd9b clang: remove "unknown warning group" warning (#1169)
clang also defines __GNUC__. Whoops
2025-07-14 08:19:28 +02:00
Dennis Brakhane 9efa9ddcfc cmake: add build flags for using AVX2 etc., work around GCC bug (#1167)
* cmake: work around GCC bug when compiling Jolt

* cmake: add build flags for using AVX2 etc.

On linux, AVX2 was used by default for compiling Jolt,
buy not in other parts, which clang doesn't like
(specifically inlining functions using a disabled instruction set)

So now, we just define some compile time options to enable/disable
AVX2, AVX, AVX512 etc. and make the compiler use the code for
everything, not just Jolt. By default, AVX2 is used.

Furthermore, the CMakeLists files were slightly refactored to be
a bit less messy.

* silence GCC warnings

* fix clang build on window

* disable another gcc warning-turned-error

* spring initialization fix

* size_t initializaed to 0 instead of -1

* remove initialization

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turánszki János <turanszkij@gmail.com>
2025-07-13 16:24:39 +02:00
Turánszki János 85b82f51b3 editor: custom theme sorting by name 2025-07-13 07:08:58 +02:00
Turánszki János 7e0d2f807e fix for application exe cutomization on linux (#1164) 2025-07-12 10:00:35 +02:00
Dennis Brakhane c36f75063a gltf import: check that all required extensions are supported, update tiny_gltf.h to v2.9.6 (#1161)
* gltf import: check that we support all required extensions

* gltf import: update tiny_gltf to v2.9.6
2025-07-12 08:01:26 +02:00
Turánszki János 15c22fd666 Wave effect, AMD lightmap fix and other updates (#1156) 2025-07-10 17:40:57 +02:00
Dennis Brakhane 4028d250e7 gltf import: fix light import (#1158)
The importer assumed that each light was only referenced once and in
the order it appears in the KHR_lights_punctual extension.

However, glTF allows a light to be referenced by more than one node,
and in different order. This commit adds support for this.
2025-07-10 17:16:37 +02:00
Turánszki János eefd663a64 camera window fix 2025-07-10 14:48:23 +02:00
Dennis Brakhane 6aa7ee4687 gltf import: import metadata (#1157)
Currently, only bool, float, int and string are supported. Any other
type will be imported as a JSON string.

It is assumed that the "extras" field is a JSON object; this
is the recommended practise and also how Blender stores its
custom properties.
2025-07-09 19:25:49 +02:00
Turánszki János 03edd338ad editor: metadata window fix 2025-07-09 08:24:08 +02:00
Dennis Brakhane 573b60418e remove some warnings on Clang (#1154) 2025-07-09 07:44:18 +02:00
Dennis Brakhane 282b81c3d9 replace default reference captures, fix missing calls (#1153)
* forAll -> forEach

* replace default reference captures with more specific ones

* fix missing calls in fixXYZ/forEachSelectedWithRefresh
2025-07-08 17:08:59 +02:00
Dennis Brakhane 985596c9b3 editor: reduce code duplication for all other components as well (#1151) 2025-07-07 07:36:01 +02:00
Dennis Brakhane f0bff93c91 editor: reduce code duplication in rigidbody window (#1148) 2025-07-05 07:53:44 +02:00
Turánszki János 6290f37f6d editor vehicle physics suspension sliders fix 2025-07-04 18:53:42 +02:00
Turánszki János 43ca9f7d59 editor: add 4K and 8K shadow map option for light forced resolution 2025-07-03 17:37:39 +02:00
Dennis Brakhane 0a7f2eb003 cmake: workaround source dirs containing regex meta characters (#1143) 2025-07-01 14:51:18 +02:00
Turánszki János 39a5db515a fixes 2025-06-29 06:54:10 +02:00
Turánszki János 1e80b4b420 added CreateScreenshotWithAlphaBackground feature 2025-06-28 11:53:29 +02:00
Turánszki János a522bac27b editor theme improvements 2025-06-28 06:17:35 +02:00
Turánszki János 67aa970c7a some improvements 2025-06-27 08:24:35 +02:00
Turánszki János 95ef71521f editor and project creator updates 2025-06-26 07:50:29 +02:00
Dennis Brakhane 551bbe8745 cmake: rename WickedEngineEditor target to Editor (#1139) 2025-06-25 23:05:48 +02:00
Turánszki János 1ec0e5d2ab editor: revert part that was checked in commented out by mistake 2025-06-25 19:34:32 +02:00
Turánszki János 82935701b5 editor fix: theme was accidentally applied in every update 2025-06-25 17:38:15 +02:00
Turánszki János 76607272d2 editor theme refresh refactor 2025-06-25 09:20:34 +02:00
Turánszki János a3c0ce083d editor theme and config fixes 2025-06-25 08:50:56 +02:00
Turánszki János 9ad8d841af some editor updates 2025-06-25 07:52:04 +02:00
Turánszki János 50e00517cf improvements for rename key handling 2025-06-24 09:22:04 +02:00
Anke_Does_Coding 46149bf0e1 Added hotkey for renaming the selected (#1137) 2025-06-24 07:16:23 +02:00
Turánszki János 3274fdb79a editor theme fixes 2025-06-24 07:12:35 +02:00
Turánszki János dbd0bb80d4 theme fix: when switching to theme without bg image, previous one will be removed 2025-06-21 16:31:16 +02:00
Turánszki János dc42ad58a0 theme editor fix: should work without image too 2025-06-19 17:46:24 +02:00
Turánszki János 33f0ed9598 Theme editor (#1134) 2025-06-19 09:13:08 +02:00
Turanszki Janos 24abcd840f put font initializer on main thread so init text can be immediately rendered and fonts added more easily 2025-06-16 08:25:03 +02:00
Turanszki Janos 469197ede2 editor fix: adding font awesome only after system init completed, to not replace default font by mistake 2025-06-15 10:37:43 +02:00
Dennis Brakhane 6725d097c6 cmake: Editor depends on Content (terrain) 2025-06-15 00:15:28 +02:00
Turánszki János 19e47ef096 editor: remove trailing whitespace from padded app name (#1130) 2025-06-14 08:19:52 +02:00
Turánszki János 8a1b27dd2c project creator: updated script with sample model loading (#1129) 2025-06-13 07:16:19 +02:00
Turanszki Janos 9e6fd9f3c3 editor: camera preview gui fix 2025-06-12 08:08:06 +02:00
Turánszki János 997ec4fca5 handle windows dark mode theme and some color changes in editor 2025-06-12 06:54:41 +02:00