A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » Amateur Astronomy
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

converting star coordinates to x,y,z



 
 
Thread Tools Display Modes
  #1  
Old December 9th 04, 11:18 AM
external usenet poster
 
Posts: n/a
Default converting star coordinates to x,y,z

I'm working on a project of modeling the stars of the constellations in
3-D; not for their positions relative to Earth, but relative to any
given person being at 0,0,0.

Is there a simple formula for this? ...or better yet, do you know
anyone who has them on the net or in a book?

Thanks!

Rick.

  #3  
Old December 9th 04, 02:49 PM
external usenet poster
 
Posts: n/a
Default

Clarification:
I see that I too hastily posted the question. 0,0,0 would be Earth.
The
figure for 'x' would need to be the distance from Earth, with y and z
being
taken from RA and DEC...is that right?

If we use the stars of Orions belt as an example, can you help me put
them
to x,y,z?

Alnitak: 400ly, RA 05 40 45.5, DEC -01 56 34
Alnilam: 1340ly, RA 05 36 12.7, DEC -01 12 07
Mintaka: 600ly, RA 05 32 00.3, DEC -00 17 57

  #4  
Old December 9th 04, 02:52 PM
external usenet poster
 
Posts: n/a
Default

PS: I AM a masochist and will do what it takes to create these models.
I appreciate any and all of who will hang in there with me on this. It
will be so cool!
(Am I the only one who thinks so??)
Rick.

  #6  
Old December 9th 04, 03:21 PM
Timothy R Oltrogge
external usenet poster
 
Posts: n/a
Default


wrote in message
ups.com...
I'm working on a project of modeling the stars of the constellations in
3-D; not for their positions relative to Earth, but relative to any
given person being at 0,0,0.


Search for the program "Celestia" on Google and download it. It's free. It
knows both the direction (RA and Dec) *and* distance (LY) of many stars and
allows you to position yourself anywhere in 3D space and see how things look
from there. If you go to the Navigation / StarBrowser menu item it brings up
a list of up to 500 stars giving, among other things, their distance in LY
from earth. Using these 3 polar coordinates (RA, Dec, LY) for any star you
can transform these polar coordinates into Cartesian coordinates (probably
using Z-axis is declination 90 degrees, X-axis is RA of zero hours, Y-axis
is RA of 6 hours). With these 3 computed X, Y, Z coordinates you would then
subtract a translation vector (delta-X, delta-Y, delta-Z) of a viewpoint
somewhere other than earth and you now have the X, Y, Z coordinates of your
chosen star *relative* to the new viewpoint.

Unfortunately, Celestia does not show you any of its own mathematics, but
this is essentially what it's doing.


  #7  
Old December 9th 04, 03:24 PM
Wfoley2
external usenet poster
 
Posts: n/a
Default

I'm working on a project of modeling the stars of the constellations in
3-D; not for their positions relative to Earth, but relative to any
given person being at 0,0,0.


And WHERE is the location of 0,0,0 exactly???
Clear, Dark, Steady Skies!
(And considerate neighbors!!!)


  #9  
Old December 9th 04, 03:27 PM
Wfoley2
external usenet poster
 
Posts: n/a
Default

I don't want to be negative but its not that hard. Its not a three
dinensional
problem but a 2-dimensional problem.


I do believe that the person said x,y,z, which means that distance from 0,0,0
would count. That makes it 3-D. Though of course the display itself might be
2-d or the person might have a new sort of display in mind that shows true
depth as well as width and height.

Clear, Dark, Steady Skies!
(And considerate neighbors!!!)


  #10  
Old December 9th 04, 03:29 PM
Wfoley2
external usenet poster
 
Posts: n/a
Default

Check out the books by Jean Meeus - there may be something there you could
adapt for your purpose.
Clear, Dark, Steady Skies!
(And considerate neighbors!!!)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Space Calendar - April 30, 2004 Ron Misc 0 April 30th 04 03:55 PM
Space Calendar - March 26, 2004 Ron Misc 0 March 26th 04 04:05 PM
Space Calendar - January 27, 2004 Ron Astronomy Misc 7 January 29th 04 09:29 PM
Space Calendar - November 26, 2003 Ron Baalke Misc 1 November 28th 03 09:21 AM
Space Calendar - October 24, 2003 Ron Baalke Misc 0 October 24th 03 04:38 PM


All times are GMT +1. The time now is 04:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 SpaceBanter.com.
The comments are property of their posters.