Night sky skybox generator - yneg.png

Night sky skybox generator - yneg.png

License(s): 
The authors of this content agree to license it under later versions of the licenses they selected above.
Texture Dimensions: 
2048x2048
File(s): 
Preview
yneg_0.png yneg_0.png 5.5 Kb [140 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.