Night sky skybox generator - ypos.png

Night sky skybox generator - ypos.png

License(s): 
The authors of this content agree to license it under later versions of the licenses they selected above.
Texture Dimensions: 
256x256
File(s): 
Preview
ypos_1.png ypos_1.png 1.3 Kb [44 download(s)]
Texture Pack Description: 

This is a skybox generator in C

It works by reading the ascii version of the yale bright star catalog extracting the J2000 coordinates and plotting them onto 6 square bitmaps which are then output in pgm format. The coordinates are converted to degrees, then converted to a vector which is normalised the component with the largest magnitude controls which bitmap the star is rendered to the coordinates are then scaled and the brightness is calculated based on the apparent visual magnitude.

I have also included skyboxs at the common OpenGL resolutions, also although this is intended to be accurate I have almost certainly got at least one bitmap upside down or back to front so maybe best to consider these just statistically accurate stars.

also I have not included the star catalog itself because it is not clear if this is distrutable.