Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing scenes based on opengl in ImwWindow #45

Open
WangMuMuMuMuMu opened this issue Jul 18, 2024 · 1 comment
Open

Drawing scenes based on opengl in ImwWindow #45

WangMuMuMuMuMu opened this issue Jul 18, 2024 · 1 comment

Comments

@WangMuMuMuMuMu
Copy link

Hi, thank you for this great project
want to ask you, how to draw 3D images based on opengl in a certain ImwWindow? GLFWwindow* seems unable to obtain and bind

@thennequin
Copy link
Owner

Hi, you need to render your 3D scene into a Texture/RenderTarget, then display the Texture via ImGui::Image, in an ImWindow::OnGui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants