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

Skyculture constellations: separate stickfigure colors #1693

Open
dmonty2 opened this issue May 26, 2021 · 3 comments
Open

Skyculture constellations: separate stickfigure colors #1693

dmonty2 opened this issue May 26, 2021 · 3 comments
Labels
purpose: cultural astronomy Issues, pull requests and proposals with cultural astronomy purposes subsystem: skycultures The issue is related to skycultures of planetarium... wishlist Long-term ideas

Comments

@dmonty2
Copy link

dmonty2 commented May 26, 2021

I'm working on "constellationship" with constellation lines that overlap or share lines.

Current cumbersome solution: create and maintain three separate skycultures then toggle back and forth to see how the constellations are separate as well as how they interact with each other:

  1. even constelationship ( which don't intersect )
  2. odd constelationship ( which don't intersect )
  3. combined constelationship ( which intersect )

Proposed change/solution: ability to choose different colors for constellation lines in a Skyculture.

In the View Options=>Starlore tab next to constellation lines there is a single color chooser for all constellation lines. I'm guessing it would be most beneficial to allow the end user to choose the colors instead of the constellationship.fab developer. So the constellation lines picker would need 3-4 colors as well as a new constellationshipcolor.fab that would be used to chose between the 3-4 colors. Having a constellationshipcolor.fab file would allow for backward compatibility instead of using existing constellationship files to tag color codes. Format would be something like:
Constellation1 ColorA
Constellation2 ColorB
Constellation3 ColorA
Constellation4 ColorC

This will allow for something like:

  • Constellation2 is overlapped by Constellation1 and Constellation3 so these alternate colours.
  • Constellation4 encircles constellations 1 2 and 3 and uses a separate color.

For shared lines the colors would have to alpha blend where they intersect. Alpha-blend would be nice as it would auto blend colors as well as show stars that might be slightly hidden behind the line.

I am a software developer and at first glance it looks like the code do draw the lines is in src/core/modules/Constellation*.cpp as well as gui/ViewDialog.cpp

@github-actions
Copy link

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

@gzotti gzotti added the wishlist Long-term ideas label May 26, 2021
@github-actions
Copy link

Hello @dmonty2! Thank you for this suggestion.

@gzotti
Copy link
Member

gzotti commented May 26, 2021

We have much larger plans under the working title "Skycultures 2.0", to be started after the switch to Qt6. Different color per constellation line set is none of them, though. You could right now add colored artwork, or code your stick figures as constellations/asterisms/ray_helpers, so you already have 3 colors (although somewhat misused). It may be enough for your private content.

For a more general solution, you would need some dynamical system with an extra panel that allows selecting colors for each constellation of a skyculture. Such a panel could also be used to toggle each constellation visibility. However, this needs to work for each skyculture. That's far from a short&easy task.

BTW the "hip" in "constellationship" derives from Hipparcos. It's not any -ship.

@gzotti gzotti changed the title Skyculture constellationship colors Skyculture constellations: separate stickfigure colors Sep 22, 2021
@alex-w alex-w added the subsystem: skycultures The issue is related to skycultures of planetarium... label Oct 13, 2024
@alex-w alex-w added the purpose: cultural astronomy Issues, pull requests and proposals with cultural astronomy purposes label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
purpose: cultural astronomy Issues, pull requests and proposals with cultural astronomy purposes subsystem: skycultures The issue is related to skycultures of planetarium... wishlist Long-term ideas
Development

No branches or pull requests

3 participants