Mess around with OpenGL and Dear ImGui and make a cool rendering project
Ability to configure various properties of rendering, camera, and orbit
Ambient + Diffuse
Milky way skybox so it feels spacy (actual word btw)
Planets have different orbital parameters that are used to calculate their orbital position at a certain point in time
Properties of different celestial bodies can be configured easily using the config.json file
"Earth": {
"orbitParameters": {
"semiMajorAxis": 1.000,
"eccentricity": 0.0167,
"inclination": 0.000,
"longitudeOfAscendingNode": -11.260,
"argumentOfPeriapsis": 114.207
},
"scale": 1.000,
"texture": "./resources/textures/earth.jpg",
"position": {
"x": -1.000,
"y": 0.0,
"z": 0.0
}
},
nlohmann json - Parsing JSON
Dear IMGUI - GUI Library
STB Image - Loading Images
Planet Pixel Emporium - Planet Textures
Refactor some elements of the code marked with //TODO