Commit Graph

46 Commits

Author SHA1 Message Date
Dennis Brakhane 2ebee47c4b allocate application on heap instead of stack and delete it
This prevents problems with Vulkan debug layers that don't like
Vulkan calls to happen during C++ app shutdown.
2026-01-19 14:16:17 +01:00
Stanislav Denisov 32fbee5613 Implement persistence for the editor window's size (#1336)
Implement persistence for the window size
2025-11-26 16:16:30 +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 8ff4ca931b Fix editor window captures input while inactive (#1275) 2025-11-03 06:33:27 +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
Stanislav Denisov 6f4441ad90 Implement the application exit method (#1255) 2025-10-27 07:23:21 +01:00
Turánszki János 7e0d2f807e fix for application exe cutomization on linux (#1164) 2025-07-12 10:00:35 +02:00
Turánszki János a3c0ce083d editor theme and config fixes 2025-06-25 08:50:56 +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 997ec4fca5 handle windows dark mode theme and some color changes in editor 2025-06-12 06:54:41 +02:00
Turánszki János 334e5dbc3a added inverse blend mode (#1124) 2025-06-11 07:41:04 +02:00
Turánszki János 030413c9cc Project creator (#1118) 2025-06-07 17:38:36 +02:00
Turánszki János ef16be5f41 removed mostly win32 code clutter 2025-06-03 19:34:47 +02:00
Turánszki János c310a371be drag and drop fix 2025-05-20 10:06:24 +02:00
Turánszki János 4235e2c6e5 winapi cursor state improvements 2025-03-30 12:35:31 +02:00
Turánszki János 29fe3b7558 hdr window resize fix and cursor fix 2025-03-30 08:37:05 +02:00
Turánszki János 13921bc1b0 wait for job system threads to shut down before exiting 2025-01-16 09:59:43 +01:00
Turánszki János eed758a75b added SetFullScreen to Application + material saturation now affects … (#965)
added SetFullScreen to Application + material saturation now affects particles + added some missing lua bindings
2024-10-16 18:01:43 +02:00
Turánszki János 52b84918dd some editor updates 2024-10-15 07:53:43 +02:00
Turánszki János 7b63f9cd15 extended hair particle spritesheet control (#941) 2024-09-10 08:07:07 +02:00
Turánszki János 3eb4c6cc37 resource manager hot reload (#864) 2024-06-19 07:28:00 +02:00
Turánszki János 00a72a7b30 allocation removals and fixes 2024-06-04 07:32:26 +02:00
Turánszki János 1c38d93304 Editor gui v2 (#843) 2024-05-17 08:04:05 +02:00
Turánszki János 4954f62468 various updates (#758)
* object rendering can now be disabled in reflections; removed custom ray tracing inclusion masks for more unified system based on object flags and to not interfere with user logic layer masks; other scripting updates;

* unregister editor printscreen

* point light shadow artifact fix
2023-10-01 17:01:39 +02:00
Turánszki János d436147e0f editor: added drag n drop file handling; gltf export fix; 2023-06-18 21:01:12 +02:00
Turánszki János 21d5f37fee build updates (#655) 2023-03-28 19:30:29 +02:00
Turánszki János 49def1c269 Localization (#654) 2023-03-25 20:28:12 +01:00
Amer Koleci e95bf21fe2 DirectX Agility SDK (#598)
* - Update DirectX-Headers to latest Agility SDK
- Update D3D12MA to latest github
- Add macro for using agility SDK 608.

* Correct CMake build and revert changes to Editor/config.ini
2022-11-25 16:47:18 +01:00
Turánszki János d832ee167f Expression and humanoid lua bindings (#569)
* Expression and humanoid lua bindings

* add fog color override

* fix

* added scene saved indicator text

* win + D fix
2022-09-19 12:19:46 +02:00
Turánszki János c8139da6b6 Editor full screen toggle (#558)
* Editor full screen toggle

* fix
2022-09-06 12:45:16 +02:00
Turánszki János 60ef0ae251 Terrain refactor (#549)
- terrain separated into core logic and gui
- terrain can be serialized
- ddgi extents also saved, added control for smooth backface test
- raytraced shadow fixes
2022-09-01 18:42:16 +02:00
Turánszki János 12e410d893 Paint tool stabilizer, continuous stroke, multiselect (#519)
- continuous stroke
- stabilizer
- multiselect
- smoothness improvement
2022-08-21 17:13:43 +02:00
Turánszki János 64babc8fcd Config file support (#517) 2022-08-20 18:32:16 +02:00
Turánszki János 09f70458d4 text input improvements 2022-08-02 11:36:15 +02:00
Turánszki János 90fbbba9ba Text Input Caret (#500) 2022-08-01 18:25:15 +02:00
Turánszki János a0ad653d7d GUI ResizeLayout (#495)
* gui resizelayout #51

* checkbox icons

* updates

* weather reset

* embedded logo asset
2022-07-31 19:28:41 +02:00
Turánszki János 604140ad85 Procedural Terrain (#408)
0.60.50:
- Added procedural terrain generator (for now this is Editor only preview version)
- Added LOD (Level Of Detail) support
- Added LOD Generator to Editor (Mesh Window -> LOD Gen), uses the meshoptimizer library
- Editor can merge multiple objects now into one mesh (Mesh window -> Merge Selected)
- Ocean: added occlusion culling support to detect when ocean is occluded
	- can skip planar reflection render for ocean
	- can skip ocean simulation
	- can skip ocean rendering
- CPU ray tracing optimization: TMin and TMax parameter
	- can improve Ray-AABB and Ray-Triangle tests
	- improves performance of third person character controller script
- other fixes
2022-04-10 11:42:10 +02:00
Turánszki János 74cb74d3c9 version 0.60 (#367)
- namespace refactor (example: wiGraphics:: -> wi::graphics)
  - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59
- resource manager will return `Resource` instead of `shared_ptr<Resource>` objects
- MAD shader optimizations
- implemented alpha to coverage with alpha tested materials when MSAA is enabled
- alpha testing fix with transparent shadow maps
- TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
2021-12-03 21:22:27 +01:00
Turánszki János 16d9a8de74 common improvements (#366)
- std container replacements for vector, unordered_map, unordered_set
  - unordered_map and unordered_set replaced with ska::flat_hash_map
  - vector replacement is still std::
- unordered_map performance test (std:: vs ska::)
- backlog improvements
- wiArchive improvements
- editor: added option to dump scene to C++ header file
- common improvements, refactors
2021-11-28 22:12:05 +01:00
Turánszki János d3c11eddf6 HDR display support (#341)
* dx12: initial HDR support

* make dx12 more feature level compatible

* vulkan, dx12 hdr updates

* remove trash

* remove postprocess_LDR, tests

* fixes

* added custom display output mapping for hdr10

* renderpath2d srgb->linear mapping for compose blending

* hdr updates

* improvements

* documentation update

* documentation fixes

* vulkan: outdated swapchain handling

* minor fix

* vulkan: hdr workaround with color space change with same format

* improved vulkan swapchain destructor

* updated features.txt
2021-11-09 19:02:01 +01:00
Turanszki Janos 521e081e8c windows fix: don't resize to 0 window 2021-04-23 11:55:19 +02:00
Turánszki János f1ced24f05 Multi swapchain support (#257)
* multi swapchain draft

* uwp fix

* swapchain resize handling

* swapchain buffercount

* vsync toggle

* tests fix

* update

* everything removed from graphicsdevice regarding global screen params, engine refactor

* added GetSwapChainTexture() function to graphics device; screenshot() now requires swapChain

* linux fix: vulkan device needs window handle for instance creation

* refactor

* removed unused includes

* shader refactor and lensflare fix

* swapchain clearcolor and other refactors

* vulkan: no vector allocation in submit

* tests fix

* refactors

* lens flare canvas size fix

* gui refactor for canvas support

* refactors

* removed global canvas state

* msaa fix

* fixes

* refactor to minimize interface changes

* gui changes

* checkbox fix

* gui fixes

* fixes

* input system will accept window handle

* editor fixes

* refactor and removed resolution related system events

* small editor update

* refactor: renderpath inherits from canvas

* fixed tests duh

* image refactor

* image fix

* removed every using namespace std

* pushconstant fix

* editor: object picking only when necessary

* removed include

* dx12: copy fence waiting performed on CPU

* dx12 copyallocator update

* vulkan: copy allocator with timeline semaphores

* missing include

* dx12 copy allocator update

* refactor

* editor update

* vulkan copy allocator fix

* dx12 update

* vulkan, dx12 fixes

* version bump

* vsync event helper

* documentation update

* updated vulkan, dx12, dxc
2021-04-22 11:36:22 +02:00
Turánszki János 933080a2e4 Unified Shader Compiler (#250) 2021-03-21 18:54:04 +01:00
Turánszki János 666dd4ff03 platform code refactor (#242) 2021-02-23 00:29:29 +01:00
Matteo De Carlo 3cd9e77889 WIP: Initial linux support using SDL (#136)
* Initial linux support using SDL

* fixed link error and gitignore

* fix in working directory initialization (windows side)

* Added README_Linux and fixed a few compilation issues in ubuntu

* Rename main to main_Windows in Tests

* Better default renderering backend selector

* Added backlog terminal output on linux

* added asserts on all missing vulkan function call results

* added portable file dialogs

also small tests update and cleanup

* Added Editor compile target

* linux ci

* linux ci

* cmake update

* cmake update?

* cmake

* Editor_Windows fix

* build test

* make

* build tools?

* update

* ubuntu 20.04

* fix?

* cmake

* build

* build?

* package linux build

* updates, bump version

* backslash to forward slash, eof newlines, add portable-file-dialogs license

* xcopy needs backslash duh; update readme;

* copy fix

* updated readme

* readme update

* updated readme

* updated readme

* fix incorrect file encoding linux

* paint tool fix

* linux: add missing shaders

* packaging update

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turanszki Janos <turanszkij@gmail.com>
2020-10-05 00:03:22 +02:00