{"id":31974449,"url":"https://github.com/jacksery/grotto","last_synced_at":"2026-05-17T06:38:05.985Z","repository":{"id":316597404,"uuid":"1064042672","full_name":"Jacksery/Grotto","owner":"Jacksery","description":"A simple OpenGL 3D engine built with C++ and GLFW.","archived":false,"fork":false,"pushed_at":"2025-10-03T10:38:43.000Z","size":1083,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T12:16:39.962Z","etag":null,"topics":["cmake","cpp","opengl"],"latest_commit_sha":null,"homepage":"","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/Jacksery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-25T13:12:07.000Z","updated_at":"2025-10-03T10:38:46.000Z","dependencies_parsed_at":"2025-09-25T15:34:06.389Z","dependency_job_id":null,"html_url":"https://github.com/Jacksery/Grotto","commit_stats":null,"previous_names":["jacksery/grotto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jacksery/Grotto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacksery%2FGrotto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacksery%2FGrotto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacksery%2FGrotto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacksery%2FGrotto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jacksery","download_url":"https://codeload.github.com/Jacksery/Grotto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacksery%2FGrotto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021014,"owners_count":26086947,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cmake","cpp","opengl"],"created_at":"2025-10-14T20:16:58.701Z","updated_at":"2025-10-14T20:17:01.045Z","avatar_url":"https://github.com/Jacksery.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grotto 3D Engine\nA simple OpenGL 3D engine built with C++ and GLFW, implementing an Entity Component System (ECS) architecture.\n\n## Architecture Overview\n### Key Systems\n\n- **Motion System**: Handles physics simulation and entity movement\n- **Camera System**: Manages first-person camera controls with mouse look and WASD movement  \n- **Render System**: Performs OpenGL rendering with model-view-projection transformations\n\n### Components\n\n- **Transform Component**: Position and rotation in 3D space\n- **Render Component**: Mesh and material references for rendering\n- **Physics Component**: Velocity vectors for linear and angular motion\n- **Camera Component**: Camera orientation vectors (right, up, forwards)\n\n## Dependencies\n\n- [**STB Image integration**](https://github.com/nothings/stb) for texture loading\n- [**GLM mathematics library**](https://github.com/g-truc/glm) for 3D transformations\n- [**GLAD OpenGL loader**](https://github.com/Dav1dde/glad) for OpenGL function loading\n- [**GLFW**](https://www.glfw.org/) for window and input management\n\n## Prerequisites\n- CMake ≥ 3.10\n- A C++ compiler (tested with G++ 15 and Clang++ 21)\n- GLFW library (3.4 tested)\n- OpenGL ≥ 3.3\n\n## Project Structure\n\n```\n.\n├── CMakeLists.txt\n├── CMakePresets.json\n├── LICENSE.md\n├── README.md\n├── res                         # Resources that get copied to build directory (needed at runtime)\n│   ├── shaders\n│   │   ├── fragment.txt\n│   │   └── vertex.txt\n│   └── textures\n│       ├── brick.jpg\n│       └── mask.jpg\n└── src\n    ├── config.cpp              # Frequently used headers\n    ├── controller              # Main application implementation\n    │   ├── app.cpp\n    │   └── app.h\n    ├── glad.c                  # GLAD opengl bindings\n    ├── main.cpp                # Main entry point for execution\n    ├── resources               # Handles runtime assets\n    │   └── resourceManager.cpp \n    ├── systems                 # Systems to handle ECS management\n    │   ├── cameraSystem.cpp\n    │   ├── motionSystem.cpp\n    │   └── renderSystem.cpp\n    └── view                    # Functions related to making shader program\n        └── shader.cpp\n```\n\n## Building the Project\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/Jacksery/Grotto\n    cd Grotto\n    ```\n2. Create a build directory and navigate into it:\n    ```bash\n    mkdir build\n    cd build\n    ```\n3. Run CMake to configure the project:\n    ```bash\n    cmake ..\n    ```\n4. Build the project:\n    ```bash\n    cmake --build .\n    ```\n5. Run the executable:\n    ```bash\n    ./OpenGL\n    ```\n\n## Controls\n\n- **WASD**: Move camera forward/back/left/right\n- **Mouse**: Look around (first-person view)\n- **Shift**: Toggle mouse lock\n- **ESC**: Exit application\n\n## Issues\nIf you encounter any issues, please open an issue on the GitHub repository.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksery%2Fgrotto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacksery%2Fgrotto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacksery%2Fgrotto/lists"}