Stars Question...

General discussion about Celestia that doesn't fit into other forums.
Topic author
gr8eagle8
Posts: 16
Joined: 26.08.2004
With us: 20 years 2 months

Stars Question...

Post #1by gr8eagle8 » 02.09.2004, 10:58

All the starts in celestia (and planets) all are confined to a certain area of the Milky Way and I was just wondering if this is because the program can only place them in this area or would it be possible to extend it.

I'm asking this because wouldn't it be then possible to make and entire galaxy up that you could go inside of (like this area). :?:

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

Post #2by ajtribick » 02.09.2004, 11:52

It's a limitation of the OpenGL graphics system. Objects cannot be depth-sorted beyond a certain distance, and the single-precision floating-point numbers used by OpenGL lead to large inaccuracies beyond a certain distance.

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #3by ElPelado » 02.09.2004, 12:38

Once I tried to put a globular cluster inside the Magallanice Cloud to see how it would like, but because those starts were outside the 16K light years limit, I cold not see them from earth, but when I went past the MC, looking at it and the Milky Way at the background, teh starts were visible...
---------X---------
EL XENTENARIO
1905-2005

My page:
http://www.urielpelado.com.ar
My Gallery:
http://www.celestiaproject.net/gallery/view_al ... y-Universe

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 02.09.2004, 18:36

You also might want to consider reading the "Preliminary User's FAQ", especially Q/A#12 Why are there no stars beyond about 16,000 light years?
Selden

Topic author
gr8eagle8
Posts: 16
Joined: 26.08.2004
With us: 20 years 2 months

Post #5by gr8eagle8 » 12.09.2004, 10:13

So would this be simply a temporary OpenGL problem that might later get fixed or is it simply not possible?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #6by selden » 12.09.2004, 13:33

gr8eagle8,

Please read the FAQ. It's discussed there.
Selden

Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 5 months

Post #7by Evil Dr Ganymede » 12.09.2004, 16:48

I still think it could be possible to create different "origins" for the coordinate system that could be selected via a config file. So if you wanted something in the LMC, you could set a new co-ordinate origin in the middle of it and plant your stars up to 16,000 ly around it.

Or maybe just have different origins hardwired into the program, and hop from one to the other as you travel to them.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #8by selden » 12.09.2004, 17:10

Oh Evil One,

My understanding is that there are intentions to include something like what you describe in some future version of Celestia.

How soon that actually might happen is impossible for me to guess. At the moment, Chris is the only one who understands Celestia, OpenGL and C++ well enough to write that code, and he has many other demands on his time.
Selden

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #9by Rassilon » 12.09.2004, 17:27

If you want stars past 16k you will have to do just what the evil one mentioned...repositioning your world coordinates. This will however mess up your original coordinates or make eveything outside the new 16k barrier clipped as before. Chris will have to redo 90% of his plotting code in order to break the 16k barrier with a whole new approach...Unless he knows something I dont I think there will always be a 16k barrier...Light positioning for one doesnt allow more than a floating point coordinate system. Unless SGI comes out with improved light positioning Chris will have to revamp Celestia...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 5 months

Post #10by Evil Dr Ganymede » 12.09.2004, 18:44

selden wrote:Oh Evil One,

My understanding is that there are intentions to include something like what you describe in some future version of Celestia.


Groovy. It's no big deal, but that seems to me to be the most practical way to get around the problem (short of doing something with double precision instead of single, but I dunno if that'd even be possible)


Return to “Celestia Users”