The 16000ly limit

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

The 16000ly limit

Post #1by Malenfant » 22.11.2005, 04:16

I just realised something - I've always thought that the 16,000ly limit for stars exists because of some kind of software limitation - but if that's the case, why can we place galaxies at much greater distances?

In other words, what's the difference between a star and a galaxy in terms of how Celestia interprets a stc or dsc? Couldn't we just have star locations determined in the same way that galaxies are?
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Post #2by buggs_moran » 22.11.2005, 11:59

See this post http://www.celestiaproject.net/forum/viewtopic.php?t=7868

Definitely read through the whole post. I believe it boils down to precision. The further out you get from Sol, the more imprecision in the software rendering. Chris explains it well and had ideas for solutions back in 2002.


Chris wrote:There are several solutions to this that I'm considering. I could simply increase the range for special handling, but this has performance implications. The performance problems could be offset by increasing the special-handling range as the camera's distance from the Sun increased. This isn't very general, but it would work reasonably well with the existing database, where the star density increases toward the origin. The real long-term solution is to allow multiple star databases, each referred to a different center. This is analgous to the way that solar systems are handled now, with the coordinate system for planets 'rezeroed' to the location of central star.
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M


Return to “Development”