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

how to export or render model to image in Open3D Viewer module on condition of window hidden? #6700

Closed
3 tasks done
as010101 opened this issue Mar 15, 2024 · 0 comments
Closed
3 tasks done
Labels

Comments

@as010101
Copy link

as010101 commented Mar 15, 2024

Checklist

My Question

Im trying to load model then render it as image, I had tried to use OffscreenRendering module, but it cant show texture . So I decide to render model as image in Open3D Viewer module, when I set windows show as false, windows hidden, but when I call ExportCurrentImage after LoadGeometry and SetGeometry. I cant get the model image, How can I export image on condition of window hidden?

void Application::AddWindow(std::shared_ptr<Window> window) {

   window->OnResize();  // so we get an initial resize

   window->Show(true);

   impl_->windows_.insert(window);

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

No branches or pull requests

1 participant