How to keep horizon from moving so I can watch sunrise?

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
tinmanic
Posts: 6
Joined: 17.08.2009
With us: 15 years 3 months

How to keep horizon from moving so I can watch sunrise?

Post #1by tinmanic » 17.08.2009, 16:55

I'm using Celestia 1.6.0, and I want to stand in a single spot on Earth and watch the sunrise/sunset. But when I go to a spot and look at the horizon, over time the horizon tilts to the side and eventually does a complete 360 to the point where I can't even see the ground anymore. How do I do this without the ground moving?

What I've been doing is choosing a city and then pressing CTRL-G to go the surface. In other words, I hit <enter>, type "Earth/Paris", <enter>, and then CTRL-G.

The educational version (1.5.1-ED) has a pre-set module where you're standing in a spot in March 2005 and can watch the sunset without the ground shifting, so I know it's possible, but I can't figure out how to do it.

Thanks!

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #2by selden » 17.08.2009, 17:09

Typing a Ctrl-G (goto surface) followed by a Ctrl-F (make arrow keys alt-azimuth) should work under Windows. After doing that and turning the time rate way up, the horizon stayed horizontal for me.
Selden

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #3by selden » 17.08.2009, 17:24

Aha!
The horizon stays stable if I place the viewpoint directly above the destination and then use Ctrl-G. Approaching the destination at an angle is what causes problems.

In other words:

Right-mouse-button-click on the Earth.
In the popup menu select Mark.
Rotate the Earth (e.g. by holding down the right-mouse-button and moving the mouse) until the mark is centered on the desired destination.
then type Ctrl-G

Does this help?
Selden

Topic author
tinmanic
Posts: 6
Joined: 17.08.2009
With us: 15 years 3 months

Re: How to keep horizon from moving so I can watch sunrise?

Post #4by tinmanic » 17.08.2009, 18:03

Yes, this seems to work. Thanks!

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #5by BobHegwood » 17.08.2009, 18:16

I learned something from this exchange too. :D
As always, thanks very much for your never-ending help Selden. :wink:
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
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: How to keep horizon from moving so I can watch sunrise?

Post #6by selden » 17.08.2009, 19:11

I think the problem with the horizon might be caused by the viewpoint being relative to the location Paris and not relative to the object Earth. My guess is that locations don't have any orientation information associated with them, so Celestia can't make the viewpoint stay horizontal. When I goto Paris then click on (select) Earth and type a Ctrl-G, after the Ctrl-G operation finishes, the horizon stays horizontal as time passes.
Selden

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #7by chris » 17.08.2009, 22:26

selden wrote:I think the problem with the horizon might be caused by the viewpoint being relative to the location Paris and not relative to the object Earth. My guess is that locations don't have any orientation information associated with them, so Celestia can't make the viewpoint stay horizontal. When I goto Paris then click on (select) Earth and type a Ctrl-G, after the Ctrl-G operation finishes, the horizon stays horizontal as time passes.

This is pretty close to correct... The actual problem is with the way a body fixed frame is defined for locations. It should have the same axes as the body-fixed frame of the location's parent body. Currently, it does not. I've got a patch to fix the problem, but it could cause problems with a small number of cel URLs, specifically those defined with a body-fixed frame (i.e. 'sync orbit') centered on a location object.

--Chris

Topic author
tinmanic
Posts: 6
Joined: 17.08.2009
With us: 15 years 3 months

Re: How to keep horizon from moving so I can watch sunrise?

Post #8by tinmanic » 18.08.2009, 15:13

Thanks for the response, Chris.

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #9by chris » 21.08.2009, 01:53

tinmanic wrote:Thanks for the response, Chris.

You're welcome! I just committed a fix for this problem to SVN (revision 4851)

--Chris

Topic author
tinmanic
Posts: 6
Joined: 17.08.2009
With us: 15 years 3 months

Re: How to keep horizon from moving so I can watch sunrise?

Post #10by tinmanic » 21.08.2009, 18:51

chris wrote:I just committed a fix for this problem to SVN (revision 4851)

Forgive me but what does that mean exactly?

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

Re: How to keep horizon from moving so I can watch sunrise?

Post #11by selden » 21.08.2009, 20:11

tinmanic wrote:
chris wrote:I just committed a fix for this problem to SVN (revision 4851)

Forgive me but what does that mean exactly?

It means that if you have configured your system so you can compile Celestia from scratch, you can download the fixed software from SourceForge and create a copy of Celestia which does not have the problem.

Building Celestia from scratch is relatively easy under Windows if you install Tortoise SVN, Visual C++ 2008.Express Edition and the Windows SDK. All are free. See http://en.wikibooks.org/wiki/Celestia/D ... 2_platform for instructions.

Note: VS2008 and the SDK are very large.
Selden

Topic author
tinmanic
Posts: 6
Joined: 17.08.2009
With us: 15 years 3 months

Re: How to keep horizon from moving so I can watch sunrise?

Post #12by tinmanic » 24.08.2009, 16:21

Thanks!


Return to “Help Central”