mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Move examples out of eframe/examples into examples/ (#1486)
* Move examples out of eframe/examples into examples/ Give each example a `Cargo.toml` and `src/main.rs`. This makes it easier for people to use as templates. * Update README.md with more deps needed on vanilla Ubuntu * Install libgtk-3-dev on CI, hoping that will fix something
This commit is contained in:
15
examples/custom_3d_glow/README.md
Normal file
15
examples/custom_3d_glow/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
This demo shows how to embed 3D rendering using [`glow`](https://github.com/grovesNL/glow) in `eframe`.
|
||||
|
||||
This is very advanced usage, and you need to be careful.
|
||||
|
||||
If you want an easier way to show 3D graphics with egui, take a look at the `custom_3d_three-d.rs` example.
|
||||
|
||||
If you are content of having egui sit on top of a 3D background, take a look at:
|
||||
|
||||
* [`bevy_egui`](https://github.com/mvlabat/bevy_egui)
|
||||
* [`three-d`](https://github.com/asny/three-d)
|
||||
|
||||
|
||||
```sh
|
||||
cargo run -p custom_3d_glow
|
||||
```
|
||||
Reference in New Issue
Block a user