Dunno if this is a genuine bug or not, but it seems that Celestia (via 1.6.0) is going to the Sun
regardless of instructions included in the normal start.cel file.
In other words, if I remove ALL commands from the start.cel file which reference any travel to
Sol, the program still starts out at Sol and then moves to whatever location(s) I have scripted it
to go to.
Is this a bug? Or is this an unknown feature?
Thanks, Brain-Dead
start.cel problems
-
Topic authorBobHegwood
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
start.cel problems
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
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
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Re: start.cel problems
BobHegwood wrote:Dunno if this is a genuine bug or not, but it seems that Celestia (via 1.6.0) is going to the Sun
regardless of instructions included in the normal start.cel file.
In other words, if I remove ALL commands from the start.cel file which reference any travel to
Sol, the program still starts out at Sol and then moves to whatever location(s) I have scripted it
to go to.
Is this a bug? Or is this an unknown feature?
The starting position of the observer is at the origin of the universe, which in Celestia is the Solar System Barycenter, or SSB. The SSB is the center of mass of the solar system. Because most of the Solar System's mass is concentrated in the Sun, the SSB lies quite close to the Sun.
The observer has to be located *somewhere* at startup, and the origin is the obvious default. If you want to avoid seeing the Sun at startup, the observer position can be set to some other point in the startup script. The trick is that this must be done instantaneously. The script must set the new observer position before it returns control to Celestia by calling wait(). This isn't a bug. But, the fact that the default start.cel does show the Sun is a bug, I think. Or at least, Celestia would look more polished if this didn't happen. Also, there should be a builtin script command that makes it easier to set the observer position instantaneously.
--Chris
-
Topic authorBobHegwood
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: start.cel problems
Okay, thanks for that information Chris...
Have re-arranged my start.cel to bypass Sol and to go straight to Earth.
Again, many thanks, Brain-Dead
Have re-arranged my start.cel to bypass Sol and to go straight to Earth.
Again, many thanks, 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
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