{"id":17675535,"url":"https://github.com/ernanej/solar-system-opengl","last_synced_at":"2026-05-03T11:37:16.786Z","repository":{"id":252686967,"uuid":"827127342","full_name":"ErnaneJ/solar-system-opengl","owner":"ErnaneJ","description":"3D visualization of the solar system using OpenGL with C/C++","archived":false,"fork":false,"pushed_at":"2024-08-11T19:18:56.000Z","size":3853,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T23:43:26.186Z","etag":null,"topics":["3d","c","cpp","opengl","solar-system"],"latest_commit_sha":null,"homepage":"https://ernanej.github.io/solar-system-opengl/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ErnaneJ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-11T04:25:42.000Z","updated_at":"2024-12-05T15:44:07.000Z","dependencies_parsed_at":"2024-08-11T20:08:33.505Z","dependency_job_id":"6c93ae57-8d49-418c-b053-bca714a3e206","html_url":"https://github.com/ErnaneJ/solar-system-opengl","commit_stats":null,"previous_names":["ernanej/solar-system-opengl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsolar-system-opengl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsolar-system-opengl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsolar-system-opengl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fsolar-system-opengl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErnaneJ","download_url":"https://codeload.github.com/ErnaneJ/solar-system-opengl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229322961,"owners_count":18055080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","c","cpp","opengl","solar-system"],"created_at":"2024-10-24T07:22:40.511Z","updated_at":"2025-10-29T19:33:59.254Z","avatar_url":"https://github.com/ErnaneJ.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌌 Solar System - OpenGL\n\nThis project showcases a 3D visualization of the solar system using OpenGL with C/C++. The goal was to create an interactive representation of celestial bodies, including the Sun, planets, and Saturn's rings. The project demonstrates OpenGL’s capabilities for dynamic and visually rich simulations, allowing users to explore planetary orbits and characteristics.\n\n## Features\n\n- **3D Visualization**: Rendering of celestial bodies.\n- **Interactive Exploration**: Navigate the solar system and zoom in/out.\n- **Dynamic Animation**: Planetary orbits and movement simulation.\n- **Textured Models**: Detailed textures for each planet and the Sun.\n- **User Interaction**: Control views and animations with keyboard and mouse inputs.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/7254833b-72d1-460c-934e-1b67b9a80d3d\n\n## Getting Started\n\n### Prerequisites\n\n- CMake\n- OpenGL\n- A C++ compiler (e.g., GCC, Clang)\n\n### Build and Run\n\nTo build and run the simulation, follow these steps:\n\n```bash\ncd build\ncmake ..\ncmake --build . \u0026\u0026 ../bin/main\n```\n\n## Controls\n\n```sh\n--------------------------------------\n🌌 Solar System Simulation Commands 🌌\n--------------------------------------\n❌ Quit: press 'ESC'\n🔄 Toggle orbits: press 'o'\n🔍 Zoom in: press 'w'\n🔎 Zoom out: press 's'\n⏸️ Pause animation: press 'p'\n🖱️ Move camera: press and hold the left mouse button and drag\n🌐 View all elements: press 'A'\n🌍 View individual element:\n  0️⃣ SUN\n  1️⃣ MERCURY\n  2️⃣ VENUS\n  3️⃣ EARTH\n  4️⃣ MARS\n  5️⃣ JUPITER\n  6️⃣ SATURN\n  7️⃣ URANUS\n  8️⃣ NEPTUNE\n--------------------------------------\n```\n\n## Textures\n\n|Earth Texture|Jupiter Texture|Mars Texture|\n|:-:|:-:|:-:|\n|![Earth Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/earth.jpg)|![Jupiter Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/jupiter.jpg)|![Mars Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/mars.jpg)|\n\n|Mercury Texture|Neptune Texture|Saturn Texture|\n|:-:|:-:|:-:|\n|![Mercury Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/mercury.jpg)|![Neptune Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/neptune.jpg)|![Saturn Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/saturn.jpg)|\n\n|Sun Texture|Uranus Texture|Venus Texture|\n|:-:|:-:|:-:|\n|![Sun Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/sun.jpg)|![Uranus Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/uranus.jpg)|![Venus Texture](https://raw.githubusercontent.com/ErnaneJ/solar-system-opengl/main/assets/textures/venus.jpg)|\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fsolar-system-opengl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernanej%2Fsolar-system-opengl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fsolar-system-opengl/lists"}