Commit Graph

1154 Commits

Author SHA1 Message Date
Turánszki János 97b8f8608f added CRT effect option for camera feed 2025-09-22 10:47:51 +02:00
Turánszki János 4113127c1b CRT filter (#1218) 2025-09-16 09:24:32 +02:00
Turánszki János 9359c90ecf project creator improvement: reload last project 2025-09-13 11:11:32 +02:00
Turánszki János 5dc4f68e94 Mesh blend (#1215) 2025-09-03 08:46:48 +02:00
Dennis Brakhane 3b9a024d32 fix indentation (#1210) 2025-08-14 15:27:12 +02:00
Jason Rice 1033b167bd Delete Widget copy/move constructors to prevent invalidating this (#1209) 2025-08-14 08:01:30 +02:00
Turánszki János 91226ffef6 HDR UI calibration slider + lua bindings #1204 2025-08-13 09:25:32 +02:00
Dennis Brakhane f0bd5a8086 Don't use by reference capture by default (#1207)
replace [&] with [this] or [] where possible to avoid people
accidentally capturing something by reference that needs to be
copied, like strings.
2025-08-13 08:46:42 +02:00
Turánszki János 464d75caf2 editor spline window fix 2025-08-12 09:05:19 +02:00
Jason Rice a249867f73 Remove stack reference capture (#1205) 2025-08-12 08:16:13 +02:00
Jason Rice 3fcb6ab83b editor: crash fix for export to c++ header file dialog (#1202) 2025-08-12 08:03:30 +02:00
Turánszki János cae9a0cb9d editor crash fix in light window cascade widgets 2025-08-11 08:41:56 +02:00
Dennis Brakhane 14d2eb9f78 gltf: fix saving for current tinygltf versions, tinygltf back to v2.9.6 (#1198) 2025-08-09 09:53:48 +02:00
Turánszki János 8f42aaf4a0 terrain is not regenerated when terrain physics is changed 2025-08-07 08:34:21 +02:00
Turánszki János 6b12c0d87b reverted tinygltf library because broken export; added anim names to gltf export; 2025-08-06 12:33:34 +02:00
Turánszki János 5fe1d12284 metadata window fix: lambda reference got stale while erasing items, causing incorrect property removals 2025-08-04 09:38:30 +02:00
Dennis Brakhane 89ad0f1a1a cmake: add support for link time optimization (#1196)
add an option WICKED_USE_IPO that enables IPO/LTO on non-debug builds.

It defaults to ON, unless the compiler doesn't support it.
2025-08-04 08:01:28 +02:00
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