forma icon indicating copy to clipboard operation
forma copied to clipboard

Integration with Game Engine?

Open brycefisher opened this issue 3 years ago • 3 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?

brycefisher avatar Dec 18 '22 05:12 brycefisher

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.

dragostis avatar Dec 18 '22 12:12 dragostis

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 avatar Jan 07 '23 23:01 ionick

@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.

dragostis avatar Jan 09 '23 15:01 dragostis