Commit Graph

63 Commits

Author SHA1 Message Date
Stanislav Denisov 230ff5bb5e Fix orbital camera mode transition (#1537) 2026-02-06 07:15:58 +01: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 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 eefd663a64 camera window fix 2025-07-10 14:48:23 +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
Turánszki János c31aa35c53 gui layout refactor (#1114) 2025-06-01 17:07:12 +02:00
Turánszki János 1be929aa8a gui changes: slider size now includes the textbox, combobox size now includes the droparrow, editor gui rearrangement 2025-05-30 08:50:26 +02:00
Turánszki János 52b3c698f4 removal of the pos3D interpolator (#953) 2024-10-03 16:42:06 +02:00
Turánszki János 1c716a2a69 added editor ortho checkbox, fixes 2024-09-28 13:13:08 +02:00
Turánszki János 4c7d634826 added orthographic camera 2024-09-27 08:28:18 +02:00
Turánszki János 1c38d93304 Editor gui v2 (#843) 2024-05-17 08:04:05 +02:00
Turánszki János b3378751e3 editor: added depth of field refocus hotkey 2023-07-06 09:40:49 +02:00
Turánszki János 21d5f37fee build updates (#655) 2023-03-28 19:30:29 +02:00
Turánszki János ac4fc8540d Sparse morph target and VRM expressions (#536) 2022-08-28 19:22:23 +02:00
Turánszki János eff37576b5 Improving window layouts (#532)
* improving component window layouts

* sound window update

* transform window update

* editor top gui animation; delete callback for entity tree

* layer window update

* other layout changes

* grid helper ini

* don't allow negative or zero local scale

* version bump

* camera fps config check if exists
2022-08-26 09:21:19 +02:00
Turánszki János 64babc8fcd Config file support (#517) 2022-08-20 18:32:16 +02:00
Turánszki János 9cc6566e0a Editor updates (#515)
* renderer and postprocess windows combined into graphics window

* graphics window layout resize

* camera resizelayout, replace unordered map in terraingenerator for linux

* material userdata

* graphics window update
2022-08-19 08:43:10 +02:00
Turánszki János 20e1989630 GLTF sparse accessor, VRM model import 2022-08-15 14:14:09 +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 f277a00596 GUI updates (#490) 2022-07-28 20:59:25 +02:00
Turánszki János 5a0c423ddd Updates:
- editor: quicksave, multiple scenes support, gui changes, additional shortcuts
- physics: improvements for handling multiple scenes, and removal of physics objects
- scripting: ability to override global scene and camera with custom scene and camera from cpp side
2022-07-14 15:21:28 +02:00
Turánszki János f7d28b1127 GUI scrollbar updates (#447) 2022-05-19 22:42:49 +02:00
Turánszki János 3f4e9a7294 editor: limit far plane slider min #432 2022-05-07 09:55:59 +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 e599f40664 editor: undo/redo improvements; also added cut to Ctrl+X; 2022-02-13 00:28:17 +01: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
Turanszki Janos 3a9351e9bd editor: camera improvements 2021-08-19 12:07:00 +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
Turanszki Janos ea673fb3b7 depth of field params moved to CameraComponent 2021-04-04 17:07:27 +02:00
Turánszki János 5efe28fdf9 0.51.0 (#200)
* large renderer state refactor;
added subsurface scattering energy conservation;
added emitted particle subsurface scattering;
removed area lights;
optimizations;

* added layerMask support in shaders

* fixed incorrect shadow priority for directional light;
fix point light shadow disconnect;

* fix incorrect shadow assignment
2020-12-07 01:32:44 +01:00
Turánszki János 180ddc3586 0.49 (#160)
* renderer updates: material shadertype, customshaders

* custom shader updates

* hologram fix

* editor windows refactor

* major gui update:
- gui no longer lifetime manager
- window no longer needs gui to construct
- removed gui constructors/destructors
- rewritten every editor window

* renderer update

* gui hasfocus fix

* editor fix

* renderpath upgrades: hybrid forward-deferred

* fix

* water ripple refactor

* cmake fix

* cmake fix

* renderer fix

* volumetric light fix

* customshader stencilref

* cmake fix

* rtdeferred fix

* editor update

* raytraced shadows denoise

* anisotropic shader

* sss stencil greater

* added cartoon shader

* using precomputed tangents

* added unlit object shader

* importer update

* editor update

* editor fix

* vulkan envmap rendering fix

* terrain shader simplification (normal texture mapping instead of triplanar)

* added subsurface profiles, reduced gbuffer

* denoise disocclusion fallback

* editor fix

* more sorting priority for blend than instancing

* hairparticle culling

* particle updates; font update instancing instead of index buffer; vulkan/dx12 fixes;

* shader fixes

* hairparticle trianglestrip and no cross section

* editor fix

* cam wnd update

* terrain shader fix
2020-10-17 13:17:07 +02:00
Turanszki Janos d3b18bc504 gui updates, editor window refactors 2020-10-04 14:24:22 +02:00
Turánszki János eaae8c57ec UWP (#111)
* project restructure

* editor fix: camera shouldn't reset on render path change
2020-05-12 00:59:06 +01:00
Turanszki Janos 5c4e80a515 fixed GUI scaling issues 2020-05-05 22:45:31 +01:00
Turánszki János 4a11d6a202 Dpi awareness (#109)
* dpi awareness test

* dpi scaling updates

* dpi scaling updates

* missing mouse inputs fix (I hope finally)

* finishing up the dpi branch...
2020-05-05 00:04:38 +01:00
turanszkij 57d0cea6e5 updated editor 2020-04-13 22:19:29 +01:00
turanszkij 9b0cc2524b transform hierarchy fix #76 2020-03-09 19:55:11 +00:00
Turanszki Janos c9c03b2d48 removed some macro use 2020-03-07 19:25:30 +00:00
turanszkij d95dfa7ef2 stability improvements, fixes 2020-03-07 16:18:23 +00:00
Turanszki Janos fa267b0e7d large refactor 2019-12-12 22:15:16 +00:00
turanszkij 51440d3076 updated fighting game sample: better camera bounds, added combos 2019-05-13 19:25:45 +01:00
turanszkij 6fbfe36665 refactor 2019-04-05 00:05:27 +01:00
turanszkij 45e344cbfa added feature: multiple uv sets; gltf updates; editor updates; 2019-03-16 18:19:49 +00:00
turanszkij 9f98c9ff9d system updates; gltf importer updates; editor updates 2018-10-03 18:48:21 +01:00
turanszkij c32d5fabc2 system updates, fixes 2018-09-28 18:50:37 +01:00
turanszkij 26a12876bb ecs serializers update + general refactors 2018-09-19 18:16:36 +01:00
turanszkij 9a2e810e2a updates 2018-09-18 21:37:20 +01:00
turanszkij ad5fefa373 many updates 2018-09-05 17:13:36 +01:00
turanszkij 0f28948c01 revived lights and shadows 2018-09-02 18:04:13 +01:00