Commit Graph

7724 Commits

Author SHA1 Message Date
Dmitry Stepanov fcf8c5dae2 fixed test
CI / Tests CI (macos-latest, stable) (push) Has been cancelled
CI / Tests CI (ubuntu-latest, stable) (push) Has been cancelled
CI / Tests CI (windows-latest, stable) (push) Has been cancelled
CI / Wasm CI (stable) (push) Has been cancelled
CI / Rustfmt CI (push) Has been cancelled
CI / Clippy CI (push) Has been cancelled
CI / Documentation CI (push) Has been cancelled
CI / Project Template (PC) (push) Has been cancelled
CI / Project Template (Android) (push) Has been cancelled
CI / Project Template (WASM) (push) Has been cancelled
CI / Project Manager (push) Has been cancelled
2025-11-15 10:19:31 +03:00
Dmitry Stepanov 76e9f06171 fixed topmost widget drawing 2025-11-14 18:38:55 +03:00
Dmitry Stepanov d3706c574d docs for the new data structure and methods 2025-11-14 18:02:28 +03:00
Dmitry Stepanov 6d1d6229c9 correctly invalidate text box visual 2025-11-13 22:25:14 +03:00
Dmitry Stepanov 0a7163d53f better curve editor visual invalidation 2025-11-13 22:20:15 +03:00
Dmitry Stepanov 78c4316258 add layout invalidation for all widgets with custom draw methods 2025-11-13 19:59:46 +03:00
Dmitry Stepanov 5886d82884 fixed compilation 2025-11-13 19:13:06 +03:00
Dmitry Stepanov 9aed44d00d invalidate visual for image widget 2025-11-13 19:12:46 +03:00
Dmitry Stepanov c24cd6f02e improved performance + fixed general redraw issues 2025-11-13 19:10:25 +03:00
Dmitry Stepanov 2421045962 experimental ui optimization based on widget invalidation
- redraws only changed nodes
- improves performance by 80-90% in most cases, because there's no need redraw non-changed widgets
- highly experimental, some widgets aren't redraw themselves when they should, be cause `invalidate_visual` isn't called. will be fixed in the next commits
2025-11-12 21:49:15 +03:00
Dmitry Stepanov 1fe99370f1 visual invalidation flag for widgets
- part of #249
2025-11-11 21:55:42 +03:00
Dmitry Stepanov bd3783a9b5 impl Default for DrawingContext 2025-11-11 21:36:29 +03:00
Dmitry Stepanov 6021ae8da1 more debug scopes for the renderer 2025-11-10 18:48:02 +03:00
Dmitry Stepanov 4bf226e778 added missing docs 2025-11-10 18:47:46 +03:00
Dmitry Stepanov 215e2e3158 disable shadow casting for scene gizmo 2025-11-08 21:09:38 +03:00
Dmitry Stepanov da0c391ad7 added named scopes for renderer to improve debugging 2025-11-08 20:18:49 +03:00
Dmitry Stepanov f3972705b4 ability to run the editor with graphics debugging turned on 2025-11-08 20:18:20 +03:00
Dmitry Stepanov f11587d345 GraphicsServer::begin_scope 2025-11-08 20:17:56 +03:00
Dmitry Stepanov cbce959830 ability to specify debug groups for graphics commands 2025-11-08 12:54:07 +03:00
Dmitry Stepanov 0462d4800f configurable exposure for editor's camera 2025-11-08 12:19:54 +03:00
Dmitry Stepanov 29d3af9d5c use default exposure for editor camera 2025-11-08 12:12:47 +03:00
Dmitry Stepanov 9d1851e6a5 hdr settings + moved bloom effect rendering to hdr renderer 2025-11-08 12:12:02 +03:00
Dmitry Stepanov 98bbdc8809 ability to disable bloom + configurable bloom threshold 2025-11-07 20:30:01 +03:00
Dmitry Stepanov 635b8b92f2 fixed incorrect hdr adaptation 2025-11-07 17:44:48 +03:00
Dmitry Stepanov 3d7e05920c fixed hdr auto exposure 2025-11-07 17:41:43 +03:00
Dmitry Stepanov dc3354eff1 fixed defaults for automatic exposure for hdr 2025-11-06 23:58:14 +03:00
Dmitry Stepanov e719ef8875 fixed tests 2025-11-06 23:38:28 +03:00
Dmitry Stepanov 43758e298f Merge pull request #872 from b-guild/scene
Using a null `SceneController` to simplify the editor when no scene is open.
2025-11-06 23:31:56 +03:00
b-guild 1d718bfd52 Introducing the null scene 2025-11-05 15:12:36 -08:00
Dmitry Stepanov b94ec3bb92 fixed incorrect frame luminance calculation for hdr 2025-11-05 23:06:06 +03:00
Dmitry Stepanov 3e10e8e8d4 color space conversion glsl functions 2025-11-05 19:31:04 +03:00
Dmitry Stepanov dfd6730ad7 fixed luminance calculation glsl function 2025-11-05 19:30:45 +03:00
Dmitry Stepanov 8cfca519b7 ability to keep the editor active on every frame 2025-11-05 18:17:04 +03:00
Dmitry Stepanov 67d8427e64 add useful instructions for contributors 2025-11-03 20:43:08 +03:00
Dmitry Stepanov 66a2c80be2 helper methods for scene nodes 2025-11-03 16:54:39 +03:00
Dmitry Stepanov 5044d1636f fixed clippy warnings 2025-11-03 16:54:24 +03:00
Dmitry Stepanov 05fd112799 Merge pull request #871 from b-guild/selection
Improving how selection changes are handled in Editor
2025-11-03 12:28:56 +03:00
Dmitry Stepanov b75e164f8d return the number of processed message from ui message queue polling
- keep the editor active until there's more than zero processed messages
- ensures that the editor will render the next frame even on `sync` messages
2025-11-03 11:33:42 +03:00
Dmitry Stepanov 0510b0764c use data_for/data_from where possible 2025-11-03 11:00:18 +03:00
b-guild a420478c18 Improving how selection changes are handled 2025-11-02 14:04:07 -08:00
Dmitry Stepanov ddd7a17fc8 [BREAKING] drop backward compatibility for assets
- use this tool from 1.0.0-rc.1  https://fyrox.rs/blog/post/fyrox-game-engine-1-0-0-rc-1/#migration to migrate the assets
2025-11-02 19:48:19 +03:00
Dmitry Stepanov f03f55f68b removed define_constructor macro + refactored the rest of widget msgs 2025-11-02 16:10:58 +03:00
Dmitry Stepanov 2cdde111bc refactored tile map editor messages 2025-11-02 15:39:06 +03:00
Dmitry Stepanov 30f9bf8ca0 refactored color picked messages 2025-11-02 15:15:13 +03:00
Dmitry Stepanov 102c6c6956 refactored anim editor messages 2025-11-02 15:05:01 +03:00
Dmitry Stepanov 684cd2244e refactored absm editor messages 2025-11-02 15:00:09 +03:00
Dmitry Stepanov de49992ead refactored audio bus editor messages 2025-11-02 14:37:58 +03:00
Dmitry Stepanov 33d129b4a5 removed unused message constructors 2025-11-02 14:36:34 +03:00
Dmitry Stepanov 2b6c8eae29 refactored collection editor messages 2025-11-02 14:36:01 +03:00
Dmitry Stepanov a16b920e38 refactored array editor messages 2025-11-02 14:34:47 +03:00