FoliMesh

Trees for Bevy

Bevy's AssetServer reads GLB directly: asset_server.load(GltfAssetLabel::Scene(0).from_asset("oak.glb")) returns a scene you spawn with SceneRoot, while meshes and materials stay addressable by label. All 14 trees — Oak, Scots Pine, Spruce, Birch, Weeping Willow, Maple, Baobab and the rest — ship in that format. FBX and OBJ need third-party crates in Rust, so GLB is the practical route.

Each tree has LOD0–LOD3, so give the LOD entities a VisibilityRange for distance switching with Bevy's dithered crossfade. Leaves keep glTF alphaMode MASK, imported as AlphaMode::Mask(cutoff); double-sided materials disable back-face culling. Entities sharing a mesh and material are batched and instanced automatically, which keeps dense woodland cheap. Collision meshes feed Avian or bevy_rapier, and every new seed produces another variation.

Models
49
Levels of detail
LOD0 – LOD3
Formats
GLB · FBX · OBJ

Using it in Bevy

Bevy loads glTF/GLB through the AssetServer: asset_server.load(GltfAssetLabel::Scene(0).from_asset("tree.glb")), spawned with SceneRoot; individual meshes and materials are addressable by label. FBX and OBJ need third-party crates, so GLB is the format to use.

  • LOD: give the LOD0–LOD3 entities a VisibilityRange (start and end margins) for distance switching with dithered crossfade — Bevy's HLOD mechanism.
  • Leaves: glTF alphaMode MASK becomes AlphaMode::Mask(cutoff) on StandardMaterial, and double-sided materials disable back-face culling.
  • Entities that share a mesh and material are batched and instanced automatically, so many tree copies stay cheap.
  • Collision: Bevy has no built-in physics; build a collider from the collision mesh with Avian or bevy_rapier.

Other categories

Same in other styles

Same for other engines