Skip to content

shuibing811/bevy_terrain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

78b87fd · Oct 24, 2022
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bevy Terrain

GitHub Crates.io docs.rs Discord

A terrain rendering plugin for the bevy game engine.

Screenshot 2022-06-06 at 12 22 40 (Data Source: GeoSN, dl-de/by-2-0)

This plugin is still in early development.

Join the Bevy Terrain Discord server for help or feedback.

Examples

Currently there are two examples.

The basic one showcases the different debug views of the terrain. See controls down below.

The advanced one showcases how to use the Bevy material system for texturing, as well as how to add additional terrain attachments. Use the A Key to toggle between the custom material and the albedo attachment.

Before running the examples you have to preprocess the terrain data this may take a while. Once the data is preprocessed you can disable it by commenting out the preprocess line.

Debug Controls

  • T - toggle camera active

  • move mouse to look around

  • arrow keys to move the camera horizontally

  • use PageUp and PageDown to move the camera vertically

  • use Home and End to increase/decrease the movement speed

  • W - toggle wireframe

  • M - toggle mesh morph

  • A - toggle albedo

  • N - toggle full nodes (or circular lod)

  • S - toggle lighting

  • V - toggle vertex normal

  • P - show patches

  • L - show LOD

  • U - show UVs

  • X - decrease patch scale

  • Q - increase patch scale

  • I - decrease view distance

  • O - increase view distance

License

Bevy Terrain is dual-licensed under either

at your option.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%