google / forma

An efficient vector-graphics renderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration with Game Engine?

brycefisher opened this issue · comments

It seems like this crate is intended to do the rendering directly, but I'm curious about integrating it with a game engine like Bevy or Fyrox or even Godot. Do you have an example of integrating Forma with a game engine?

I'd be excited to help integrate with Bevy as a first step. We can probably start by taking a look at how vello does it.

I took a look at the updated vello example. The integration involves vello rendering to a wgpu texture, which is then used as a material for a mesh. Is this the type of integration you had in mind?

@ionick, that could be a good first demo. I think we want some form of integration that allows us to draw into whatever texture Bevy gives us, while also being able to integrate into whatever command encoder Bevy gives us.