Commit Graph
805 Commits
Author SHA1 Message Date
b-guild deca3f7ad7 impl Display and impl Error for various errors 2025-10-23 11:10:48 -07:00
Dmitry Stepanov 18f4633e26 Merge pull request #858 from b-guild/resource
Fixing and improving resource IO and asset browsing.
2025-10-23 19:09:20 +03:00
Dmitry Stepanov ef39d2aada updated msrv 2025-10-22 20:27:20 +03:00
Dmitry Stepanov 21f6ed087b bump versions 2025-10-21 21:07:43 +03:00
Dmitry Stepanov e4cddc3a10 fixed build of fyrox-impl on publishing 2025-10-21 21:06:07 +03:00
b-guild a7504925f6 Correcting registry loading 2025-10-19 15:12:51 -07:00
Dmitry 1efe57c471 universal ascii-> binary conversion for native resources 2025-10-19 12:04:47 +03:00
Dmitry 6cc0c2e89b use ascii form for native assets where possible 2025-10-19 10:29:31 +03:00
Dmitry 08d296403a more impls of is_native_extension 2025-10-19 09:53:50 +03:00
Dmitry b1a7959142 ResourceLoader::is_native_extension 2025-10-18 22:35:04 +03:00
Dmitry Stepanov f433968e62 process file system events on every frame
- fixes a lot of broken functionality in the asset browser
2025-10-17 21:18:11 +03:00
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