Skip to content

FlatGeobuf rendering with Bevy engine

Notifications You must be signed in to change notification settings

jcary741/flatgeobuf-bevy

 
 

Repository files navigation

FlatGeobuf rendering with Bevy Engine

Experimental rendering of FlatGeobuf geometries with Bevy Engine.

Uses WebGPU for native targets and WebGL2 for Web platform (WASM).

gif

Native platforms

  • cargo run --release

or

  • make run

Web (WASM)

Prerequisites:

cargo install wasm-bindgen-cli --version 0.2.78
cargo install basic-http-server

Build and start web server:

make serve

and point your browser to http://127.0.0.1:4000

Tracing

Enable tracing information with --features=trace (enabled in make run and make serve).

Native:

  • Run application
  • Open Chrome(-ium)
  • Open chrome://tracing/
  • Load trace-xxx.json

Web:

  • Run application in Chrome(-ium)
  • Open developer tools
  • Profile in Performance tab

About

FlatGeobuf rendering with Bevy engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.7%
  • Makefile 2.7%
  • HTML 0.6%