Night sky skybox generator

Night sky skybox generator

Author: 
Art Type: 
License(s): 
Collections: 
Favorites: 
3
Share Icons: 
Preview: 
Preview

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.

 

File(s): 
bsc.tar.gz bsc.tar.gz 48.5 Kb [2076 download(s)]

Textures in this Pack

Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview
Preview