Replies: 1 comment 1 reply
-
Oh man, this only doesn't work, because the subwindow = Scene(scene, px_area=Observable(Rect(100, 100, 200, 200)), clear=true, backgroundcolor=:green)
subwindow.clear = true
meshscatter!(subwindow, rand(Point3f, 10), color=:gray)
plot!(subwindow, [1, 2, 3], rand(3)) Definitely open an issue about that, or better a PR :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I spent the night playing around with different constructs but I could not manage to display any additional scenes/plots on top of my animated 3D scene, so I hope to get tossed in the right direction here.
Below is a MWE which is a stripped down version of my main GL loop and a screenshot of it annotated with an example how I'd like to add overlays.
I am now trying to add graphical overlays (mostly plots/histograms and additional text, hopefully other GUI elements like buttons/dropboxes in future) but can't get them displayed at all.
At this point, I am not even sure if it's clever to layer the scenes like this, and also looked at the Layout Tutorial but I guess that Subwindows are what I am looking for. However, the tutorial is a bit hard to grasp -- at least for me -- so apologies if this is trivial ;) I am definitely going to turn my tiny project into a tinier example and provide a PR to Makie, it's really great stuff so far!
Anyways, here is the MWE and the four lines below the comment are some desperate attempts to create a subscene and add some content, which is unfortunately not appearing anywhere on screen. I very likely miss to render them in the
while
loop but can't figure out how.Beta Was this translation helpful? Give feedback.
All reactions