Commit Graph
794 Commits
Author SHA1 Message Date
Dmitry Stepanov 4b4fef9476 do not write legacy navmeshes container when visiting a scene 2025-10-17 20:08:39 +03:00
Dmitry Stepanov a04ca22bf9 Merge pull request #856 from b-guild/resource
Improving resource handles to be UUID-based
2025-10-17 18:57:33 +03:00
b-guild d4f5f2c171 Corrections to resource reloading, material deep copy, etc. 2025-10-16 18:09:36 -07:00
Dmitry Stepanov 09320a0658 fixed potential crash when a joint is synced before its rigid bodies 2025-10-15 22:42:14 +03:00
Dmitry Stepanov fbfdf3a09d fixed missing doc comment 2025-10-14 21:27:09 +03:00
Dmitry Stepanov 3558828b80 increased precision of normal map in gbuffer
- fixes annoying banding issues all over the place in the renderer at the cost of increased memory usage and memory bandwidth requirements
2025-10-14 21:04:35 +03:00
b-guild 75b873d72b Making resource handles UUID-based instead of path-based. 2025-10-13 18:55:27 -07:00
Dmitry Stepanov 8fcda35665 configurable environment lighting source for reflection probes 2025-10-13 21:28:40 +03:00
Dmitry Stepanov 72911fa2d5 transform irradiance + specular map to linear color space
- fixes overly bright image when pbr + reflection probes are used
2025-10-12 19:03:39 +03:00
Dmitry Stepanov 95fdcef84e added standard widget material in built-in resources 2025-10-09 23:04:07 +03:00
b-guild 7311ddbe21 Improving error reporting. (#853) 2025-10-08 19:37:33 +03:00
Dmitry Stepanov 5b2db864d9 fixed Clone impl of SceneRenderingOptions 2025-10-06 20:10:31 +03:00
b-guild 89e7cdbe28 Preventing deadlock by replacing lock with safe_lock (#852)
* Preventing deadlock by replacing `lock` with `safe_lock`

* Fixing unused code warnings in wasm SafeLock
2025-10-05 10:34:06 +03:00
Dmitry Stepanov 0d1554a19a prevent crash on empty uniform blocks 2025-10-04 20:30:26 +03:00
Dmitry Stepanov 43952b7ac7 added non-euler-angles-based rotation track
- fixed gimbal lock in GLTF animations
2025-10-04 10:26:06 +03:00
b-guild 19a959a4b0 Correct source EOL from CRLF to LF, no other changes. (#851) 2025-10-03 10:56:23 +03:00
Dmitry Stepanov 4edc109131 fixed ui rendering 2025-10-02 09:54:41 +03:00
LuoZheng2002 7ec002f00c Renamed pool method typed_ref to try_get (#846)
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* renamed pool's typed_ref to try_get

* renamed try_get to try_get_node in BaseSceneGraph

* deleted try_get_mut from impl Graph, and replaced all occurrences with try_get_node_mut

* renamed typed_ref in SceneGraph to try_get

* added graph::prelude which contains AbstractSceneGraph, BaseSceneGraph and SceneGraph traits; added use graph::prelude::* in the script template to expose try_get functionalities.

* resolved merge issues

* formatted code

* added use fyrox::graph::prelude::* to template game/src/lib.rs to expose UserInterface's try_get functionality

* added "#[allow(unused_imports)]" on game template and script template
2025-10-01 20:54:17 +03:00
Dmitry Stepanov f8e3d2577b configurable render mode for ui 2025-09-30 19:28:57 +03:00
LuoZheng2002 32b131a896 added pure color texture (#845) 2025-09-30 14:13:57 +03:00
b-guild 7a71aa9bb5 Correcting InheritableVariable::visit and physics integration parameters dt (#844) 2025-09-30 14:13:02 +03:00
Dmitry Stepanov 2b382a9179 docs + fixed warnings 2025-09-30 10:57:41 +03:00
Dmitry Stepanov 16cd27dd76 added srgba8/srgb8 texture formats 2025-09-30 10:57:23 +03:00
Dmitry ad78773d3b ui rendering api improvements (draft) 2025-09-29 17:50:03 +03:00
LuoZheng2002andDmitry e0e8218a72 Replaced the BorrowAs trait with ObjectOrVariant trait. (#841)
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* fixed tests

* fixed restore_integrity test

- it was failing spontaneously due do conflicting resource registries from two tests

* fixed clippy warnings

* install rustfmt + clippy on a CI machine before running the tests

* fixed confusing documentation about batching

* updated changelog

* changelog fixes

* ability to set runs via respective message

* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* removed unused imports

* satisfied cargo doc

---------

Co-authored-by: Dmitry <[email protected]>
2025-09-29 00:30:48 +03:00
Dmitry a3880e83a2 fixed confusing documentation about batching 2025-09-27 20:53:10 +03:00
Dmitry db63c92b0f fixed clippy warnings 2025-09-27 12:09:08 +03:00
Dmitry f3863812b6 fixed restore_integrity test
- it was failing spontaneously due do conflicting resource registries from two tests
2025-09-27 12:00:01 +03:00
Dmitry 0fa623f444 pass ui handle in Plugin::on_ui_message 2025-09-26 22:45:44 +03:00
Dmitry Stepanov 416fcabf31 named constants for mouse buttons + helper methods for mouse input 2025-09-21 13:51:11 +03:00
Dmitry Stepanov 09cec6418b added ability to check for pressed/released mouse buttons 2025-09-21 11:50:30 +03:00
Dmitry Stepanov 269fb0d322 - fixed wasm compilation
- rollback to rand 0.8, because fuck the devs of this library who constantly invent ways to screw up someone's project
2025-09-18 22:33:35 +03:00
Dmitry Stepanov beff11c872 fixed compilation in hot reloading mode
- #839
2025-09-18 21:34:18 +03:00
Dmitry Stepanov 669b38dd9c updated deps
- attempt to fix hot reloading
2025-09-18 20:30:50 +03:00
Dmitry Stepanov f8e88df8ea docs fixes 2025-09-17 23:27:28 +03:00
Dmitry Stepanov 5ab74626d0 ability to flip Rectangle node
- #838
2025-09-17 23:16:43 +03:00
Dmitry Stepanov 2ce3d0eb55 cargo fmt 2025-09-17 20:57:36 +03:00
Dmitry Stepanov f249b0ef3b fixed sprite node docs 2025-09-17 20:30:41 +03:00
Dmitry Stepanov aa317efb5d fixed sprite flipping issues + added ability to flip x/y
- fixed incorrect sprite size if used arbitrary uv rect
- #838
2025-09-17 19:26:20 +03:00
Dmitry Stepanov b2ecaafe79 prevent consecutive keypress events interfere with pressed/released keys 2025-09-17 17:33:32 +03:00
Dmitry Stepanov d2375e35db added is_key_pressed + is_key_released to InputState 2025-09-16 21:35:46 +03:00
Dmitry Stepanov 18318d0256 pass input state to script contexts 2025-09-16 20:34:05 +03:00
Dmitry Stepanov 32db5908c2 simplified way of getting input state 2025-09-15 23:27:40 +03:00
Dmitry Stepanov f0050a0f9a removed useless #![allow(missing_docs)] and improved the docs 2025-09-12 20:18:46 +03:00
Dmitry Stepanov 4842f43395 docs for renderer's observer 2025-09-12 20:12:22 +03:00
Dmitry Stepanov f5f3b48f74 moved re-export of fyrox-graphics to the root of fyrox-impl as graphics
- additionally exposed fyrox-graphics-gl crate as graphics_gl
2025-09-11 21:08:48 +03:00
Zheng Luo 906b5db037 formatted joint.rs 2025-09-09 17:44:02 -07:00
Zheng Luo 17d4641af6 added the corresponding ball joint motor for 2d 2025-09-09 14:32:26 -07:00
Zheng Luo c79fca4b75 added ball joint motor for 3d 2025-09-09 14:20:40 -07:00
Dmitry Stepanov 41af40422e backward compatibility + property editors for joint motor params 2025-09-09 20:17:14 +03:00