1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00
Files
egui/examples/custom_3d_three-d
Emil Ernerfeldt bd2cab2f0e Update three d (#1793)
* Update three-d to 0.12

* Fix Z fighting in three-d example

Closes https://github.com/emilk/egui/issues/1744

* cargo deny: ignore three-d (only used in examples)
2022-07-03 18:29:12 +02:00
..
2022-07-03 18:29:12 +02:00
2022-07-03 18:29:12 +02: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