Apply atmosphere effect only on bodies with atmosphere

Bug #971875 reported by Mykyta Sytyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf

Bug Description

When you are changing location from ViewDialog window, you can appear on a body (i.e. Moon) and watch the atmosphere effect.

Related branches

Revision history for this message
Mykyta Sytyi (nsytyi) wrote :

This will solve that problem

summary: - In ViewDialog clicking on Fog checkbox does not influence atmosphere
- when changing landshaft
+ forgotten UI checkbox
Revision history for this message
treaves (treaves) wrote : Re: forgotten UI checkbox

In trunk, this button does work, even when switching landscape.

Changed in stellarium:
status: New → Invalid
Revision history for this message
treaves (treaves) wrote :

I looked at your patch; atmosphere & fog are two different effects.

Revision history for this message
Mykyta Sytyi (nsytyi) wrote :

but, i.e. when changing your position to Moon, you will be situated on the moon and see atmosphere

Revision history for this message
Alexander Wolf (alexwolf) wrote :

You need change patch because atmosphere and fog are different effects. Question about enabling atmosphere effect need solve by type of solar system objects.

Revision history for this message
treaves (treaves) wrote :

O.K., it seems I did not understand what you were trying to accomplish. Yes, what Alex said.

If your intention to insure that the effects like fog & atmosphere only apply on bodies where they would - well, apply, I agree with that. But the patch does not accomplish that. It should be too difficult to factor in the observing location to your patch.

I'll mark this defect is new, but, please update the title; maybe something like: 'apply atmospheric effects only on bodies with atmospheres'?

Changed in stellarium:
status: Invalid → New
Mykyta Sytyi (nsytyi)
summary: - forgotten UI checkbox
+ turn on&off atmosphere when changing location
summary: - turn on&off atmosphere when changing location
+ apply atmosphere effect only on bodies with atmosphere
description: updated
Revision history for this message
Mykyta Sytyi (nsytyi) wrote :

OK, updated title and description.

And what schould be the "Fog" effect? Currently I can not see any visible changes, and I haven't found any effects using fog in the source code.

Mykyta Sytyi (nsytyi)
summary: - apply atmosphere effect only on bodies with atmosphere
+ Apply atmosphere effect only on bodies with atmosphere
Revision history for this message
treaves (treaves) wrote :
Revision history for this message
Mykyta Sytyi (nsytyi) wrote :

yes, but LandscapeMgr does not use that flag. Only set it and shows on the screen.

Revision history for this message
treaves (treaves) wrote :

No, it is very mush used. In Qt Creator, it is easy to click-through and see this.
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/src/core/modules/Landscape.cpp#L234

treaves (treaves)
Changed in stellarium:
status: New → Confirmed
importance: Undecided → Low
Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
milestone: none → 0.11.4
Revision history for this message
Alexander Wolf (alexwolf) wrote :
Changed in stellarium:
status: Confirmed → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.