Commit Graph

4779 Commits

Author SHA1 Message Date
Stanislav Denisov 89c2f82c19 Fix crash in combo box update (#1306) 2025-11-17 07:34:22 +01:00
Stanislav Denisov cdc6032380 Implement right-click open in new scene for content window (#1305)
Implement right-click open in new scene
2025-11-17 07:31:58 +01:00
Dennis Brakhane 0ddcdb40d2 editor: add SPACE as bindable key (#1302) 2025-11-16 07:01:25 +01:00
Dennis Brakhane 224c8fdf9e fix expression slider and dropdowns (#1300) 2025-11-15 07:09:03 +01:00
Turánszki János 359ade8d06 optimizations for hair particle system (#1298) 2025-11-14 09:04:49 +01:00
Stanislav Denisov 36c0b96c58 Add an option to bypass the system key (#1295)
* Fix the Alt key freezing the editor

* Add an option to bypass the system key

* Only check the config to bypass the system key
2025-11-12 15:14:37 +01:00
Stanislav Denisov 22e436f7a0 Implement rigidbody physics shape cache (#1291)
* Implement rigidbody physics shape cache

* Fix scaling is not applied to physics shapes that are not in the cache

* refactor, don't have breaking changes for physics interface

---------

Co-authored-by: Turánszki János <turanszkij@gmail.com>
2025-11-12 07:37:55 +01:00
Stanislav Denisov 2cc158ddf0 Implement adaptive granularity-based scrolling (#1293) 2025-11-11 08:11:47 +01:00
Stanislav Denisov 3fc5efbb46 Implement placing in front of the camera option (#1294) 2025-11-11 08:09:02 +01:00
Turánszki János 79a34bdfbe jobsystem: precomputed divisions in lut (#1290) v0.71.854 2025-11-08 10:25:17 +01:00
Stanislav Denisov 6e74c6a724 Implement distance-based culling for the physics bodies debug visualization (#1292)
Implement distance-based culling for the debug visualization
2025-11-08 09:08:08 +01:00
Turánszki János 3dc822df7e job system improvements (#1280) 2025-11-07 09:12:56 +01:00
Turánszki János d0604193f3 fix jerking video timer gui 2025-11-07 08:58:06 +01:00
Stanislav Denisov 8d1aded669 Fix editor's input system flaw (#1288) 2025-11-07 08:19:22 +01:00
Stanislav Denisov 4ace5b6f3a Implement terrain props reloading (#1287) 2025-11-07 08:18:50 +01:00
Stanislav Denisov 029f96003b Improve the formatting of config files (#1286) 2025-11-05 08:49:25 +01:00
Stanislav Denisov 4ad8d0bc71 Expose a function for setting the log file path (#1285) 2025-11-05 08:16:52 +01:00
Dennis Brakhane d7e9cc90cd cmake: add flags to enable sanitizers on linux (#1284)
Sanitizers added: address, undefined behaviour, thread

also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options.
2025-11-04 17:17:59 +01:00
Dennis Brakhane 88f9d899ad linux: make crash_handler a bit more robust (#1283) 2025-11-04 17:00:05 +01:00
Stanislav Denisov 3a700be691 Implement wireframe overlay (#1282) 2025-11-04 14:31:53 +01:00
Turánszki János 8a9dbf911d fix for incorrect spirv shader compiler behaviour (glitchy tessellation, in/out mapping mismatches) 2025-11-04 10:17:59 +01:00
Turánszki János 152d61289a disable provoking ib from wireframe render mode 2025-11-04 09:38:22 +01:00
Dennis Brakhane 02e9eb0e26 cmake: omit lua.c (#1281) 2025-11-03 18:01:22 +01:00
Turánszki János 07486015ce fix for depth mismatch issue on Intel gpu with provoking index buffer #1279 2025-11-03 11:16:31 +01:00
Dennis Brakhane d0c6f9c9ec linux: work around DirectXShaderCompiler bug (#1276)
microsoft/DirectXShaderCompiler#7869 prevents us from using address
sanitizer if LC_ALL isn't set to en_US.UTF-8. So work around that by
temporarily setting it before calling the compile method which calls
the problematic MultiByteToWideChar method.
2025-11-03 06:34:06 +01:00
Stanislav Denisov 8ff4ca931b Fix editor window captures input while inactive (#1275) 2025-11-03 06:33:27 +01:00
Dennis Brakhane 7a53e1439c remove undefined behaviour (#1278)
technically memcpy with nullptr src or dst is not safe, even if size is
zero.
2025-11-03 06:32:25 +01:00
Dennis Brakhane 5d271bf0a2 archive: don't use undefined behaviour (#1277)
unaligned stores are technically undefinied behaviour, even though they
are allowed on x86. But replacing those with memcpy should result in the
same code on x86 anyway, as it's optimized away by the compiler, and
will not cause issues on other architectures that don't support it.
2025-11-03 06:31:17 +01:00
Turánszki János 4fd14334d8 vulkan buffer was not put on host correctly causing cpu performance issue #1274 2025-11-02 17:08:47 +01:00
Turánszki János 0d9be71755 ecs lookup table optimization (#1272) 2025-11-02 10:24:01 +01:00
Turánszki János a6adfc1284 block allocator should respect alignment of items 2025-11-02 08:49:37 +01:00
Turánszki János 6caaa292dc path tracer fix 2025-11-02 08:18:13 +01:00
Stanislav Denisov 787c6802f4 Fix editor layout parameters (#1270) 2025-11-01 08:30:10 +01:00
Dennis Brakhane eb7e2ae51f fix alignment of colliders_{c,g}pu (#1268)
They are now 32 byte aligned, but since we store them manually
in big contiguious memory region, we have to take care of the
alignment ourselves.

Fixes #1265
2025-10-31 18:22:49 +01:00
Stanislav Denisov 1a765e0582 Fix unique texture collection (#1267) 2025-10-31 15:37:48 +01:00
Stanislav Denisov ee82bfd7bc Implement texture picker (#1264) 2025-10-31 07:38:58 +01:00
Turánszki János 7b3aab5411 ecs refactor: use INVALID_INDEX for non-existent indices 2025-10-31 07:05:06 +01:00
Stanislav Denisov 62aaeb0091 Implement parent display with depth (#1266) 2025-10-31 07:01:58 +01:00
Turánszki János 932c90b91d optimization for structure memory layouts 2025-10-30 09:35:29 +01:00
Stanislav Denisov ac34ab0f00 Implement entity tree sorting options (#1263) 2025-10-30 07:12:03 +01:00
Dennis Brakhane 764fd0c5ca fix exit button on Windows, and in edge cases on Linux (#1262)
After #1258, the exit button (not close) didn't work at all in Windows
and on Linux it didn't actually cause the application to close if an
untitled file had been saved.

Rewrite the logic to work both for close as well as exit.
2025-10-30 07:09:46 +01:00
Martin Knecht ff9a160535 Add question to SDL to mirror windows behaviour (#1258)
* Add question to SDL to mirror windows behaviour

* don't exit until saving is done

* fixes

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Dennis Brakhane <brakhane@gmail.com>
2025-10-29 06:53:38 +01:00
Dennis Brakhane 6cb6fab457 cmake: add manifest to windows build (#1261) 2025-10-29 06:51:41 +01:00
Turánszki János 01c9c5efca optimization of sampler access in forward passes and some other updates (#1257) 2025-10-28 07:51:26 +01:00
Stanislav Denisov 584ed3d5ab Fix camera reset for untitled scenes (#1259) 2025-10-28 07:05:13 +01:00
Stanislav Denisov 53fb80f377 Implement move to editor camera view for transforms (#1260) 2025-10-28 06:35:35 +01:00
Stanislav Denisov 02e27e3644 Supply a manifest file to the editor (#1256) 2025-10-27 17:11:21 +01:00
Stanislav Denisov 6f4441ad90 Implement the application exit method (#1255) 2025-10-27 07:23:21 +01:00
Turánszki János f807d9f69d added ability to choose gpu by vendor preference when initializing the graphics device 2025-10-26 14:50:58 +01:00
Stanislav Denisov 88a9aab75a Fix the chromatic aberration sampling (#1254) 2025-10-26 14:11:27 +01:00