bevy_vello icon indicating copy to clipboard operation
bevy_vello copied to clipboard

Bevy 0.16

Open nuzzles opened this issue 8 months ago • 10 comments

nuzzles avatar Apr 24 '25 19:04 nuzzles

hey simbleau,

i started to migrate bevy_vello to bevy 0.16.0, but there is a dependency problem with vello 0.4.x and wgpu 23.

Maybe you're interested to take a look into the changes, to save some time.

https://github.com/ElDiddi/bevy_vello/tree/Bevy-0.16

regards

ElDiddi avatar Apr 27 '25 12:04 ElDiddi

Yes, vello needs a release cut for wgpu 23.

This is a known issue and being discussed on Zulip:

https://xi.zulipchat.com/#narrow/channel/197075-vello/topic/wgpu.2025.20plans/with/515132773

nuzzles avatar Apr 29 '25 22:04 nuzzles

As it stands, we are blocked for a bevy 0.16 release until vello 0.5 is released, and we are not their first priority. It may well be a month or less until this happens, so please don't wait up!

nuzzles avatar Apr 29 '25 22:04 nuzzles

Vello has been released now. I have a semi working port here: https://github.com/StarArawn/bevy_vello/tree/bevy-16

It needs a lot of cleanup and I would only really use it as a reference for some stuff.

StarArawn avatar May 08 '25 17:05 StarArawn

Vello 0.5 is out, unblocked.

nuzzles avatar May 09 '25 02:05 nuzzles

Hi @simbleau is there any official work on the Bevy 0.16 porting? @StarArawn are you planning on it? If not, I can work on the upgrade!

nixonyh avatar May 10 '25 05:05 nixonyh

I have not yet,but planned on it next week.

Thanks @nixon-voxell - go ahead!

nuzzles avatar May 10 '25 12:05 nuzzles

Hi @simbleau is there any official work on the Bevy 0.16 porting? @StarArawn are you planning on it? If not, I can work on the upgrade!

Entirely up to you, I can probably handle the upgrade if nobody else is available to do it. I'm a little unsure how to handle visibility, but I'm sure it's not that hard to figure out.

My primary goal is to get my bevy UI library released and it uses bevy vello. 👍

StarArawn avatar May 10 '25 13:05 StarArawn

If someone beats me to it then I'll happily review!

nuzzles avatar May 10 '25 13:05 nuzzles

Alright! I'll be starting next week as well actually.

nixonyh avatar May 11 '25 02:05 nixonyh

Any updates on this?

StarArawn avatar May 15 '25 16:05 StarArawn

Any updates on this?

No one has filed a PR.

nuzzles avatar May 15 '25 17:05 nuzzles

Any updates on this?

No one has filed a PR.

I started on a full upgrade but I hit issues with vello_svg and velato. They need to be updated to the new vello version.

I messaged the vello devs here: #vello > New release for velato/vello_svg? @ 💬

StarArawn avatar May 15 '25 23:05 StarArawn

vello_svg update is merged and released (https://github.com/linebender/velato/pull/63) velato update is being reviewed and considered (https://github.com/linebender/vello_svg/pull/63)

RobertBrewitz avatar May 23 '25 07:05 RobertBrewitz

Started work here, it works: https://github.com/linebender/bevy_vello/pull/152

Will be drafted pending velato release.

If you have any idea about how to rewrite the visibility code to work with bevy 0.16 feel free to hit me up on zulip.

I have a feeling we might have to think about writing code to integrate bevy_vello into the bevy render graph (DAG).

RobertBrewitz avatar May 23 '25 13:05 RobertBrewitz

Started work here, it works: #152

Will be drafted pending velato release.

If you have any idea about how to rewrite the visibility code to work with bevy 0.16 feel free to hit me up on zulip.

I have a feeling we might have to think about writing code to integrate bevy_vello into the bevy render graph (DAG).

Looking at bevy sprite code there is a new extracted component called: ViewVisibility which you can see here: https://github.com/bevyengine/bevy/blob/3d3746e5d021f561ab9aa7a18c19063a8dd10b99/crates/bevy_sprite/src/render/mod.rs#L394

We should be able to use this same component to handle visibility.

ViewVisibility docs: https://github.com/bevyengine/bevy/blob/3d3746e5d021f561ab9aa7a18c19063a8dd10b99/crates/bevy_render/src/view/visibility/mod.rs#L170

StarArawn avatar May 24 '25 22:05 StarArawn

No joy using ViewVisibility, I pushed commit so you can look at it and maybe tinker yourself @StarArawn

RobertBrewitz avatar May 25 '25 12:05 RobertBrewitz

Good progress has been made in the PR. Seems to be working fine. Unsure whether or not the Aabb example should be part of the update.

It was mostly done to verify view visibility works.

RobertBrewitz avatar May 30 '25 21:05 RobertBrewitz

Just a quick sup, there is a Bevy jam 6 going on, will start today and end at the 8th of June. I was looking to potentially use bevy_vello there, but since I'm going to use Bevy 0.16, can't. Ofc I don't wanna push you or anything, just giving some context. I hope you are doing good work here, keep it up 😃.

adsick avatar May 31 '25 08:05 adsick

Just a quick sup, there is a Bevy jam 6 going on, will start today and end at the 8th of June. I was looking to potentially use bevy_vello there, but since I'm going to use Bevy 0.16, can't. Ofc I don't wanna push you or anything, just giving some context. I hope you are doing good work here, keep it up 😃.

Fun, me as well! 😄

You can most likely use the PR branch for now to verify you can use it for Jam.

RobertBrewitz avatar May 31 '25 08:05 RobertBrewitz

@adsick - Expect the bevy 0.16 update to come out today or tomorrow.

For now... the usual magic:

bevy_vello = { git = "https://github.com/RobertBrewitz/bevy_vello.git", branch = "bevy-0.16" }

nuzzles avatar May 31 '25 13:05 nuzzles

Released! v0.9.0 is out.

nuzzles avatar May 31 '25 14:05 nuzzles