-
Hey there ! I'm thinking about starting a toy project in Bevy, it would involve creating several procedurally generated meshes that can change their topology at runtime. I think I will need around 30 of these meshes with at least 130k triangles each. Is it something that is possible to make with Bevy ? Would regenerating one of such meshes at runtime stall the game ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It's possible. I've made something like that for mobile devices with Bevy: https://noumenal.app If it takes more than a frame to generate a mesh, you can use an asynchronous task or a separate thread and an |
Beta Was this translation helpful? Give feedback.
It's possible. I've made something like that for mobile devices with Bevy: https://noumenal.app
If you can generate the mesh (vertex positions, normals, etc.) fast enough, Bevy should be able to render them.
If it takes more than a frame to generate a mesh, you can use an asynchronous task or a separate thread and an
Arc<Mutex<T>>
resource.