Skip to content
Discussion options

You must be logged in to vote

Doing 3D rendering of any kind is way out of scope for the egui project, but of course integrating 3D graphics (or graphics of any kind that is rendered by something other than Egui) is a very important use case to support!

How to integrate with 3D graphics depends on the need and the integration. In some cases you would draw your 3D stuff first and then draw Egui on top of it. This is what people are already doing with other integrations. If you want to show 3D graphics inside an Egui window (as opposed to behind the windows), that I agree with @tangmi that rendering to a texture is the cleanest solution. How to render to texture depends on the integration.

Now for your specific case of …

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@samsamai
Comment options

Comment options

You must be logged in to vote
2 replies
@samsamai
Comment options

@angad-k
Comment options

Answer selected by samsamai
Comment options

You must be logged in to vote
2 replies
@angad-k
Comment options

@parker-research
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants