-
Notifications
You must be signed in to change notification settings - Fork 34
Grids.jl: ticks label and such #225
Comments
You ask at the right time! In Makie this should already work nicely, and since it's just a high level wrapper around GLVisualize, whatever you already have should work side by side with it ;) Btw, i also added textured meshes as part of Makie. I can see if I can't just tag the current, unfinished but finished enough for your use case, state of Makie, so that it's a bit easier to install! |
oohhhh I was going to play with Makie soon but it sounds like I should just do that right away. Cheers, P.S. Does Makie also happen to have gtk support ;) ? |
Well, the Pkg commands in the readme should do the trick, if the involved repositories aren't dirty! For interop, just do: using MakiE, GLVisualize
scene = Scene() # replaces: screen = glscreen();@async renderloop(screen)
screen = scene[:screen] # the normal Screen type that glscreen creates
_view(visualize(...), screen) |
Oh I see.
which happens here:
where scMesh is a .obj loaded as I reverted for now as I am working on that code, I may set up a parallel Julia install to play with Makie |
That must be an old version of GLVisualize! I'm guessing it was dirty and you didn't check out the correct branch? |
hmmm I don't think so:
Am I missing something? That does frequently happen... |
Ah I'm silly, it broke YOUR code... yes - there was one breaking change... I see what I can do about it tomorrow! ;) |
Would it work for you to use quaternions for rotations? After fixing the bug, I realized that in the GLSL shader, I actually can't differentiate between a quaternion and a 3D vector for rotations :( I could cheat, and template the shader on the julia side, but that's always a bit ugly! I could also automatically convert any vec3 to a quaternion on my side, I guess ;) |
hmmm I don't see why not. I'd just have to convert from 3D vec to quaternions, as you mention at the end of your message. There must be something out there to do just that I imagine. |
Yes, I should have some piece of code flying around doing exactly that.... |
Okay I pushed a couple of fixes to the sd/makie branch.. it's not perfect, but hopefully recovers most of the functionality. let me know if something is still not working |
As much as I hate to derail the conversation, @loicspace, what tools did you use to make that GUI? I'm trying to do something as GUI intensive (although in a different domain) and what you've made looks great! |
@loicspace I can reproduce this, sorry seems like I had bad tests for this...Let me fix it |
Should be fixed in 2740f59 - master is now the branch to be on for Makie. Did you figure out how to do textured meshes with GLVisualize?! :) |
@SimonDanisch Nice -- it is indeed fixed :)
Nope, I have not played with the new stuff yet. The Earth on this plot is kinda that I guess tho, just a sphere plotted as a surface with colors taken from a png.
Yup, this is GTK, I don't know why it is not segfaulting. From the beginning, it did not and I have not yet isolated why. Between the GUI and the actual simulation module (where all the plotting routines are) it's a lot of code and I'm still trying to understand how it is different from the MWEs we're playing with. Maybe the "isolation": I have one module for the GUI, one for the actual "stuff"...So this is in fact using the gtk+glvisualize prototype. @CrashBurnRepeat Thanks, although the credit goes to the Julia gurus. The GUI itself (left part) is built with GTK.jl and the visualization is made with GLVisualize. The integration of the two together is what Simon and I are talking about above and more in depth there #195. It is still somewhat experimental and you can find some code there as well. |
Hi Simon!
I finally have some time to get back to some development for my spacecraft constellation tool and I am wanting to plot 2D technical data over time (e.g. altitude of spacecraft over time) and having it being animated side by side with the rendering of the spacecraft path around the Earth, with a time slider. And all of that is completely possible thanks to the awesome GLVizsalize.
However, I would need to have the technical data plots (2D line + 2D point) on a grid with axis ticks and ticks labels (and ideally title and/or legend). It seems that Grids.jl in the Examples folder has some of that, the ticking parts, but the ticks label is incomplete. Do you have a working version of that somewhere?
P.S. Congrats on the release of Maki-E!
The text was updated successfully, but these errors were encountered: