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

Render entire viewer (or individual views) to user exposed texture #7407

Open
ndahn opened this issue Sep 12, 2024 · 1 comment
Open

Render entire viewer (or individual views) to user exposed texture #7407

ndahn opened this issue Sep 12, 2024 · 1 comment
Labels
egui Requires egui/eframe work enhancement New feature or request

Comments

@ndahn
Copy link

ndahn commented Sep 12, 2024

Is your feature request related to a problem? Please describe.
I am writing a GUI and would love to use rerun as my backend for visualizing data. I already have visualizers for e.g. 3d models using open3d's offscreen renderer, but of course so far I have to implement these for every data type. Rerun already has a huge variety of very nice visualizations that I would love to leverage.

Describe the solution you'd like
Ideally there would be a way to get access to the renderer and pass it a view and a buffer to render into. If this is already possible I couldn't find it (apologies).

Describe alternatives you've considered
Screenshots, a good alternative if I want to create the least performant GUI in the world :)

Additional context
This is somewhat related to #3941, however, there the focus is on exporting buffers to files. I would like to use the renderer in a more direct manner. The underlying mechanism may of course be the same.

@ndahn ndahn added enhancement New feature or request 👀 needs triage This issue needs to be triaged by the Rerun team labels Sep 12, 2024
@Wumpf
Copy link
Member

Wumpf commented Sep 12, 2024

Extracting an OpenGL compatible surface would be fairly tricky as we target different backends dynamically. Also, wiring up ui interaction to work with that buffer then is extra hard (but arguably another orthogonal step).

That said, it would definitely be interesting to explore this on the gui/eframe level. Instead of drawing to a window, draw to a surface that can be shared somehow 🤔

@Wumpf Wumpf added egui Requires egui/eframe work and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Sep 12, 2024
@Wumpf Wumpf changed the title Render to buffer Render entire viewer (or individual views) to user exposed texture Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui Requires egui/eframe work enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants