I am working on a script to help explain celestial navigation and would like to be able to show a line from the centre of Earth to a navigational star. The point on the Earth's surface through which the line passes would be the stars geographic position. I will also need similar lines from the Earth's centre to the elevated celestial pole and one passing through the observer's assumed position and projecting out into space.
Is this possible?
I have attempted this by editing the asterisms.dat file, but it does not seem possible to use an orbiting body (ie Earth) as an end point for a line.
Any suggestions are eagerly awaited.
Thanks,
ChrisA
Show a line indicating geographic position
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.
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.
Re: Show a line indicating geographic position
The way I'd do it would be to create a long, skinny model mesh to be the pointer, use OrbitFrame to place one end at the center of the earth (or perhaps at the observer's position) and use BodyFrame to point its axis toward the appropriate object. I did something similar in my Hale Telescope Addon so the telescope would point toward the desired target.
Selden
-
Topic authorChrisA
- Posts: 5
- Joined: 08.04.2011
- With us: 13 years 7 months
- Location: Launceston, Tasmania, Australia
Re: Show a line indicating geographic position
Thanks for the advice Selden.
I have created a long thin model and attached it to the Earth as suggested. I have also had a look at your very impressive Hale telescope add on, I can see that there is lots to learn from that. Still a long way to go, but at least it is a start. Unfortunately time has not allowed me to progress any further just yet. I will post an update when I make some progress (or hit a problem).
Thanks again,
ChrisA
I have created a long thin model and attached it to the Earth as suggested. I have also had a look at your very impressive Hale telescope add on, I can see that there is lots to learn from that. Still a long way to go, but at least it is a start. Unfortunately time has not allowed me to progress any further just yet. I will post an update when I make some progress (or hit a problem).
Thanks again,
ChrisA
Re: Show a line indicating geographic position
ChrisA,
You're very welcome.
I'n looking forward to seeing your results.
You're very welcome.
I'n looking forward to seeing your results.
Selden
-
- Posts: 55
- Joined: 10.01.2011
- Age: 72
- With us: 13 years 10 months
- Location: Canasvieiras, Florianópolis, Santa Catarina, Brazil / 27° 25' 54.4" S; 48° 28' 15.9" W; 56 Ft AMSL
- Contact:
Re: Show a line indicating geographic position
Keep in mind, however, that the Earth is not a sphere, but is a somewhat flattened oblate spheroid - and that geographic latitude, as is used in celestial navigation, is not measured as the central angle at the Earth's center. It is measured from the line that is normal to the Earth's surface at the location in question. The Earth's central angle at the location in question is called the geocentric latitude, and is not used in celestial navigation. Sextants measure geographic latitude. Geocentric latitude never equals geographic latitude - except at the poles and equator. Elsewhere, the geocentric latitude is always less than the geographic latitude.
System: Dell Novo XPS 13 9370 Notebook; CPU: Intel Core i7-8550U 8th Gen @ 1.80 GHz 1.992 GHz; MB: Dell 0F6P3V
Chipset: Intel Kaby Lake Rev 08; RAM: 16 GB LPDDR3-2133MHz; Graphics: 128 MB Intel UHD Graphics 620; Storage: 512 GB Intel SSD
OS: Windows 10 Pro 64-bit; Celestia: 1.6.1
-Jeff MacKinnon
Chipset: Intel Kaby Lake Rev 08; RAM: 16 GB LPDDR3-2133MHz; Graphics: 128 MB Intel UHD Graphics 620; Storage: 512 GB Intel SSD
OS: Windows 10 Pro 64-bit; Celestia: 1.6.1
-Jeff MacKinnon