lp:~guillaume-chereau/stellarium/fix-orbits2

Created by Guillaume Chereau and last modified
Get this branch:
bzr branch lp:~guillaume-chereau/stellarium/fix-orbits2
Only Guillaume Chereau can upload to this branch. If you are Guillaume Chereau please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Guillaume Chereau
Project:
Stellarium
Status:
Development

Recent revisions

9069. By Guillaume Chereau

Fix orbit colors

Thanks for Alexander for the patch.

9068. By Guillaume Chereau

Fix planet orbit when we zoom in close

We have to use the last time used in the update method, since it might
differ from the current time because of the light speed correction.

9067. By Guillaume Chereau

Attempt to support depth buffer on the orbit paths

This might break the rendering of planet rings in some cases. We need
to test this.

9066. By Guillaume Chereau

Remove Planet::computePositionWithoutOrbits method

We don't need it anymore, since the orbit positions are computed only in
the render function.

9065. By Guillaume Chereau

Fix a bug in planet orbits rendering

The rendering function overrides a few attributes, we need to backup and
restore them.

It would be nicer if we could compute the position of a planet at any
time without side effect.

9064. By Guillaume Chereau

Try to improve orbit lines

At the cost of performances! I think we will still need to adjust the
parameters to find the right balance, or optimize the code more.

9063. By Guillaume Chereau

Improve performances of planet orbits rendering

When we split the parametric path function in segments, we try to be
clever about when we can assume all the points in an interval will be
invisible. In that case we just stop the iteration.

There might be some cases where this does not work very well.

9062. By Guillaume Chereau

StelPainter: minor change

9061. By Guillaume Chereau

Fix planet orbits for fast moving planets

In that case we need to make sure the position cache error is smaller.
I think an other way would be to interpolate the values, but I am afraid
that might make the code slower.

9060. By Guillaume Chereau

Use a position cache for orbit position

It is based on a QMap (Qt implementation of red/black tree). That way
we can relatively quickly find the nearest cached position for a given
time.

The get method of the PosCache class uses a dt argument to allow en error
range in the returned value. For the moment I statically set the error
range used to one hour. I guess we could make this smaller without
changing the performance much.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:stellarium
This branch contains Public information 
Everyone can see this information.