mastodon-sc / mastodon-sciview

A bridge between Mastodon and sciview
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

synchronize the color and display range #3

Open RuoshanLan opened 3 years ago

RuoshanLan commented 3 years ago

The project in the master branch can not :

  1. synchronize color from sciview to mastodon.
  2. synchronize display range from sciview to mastodon
RuoshanLan commented 3 years ago

Until now, the synchronize functions can be realized, which means mastodon can detect the color change of sciview and assign the updated value to the mastodon. But I still need to find a way to transform colormap to color. The display range doesn't have to be synchronized with additional coding. However, mastodon need to detect the change and then ask for repaint.

RuoshanLan commented 3 years ago

We need to use the sample function of colormap. But the current scenery version in use is too old to support it. So it is necessary to update the version of 'scenery' .

RuoshanLan commented 3 years ago

I have updated the version of scenery(35ab1c9) and sciview(31b4e6d) to the latest. The sample function is available and the color can be synchronized now.