You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the scene system is in place, it makes sense to load as much as possible from gltf files ... not just meshes.
The text was updated successfully, but these errors were encountered:
karroffel
added
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Feature
A new feature, making something new possible
labels
Aug 12, 2020
fixesbevyengine#33
this should not merged until bevy 0.11.1 is out. builds on @VitalyAnkh's
partial migration, with additionally :
- use `Rc<RefCell>` for `const_expressions` and `const_expr_map` - this
is basically unavoidable, as `DerivedModule::import_expression` needs
access to both the `const_expressions` and the arena to import into,
which may also be `const_expressions`
- don't emit `Expression::Literal` and `Expression::ZeroValue`s
- enforce `const_expression` uniqueness with a custom impl of
`PartialEq` for `Expression`s, to ensure that the uniqueness test for
globals and consts still passes (else we end up with duplicated items,
they no longer test as equal as they refer to different `init`
expressions). this could be removed if the `PartialEq` derive on
`Expression` in naga is made externally available.
- a basic port of the `prune` module which just leaves all
`const_expressions` present
the tests pass, but i haven't tried integrating into bevy (which will
require bevy to use wgpu 0.17).
---------
Co-authored-by: VitalyR <[email protected]>
Now that the scene system is in place, it makes sense to load as much as possible from gltf files ... not just meshes.
The text was updated successfully, but these errors were encountered: