Asteroids orbits

General discussion about Celestia that doesn't fit into other forums.
Topic author
Imy
Posts: 109
Joined: 13.10.2006
With us: 18 years 1 month

Asteroids orbits

Post #1by Imy » 22.01.2008, 14:46

Hi,

Why do all selected asteroid orbit seem not to be drawn on gravity center of the objet? It is the case for instance of Ceres...

Thanks in advance.

abramson
Posts: 408
Joined: 22.07.2003
With us: 21 years 4 months
Location: Bariloche, Argentina

Post #2by abramson » 22.01.2008, 20:46

Hi, Imy. For convenience, Celestia draws orbits not as ellipses but as polygons inscribed in the orbit. As a consequence, if you look closely at a body, you will see it wobbling closer and farther to its drawn orbit. Small bodies, such as asteroids, have their orbits outside of their bodies most of the time.

By default, Celestia draus orbits as 100-gons. You can change this setting by editing celestia.cfg. the variable is OrbitPathSamplePoints. there are other rendering variables as well, such as RingSystemSections, since rings are also rendered as 100-gons by default.

The true orbits, that is, the paths followed by the celestial bodies, are nevertheless elliptical.

Guillermo

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #3by ajtribick » 22.01.2008, 23:11

Out of interest, how are the orbit points distributed - surely for best results the distribution should be based on the curvature of the ellipse.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #4by chris » 22.01.2008, 23:49

ajtribick wrote:Out of interest, how are the orbit points distributed - surely for best results the distribution should be based on the curvature of the ellipse.


Yes, as of version 1.5.0, ellipses are adaptively sampled. You can see dramatic improvement with comet orbits. Also, 1.5.0 performs cubic interpolation between sample points. You'll find that small bodies lie much closer to the rendered trajectory than in 1.4.1. There's still room for improvement--I want to implement a better adaptive spline rendering scheme soon.

--Chris

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #5by BobHegwood » 23.01.2008, 00:00

And, as Guillermo has already pointed out above, you CAN create
smoother (and more accurate) orbits by modifying your celestia.cfg
file.

Just open it with Notepad and have a look at the documentation there.

Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Post #6by t00fri » 23.01.2008, 00:02

chris wrote:
ajtribick wrote:Out of interest, how are the orbit points distributed - surely for best results the distribution should be based on the curvature of the ellipse.

Yes, as of version 1.5.0, ellipses are adaptively sampled. You can see dramatic improvement with comet orbits. Also, 1.5.0 performs cubic interpolation between sample points. You'll find that small bodies lie much closer to the rendered trajectory than in 1.4.1. There's still room for improvement--I want to implement a better adaptive spline rendering scheme soon.

--Chris

Chris wrote:- Cubic splines are used to reduce the appearance of sharp angles in between
orbit segments. This also has the effect of placing the rendered orbit path
much closer to the the actual orbit path.


Aha, good... :lol:

http://www.celestiaproject.net/forum/viewtopic ... line+orbit

F.
Image

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Re: Asteroids orbits

Post #7by symaski62 » 23.01.2008, 00:29

Imy wrote:Hi,

Why do all selected asteroid orbit seem not to be drawn on gravity center of the objet? It is the case for instance of Ceres...

Thanks in advance.



image :) ceres HUBBLE

http://hubblesite.org/newscenter/archiv ... iew:images
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #8by chris » 23.01.2008, 00:32

t00fri wrote:
chris wrote:
ajtribick wrote:Out of interest, how are the orbit points distributed - surely for best results the distribution should be based on the curvature of the ellipse.

Yes, as of version 1.5.0, ellipses are adaptively sampled. You can see dramatic improvement with comet orbits. Also, 1.5.0 performs cubic interpolation between sample points. You'll find that small bodies lie much closer to the rendered trajectory than in 1.4.1. There's still room for improvement--I want to implement a better adaptive spline rendering scheme soon.

--Chris

Chris wrote:- Cubic splines are used to reduce the appearance of sharp angles in between
orbit segments. This also has the effect of placing the rendered orbit path
much closer to the the actual orbit path.

Aha, good... :lol:

http://www.celestiaproject.net/forum/viewtopic ... line+orbit

F.


There were a host of new improvements to orbit rendering in 1.5.0. It's an incredibly complicated task to show smooth orbits that correctly occlude/are occluded by planets over a huge range of scales. A large part of the complexity is the limited arithmetic and depth buffer precision of graphics hardware.

- The scene is split into different depth intervals, roughly logarithmically. Each depth interval has a far plane that is not more than 1000 times the distance of the near plane. This is necessary to avoid depth buffer precision problems. An orbit may be rendered multiple times per frame, once for each span it covers.
- Orbit paths are cached in order to avoid the potentially huge overhead of resampling every frame. The cached path is split into sections (groups of segments) and per-section bounding volumes are computed fast culling of parts that lie outside the depth interval or the field of view.
- At render time, the orbit is transformed into camera space and clipped against the near and far plane on the CPU. Double precision arithmetic is essential for proper rendering, which is why transformation can't be done on the GPU. Orbit path segments are further subdivided using spline interpolation whenever they lie sufficiently close to the observer.

The culling of orbit paths by section is big part of why spline interpolation is practical now. That, and the fact that all the transformation has to be done on the CPU anyway because of the double precision requirement.

--Chris

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Re: Asteroids orbits

Post #9by symaski62 » 23.01.2008, 12:36

symaski62 wrote:
Imy wrote:Hi,

Why do all selected asteroid orbit seem not to be drawn on gravity center of the objet? It is the case for instance of Ceres...

Thanks in advance.


image :) ceres HUBBLE

http://hubblesite.org/newscenter/archiv ... iew:images



:wink:

http://dawn.jpl.nasa.gov/

arrival -1310 DAY VESTA

^^
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
Imy
Posts: 109
Joined: 13.10.2006
With us: 18 years 1 month

Post #10by Imy » 23.01.2008, 13:17

I don't precisely understand how orbits are built : you use 3 sides polygons (like Kepler...) where one vertex is on the barycenter and two others draws a piece of the orbits... Then if you multiply the number of rod, it seems that you're orbit is a real curve, isn't it? One tip was to use spline instead of ligne so that the triangle become like an icecream basic shape? Where accuracy is lost? why double precision?
It is a solution to increase basic config number of polygons but i think this was selected to this value because above you need a good computer...

But why not starting on the gravity center of the planet and then continuing from there to close the orbit. Then it would be exact (from the object), no?

Is Celestia able to draw no-closed orbits like parabolic trajectories of comets?


Return to “Celestia Users”