Commit Graph
976 Commits
Author SHA1 Message Date
Dmitry Stepanov 4876827a6d fixed tests + docs comment 2026-05-25 19:53:56 +03:00
Dmitry Stepanov bee807ea17 fixed downcasting for widgets and scene nodes
- removed a bunch of unnecessary casts to &dyn Reflect
2026-05-22 20:31:20 +03:00
Dmitry Stepanov 480559e07a refactored Reflect::as_xxx methods to return value itself
- there's no reason anymore to use closures there because proxy structures now supports reflection in normal way
2026-05-21 18:22:39 +03:00
Dmitry Stepanov 07566d95b4 use derived impls of Reflect for Script + Node 2026-05-20 23:47:38 +03:00
Dmitry Stepanov ec83a5d6e5 refactored Reflect trait to remove unnecessary proxying
- proxying to the inner value overly complicates the implementation and adds a lot overhead
- this is quite dangerous change since it may have subtle side effects, needs to be thoroughly tested
2026-05-19 18:49:17 +03:00
Dmitry Stepanov 93d4920477 renamed methods with confusing naming + docs 2026-05-16 19:31:41 +03:00
Dmitry Stepanov e7f1b1d4d8 cleaned up type info fetching from Reflect + put type info in a struct 2026-05-15 11:32:33 +03:00
Dmitry Stepanov b3be88a471 Reflect::into_any -> Reflect::into_inner_reflect + docs 2026-05-14 11:28:08 +03:00
Dmitry Stepanov 91f8c360b5 removed Reflect::as_any/as_any_mut
- useless methods because can be replaced via `Reflect::as_reflect` + `as &dyn Reflect` cast
2026-05-13 23:33:13 +03:00
Dmitry Stepanov d317a1179f fixed doc comments + fixed misleading docs 2026-05-10 20:06:56 +03:00
Dmitry Stepanov 1c0cf15c50 unified naming for field fetching via reflection
- previous approach with `ComponentProvider` trait was quite misleading, it didn't return a "component" - it simply returned marked fieds
- the new approach is more explicit - method names tells exactly what they do
2026-05-10 18:28:18 +03:00
Dmitry Stepanov c03e4aa7e9 removed ComponentProvider, merged its functionality into Reflect
- chained component fetching isn't supported yet, so it is not one-to-one merge
2026-05-09 19:55:11 +03:00
Dmitry Stepanov 5cf90dff53 Reflect::first_field_ref/mut_of_type 2026-05-08 15:18:08 +03:00
Dmitry Stepanov 1904f95519 Reflect::get_field_direct_ref/mut 2026-05-08 12:56:48 +03:00
Dmitry Stepanov 660bcd709a renamed field -> find_field + field_mut -> find_field_mut 2026-05-06 23:49:46 +03:00
Dmitry Stepanov 60d8b2d9eb cargo fmt 2026-04-25 00:03:53 +03:00
Dmitry Stepanov 7a0ad6d792 fixed crash on exit when using the engine in hot reloading mode 2026-04-25 00:03:07 +03:00
Dmitry Stepanov af0f6178d8 catch and report infinite message loops in ui message handling 2026-04-23 23:04:41 +03:00
Dmitry Stepanov 94a0420854 improved logging for hot reloading failures 2026-04-23 21:52:37 +03:00
Dmitry Stepanov f3befeef86 fixed clippy warnings 2026-04-22 23:49:45 +03:00
Dmitry Stepanov d1aba15d44 fixed copy_node_inplace implementation 2026-04-17 22:45:39 +03:00
Dmitry Stepanov 9214ae372f remove unused features 2026-04-15 22:55:39 +03:00
Dmitry Stepanov 7d9146d322 test for Graph::copy_node_inplace 2026-04-15 22:53:41 +03:00
Dmitry Stepanov 0ab4c6abcd pass sample rate explicitly to SoundEngine constructors
- fixed tests
2026-04-09 23:56:14 +03:00
Dmitry Stepanov a4df8a1301 configurable sample rate for fyrox-sound 2026-04-08 22:59:04 +03:00
Dmitry Stepanov 1c18ee7c92 Revert "texture sampler resource"
This reverts commit 68884bdb84.
2026-04-05 11:25:45 +03:00
Dmitry Stepanov 4a0602ab25 bump version for the future release
- helps to catch bug reports from the "nightly" version of the engine
2026-03-30 20:50:58 +03:00
Dmitry Stepanov 68884bdb84 texture sampler resource 2026-03-29 23:24:45 +03:00
Dmitry Stepanov f916d01304 updated lightmap dep 2026-03-28 09:52:04 +03:00
Dmitry Stepanov 9e9e2d7032 1.0.1 + changelog 2026-03-28 09:39:38 +03:00
Dmitry Stepanov 0350d1d26f attempt to fix unaligned read in renderer
- #906
2026-03-26 23:54:15 +03:00
Dmitry Stepanov a4907aa547 updated lightmap dep 2026-03-24 19:28:06 +03:00
Dmitry Stepanov 4ea6e5d22f fixed incorrect sampler type being used with depth texture 2026-03-22 12:23:13 +03:00
Dmitry Stepanov ea74cf35ea reduced vram consumption by replacing rgba16f with rgb10a2 textures
- good balance between quality and performance
- also works decently for normals, 10 bits precision is giving acceptable gradients
2026-03-19 23:21:15 +03:00
Dmitry Stepanov 99b408e2f4 fixed resource registry not loading in time on wasm
- this issue caused some resources to not load
- the plugin initialization was moved to event queue and only when the registry is fully loaded
2026-03-19 21:53:29 +03:00
Dmitry Stepanov af94aa2a02 fixed debug rendering in 2d 2026-03-12 21:33:36 +03:00
Dmitry Stepanov 9de5582a4b do not echo sync-only messages 2026-03-12 21:08:00 +03:00
Dmitry Stepanov aab006421d improved validation for rigid bodies
- helps to catch typical mistake of creating a dynamic rigid body and adding trimesh/heightfield collider to it
2026-03-10 21:40:55 +03:00
Dmitry Stepanov a4bb9e9c41 fixed heightfield collider not working (fix for rapier3d regression)
- heightfield collider must be moved manually at the center of the heightfield
2026-03-09 21:50:42 +03:00
Dmitry Stepanov 092ebbd797 migrate to rapier 0.32 2026-03-09 20:04:01 +03:00
Dmitry Stepanov 66586d9bba do not try to use hole mask if holes enabled flag is off 2026-03-09 18:33:05 +03:00
Dmitry Stepanov 529ee71104 save triangle buffer as a binary blob
- saves a lot of space by removing redundant data
2026-03-07 18:37:32 +03:00
Dmitry Stepanov 8cfcb097d2 fixed root field name 2026-03-07 18:36:57 +03:00
Dmitry Stepanov 0d8c0d5f37 Merge remote-tracking branch 'origin/master' 2026-03-07 17:33:58 +03:00
Dmitry Stepanov 6366f32403 added missing code for surface data resource saving 2026-03-07 17:33:54 +03:00
Dmitry Stepanov 6e08846e47 add built-in light style resource 2026-03-06 19:54:28 +03:00
Dmitry Stepanov ddb8ef31cf remove Mobility because it does nothing 2026-03-06 00:16:48 +03:00
Dmitry Stepanov ec2a3006c2 update libloading dep 2026-03-02 21:05:42 +03:00
Dmitry Stepanov 4a7b0c8c0b correctly handle dyn types on hot reloading 2026-03-02 20:11:22 +03:00
Dmitry Stepanov 7d6b5654d6 print warning message if backtrace capture is enabled
- helps to capture sudden performance issues
2026-03-02 15:29:46 +03:00