egui/examples/custom_3d_three-d
2022-12-04 17:27:40 +01:00
..
src Update to Rust 1.65 (#2314) 2022-11-16 19:08:03 +01:00
Cargo.toml Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
index.html Improve custom_3d_three-d example (#1923) 2022-08-17 21:33:34 +02:00
README.md Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
screenshot.png Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00

This demo shows how to embed 3D rendering using three-d in eframe.

Any 3D library built on top of glow can be used in eframe.

Alternatively you can render 3D stuff to a texture and display it using [egui::Ui::image].

If you are content of having egui sit on top of a 3D background, take a look at:

cargo run -p custom_3d_three-d
wasm-pack build examples/custom_3d_three-d --target web