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

Exporting visualization for publications and presentations #3941

Closed
hovren opened this issue Oct 20, 2023 · 5 comments · Fixed by #8258
Closed

Exporting visualization for publications and presentations #3941

hovren opened this issue Oct 20, 2023 · 5 comments · Fixed by #8258
Assignees
Labels
egui Requires egui/eframe work enhancement New feature or request
Milestone

Comments

@hovren
Copy link

hovren commented Oct 20, 2023

As a researcher I not only need to visualize results during development, but I also need to present them to the scientific community.

The type of results I need to show are

  • Static plots/images that can be used in printed articles but also on presentations
  • Movies for use in presentations or web pages

I would like to see built-in tools for producing publication and presentation grade media.
Some things to consider:

  • The simplest solution would be to add controls to capture a playing visualization as a movie, or static images, as it is seen in the viewer.
  • A mechanism to control the visualization using code (or configuration) is needed. Maybe you need to visualize different data using the same settings or you simply want to be able to script generation of figures for reproducibility. I envision some kind of API/tools to control e.g. camera views in 3D-plots, zoom-levels for 2D images, etc.
  • Where applicable prefer vector-type graphics output (SVG/PDF)
@hovren hovren added enhancement New feature or request 👀 needs triage This issue needs to be triaged by the Rerun team labels Oct 20, 2023
@emilk emilk removed the 👀 needs triage This issue needs to be triaged by the Rerun team label Oct 23, 2023
@emilk
Copy link
Member

emilk commented Oct 23, 2023

@Nik-V9
Copy link

Nik-V9 commented Aug 13, 2024

Hi, it would be great if this feature can be supported!

I was also wondering if there is a functionality to download images from the viewer?

@Wumpf
Copy link
Member

Wumpf commented Aug 13, 2024

@Nik-V9 it's possible to download images that were logged previously logged in the upcoming release. But none of the export functionalities described in this ticket are in yet.

@Nik-V9
Copy link

Nik-V9 commented Aug 13, 2024

Thanks for the quick response!

It would be much appreciated if you could consider the above request. Rerun has been amazing for debugging and visualizing 3D stuff. I would love to use it for publication visualizations also!

@emilk emilk added this to the 0.19 milestone Aug 13, 2024
@emilk
Copy link
Member

emilk commented Aug 13, 2024

I think we could implement this pretty quickly using https://docs.rs/egui/latest/egui/viewport/enum.ViewportCommand.html#variant.Screenshot and then cropping out the content of the space view.

We should probably improve egui to include some sort of description to the screenshot command though (e.g. a Box<dyn Any>) that is returned with the screenshot, so we can match the resulting screenshot to the right action ("screenshot this spaceview")

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

Successfully merging a pull request may close this issue.

4 participants