Comments (6)
@johanhelsing Now Z-ordering is implemented with help from @Pengiie! There should be no issues. Let me know how it all works!
from bevy_vello.
Wondering if it's completely out of the question to play nice with other bevy 2d renderers, such as bevy_sprite and bevy_smud?
I haven't used bevy_sprite or smud but nothing will stop you from using bevy-vello. It can use the same GPU device and you can spawn your assets with a transform.
Not sure if this answers the question, please let me know.
from bevy_vello.
It's mainly about z ordering of transparents. The line i linked to will break a batch if something it doesn't recognize appears in the render phase,
from bevy_vello.
Since bevy-vello was originally developed for a top-down game, it used the Y position in the transform for its Z-ordering, with the addition of layering. This is something we want to change in favor of Z-ordering, tracked by #8
Since Assetsv2 just came out, I'll look into both Z-ordering and ensuring it could play nicely with smud.
from bevy_vello.
It's mainly about z ordering of transparents. The line i linked to will break a batch if something it doesn't recognize appears in the render phase,
Is there currently a problem when using bevy_vello regarding that line you linked? Or is this a precautionary question?
from bevy_vello.
Hey sorry, didn't have time to get back to you back in december, but I tested a couple of weeks back and I think z-ordering worked as expected then.
Thanks! Hoping to use this crate in a project soon :)
from bevy_vello.
Related Issues (20)
- docs: Link to noto animations in readme is 404 HOT 1
- SVG/Lottie: Some elements are drawn in wrong locations HOT 7
- Low-level animation control HOT 3
- bevy 0.13 HOT 1
- Window minimize button causes panic
- VelloText debug boxes not rendering correctly while rotated
- enhancement: Use `SpatialBundle` inside our bundles HOT 4
- enhancement: Make `svg` and `lottie` features HOT 1
- Bridge between Bevy and Vello types HOT 4
- Doesn't seem to target 3d camera
- enhancement: Text `TextJustify`
- enhancement: Text `LineBreakBehavior`
- `VelloScene` doesn't respect Bevy `RenderLayers` HOT 6
- `VelloFont` is `Arc<Arc<[u8]>>` HOT 9
- IOS Metal error with DotLottie when adding vello plugin HOT 4
- skip encoding
- allow anti-aliasing/use cpu in settings
- Despawning entities with `VelloSceneBundle` does not refresh frame HOT 4
- Web Demo Broke
- Don't include the patch when declaring the Vello version. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_vello.