bevy_editor_prototypes icon indicating copy to clipboard operation
bevy_editor_prototypes copied to clipboard

Basic assets preview and preview caching

Open 443eb9 opened this issue 1 year ago • 2 comments
trafficstars

Preview assets that marked AssetPreview. (might change in the future)

For 2d sprites, this should be a simple sprite 2d. For meshes, we will render this asset at a low resolution, store the result and display it once needed. For fonts, render some characters with that font.

TODOs

  • [x] Generate preview image for 3d models.
  • [x] Cache preview image.
  • [ ] Regenerate when asset changes, including change during hot reloading.
  • [ ] Automatically adjust the distance between camera and model according to model scale.

443eb9 avatar Nov 21 '24 09:11 443eb9

@443eb9 just wanted to check if you're still working on this PR?

jbuehler23 avatar Jun 05 '25 05:06 jbuehler23

@443eb9 just wanted to check if you're still working on this PR?

Nope, I'm quite busy these days. :(

443eb9 avatar Jun 06 '25 11:06 443eb9