I've obtained right ascension / declination information about some of stars in the Orion constellation from a few different sources and imported this into an open source video game I'm making. Using (my own possibly wonky) Ra/Dec/Parallax to
x,y,z methods, Orion looks like this:
Notice Alnitak in red. It's visibly wrong.
To give some background, I initially pulled data for these stars from the SIMBAD Astronomical Database but found that Alnitak had no parallax information. After manually looking up and adding in parallax info based on known distance, I realised the position looked wrong. I checked multiple sources - Star facts, Astro Pixels Wikipedia, and others - they all report similar declinations (well within 1 degree).
I find it strange that one star would be off and the others not, so normally I'd blame the data source. However it seems incredibly unlikely so many (likely peer reviewed) sources would simply be wrong, especially with such a well known star triple star system.
How I create my x,y,z positions:
- I create an object in a 3D scene with world coords
0,0,0and global rotation
- I set its
xrotation to exactly match right ascension (converted to decimal degrees).
- I then rotate the object along the
yaxis by the declination amount (in degrees).
- I then move the object 'forward' by any arbitrary amount. Doing this for all stars, say, at a fixed distance of 1.5 parsecs, the result is as follows for BSC5P:
But now I don't know if my way of determining position is flawed.
Anyone have any ideas on where I might be going wrong?