mastodon-sc / mastodon-grapher-opengl

1 stars 1 forks source link

Add features of Grapher to Grapher OpenGL #2

Open stefanhahmann opened 1 month ago

stefanhahmann commented 1 month ago

Can be used with:

https://github.com/mastodon-sc/mastodon/tree/opengl-grapher-beta-31 https://github.com/stefanhahmann/mastodon-grapher-opengl/tree/adapt-to-beta-31

PR on https://github.com/mastodon-sc/mastodon-grapher-opengl:

https://github.com/mastodon-sc/mastodon-grapher-opengl/pulls

State:

I Made a comparison on a large dataset (~200.000 Spots). Rendering a view that contained all spots and edges in the existing Grapher took ~800ms on my machine. Rendering in the OpenGL Grapher took 1-2ms on my machine.

Known Missing Features in OpenGL Grapher:

Investigate

Comparison

Grapher OpenGL:

grafik

Grapher:

grafik

stefanhahmann commented 1 month ago

About the installation process, I found out the following: The update site that delivers the plugin needs to have in the jars subfolder:

Moreover, it needs to have system specific subfolder in the jars subfolder (e.g. for windows64):

For Mac the natives would need to be in

For Linux the native would need to be in

tinevez commented 2 weeks ago

The support for Grapher styles is now partial: the colors are abided, but not the shape. I think it is reasonable not to go that way: we want to keep the drawing efficient.

tinevez commented 1 week ago

There is now the zoom box which is nice. You will need to pull from the opengl-beta31 branch in mastodon to use it.

tinevez commented 1 week ago

I also tried to harness multiple platforms. I modified maven so that it works out of the box.

I am hitting a roadblock with mac arm arch and won't be trying to address it. https://imagesc.zulipchat.com/#narrow/stream/327237-SciJava/topic/Maven.20profiles.20for.20natives.20with.20macs.20M1

I will test later how it works on Window.