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

Smooth fade-in/fade-out for SkyImages #3548

Open
gzotti opened this issue Dec 10, 2023 · 1 comment
Open

Smooth fade-in/fade-out for SkyImages #3548

gzotti opened this issue Dec 10, 2023 · 1 comment
Assignees
Labels
feature Entirely new feature importance: medium A bit annoying, minor miscalculation, but no crash
Milestone

Comments

@gzotti
Copy link
Member

gzotti commented Dec 10, 2023

Is your feature request related to a problem? Please describe.
Found while preparing a script: I'd like to show an image insert in the sky. There is ScreenImage and SkyImage.
Only the former can show effects like fade-in or fade-out, or even grow from a spot.
The SkyImage can be loaded and appears/disappears suddenly, which may look ugly under some circumstances.

Describe the solution you'd like
I am investigating options to let a SkyImage smooth in gradually. Unfortunately this is concerning the ill-documented StelSkyLayer/MultilevelJsonBase/StelSkyImageTile family.
It appears that StelSkyImageTile::drawTile() would already apply a fader on first show of an image. However, I never can see this in action. And then once run, it is never fading out. Is this the place to play around with? Or rather StelSkyImageTile::draw() with its currently unused opacity?

Describe alternatives you've considered
ScreenImage. It is OK on a flat sceen, but not in a dome planetarium.

Additional context
None currently.

@gzotti gzotti added feature Entirely new feature importance: medium A bit annoying, minor miscalculation, but no crash labels Dec 10, 2023
@gzotti gzotti added this to the 24.1 milestone Dec 10, 2023
@gzotti gzotti self-assigned this Dec 10, 2023
Copy link

Hello @gzotti!

Thank you for suggesting this feature.

@gzotti gzotti modified the milestones: 24.1, 24.2 Mar 8, 2024
@alex-w alex-w modified the milestones: 24.2, 24.3 Jun 5, 2024
@gzotti gzotti modified the milestones: 24.3, 24.4 Sep 7, 2024
@gzotti gzotti modified the milestones: 24.4, 25.1 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Entirely new feature importance: medium A bit annoying, minor miscalculation, but no crash
Development

No branches or pull requests

2 participants