{"id":31974474,"url":"https://github.com/open-source-chandigarh/pyre","last_synced_at":"2025-10-14T20:17:12.434Z","repository":{"id":317142905,"uuid":"1065838766","full_name":"Open-Source-Chandigarh/pyre","owner":"Open-Source-Chandigarh","description":"Just Another Graphics Engine","archived":false,"fork":false,"pushed_at":"2025-10-06T21:06:15.000Z","size":2744,"stargazers_count":3,"open_issues_count":5,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T23:18:05.412Z","etag":null,"topics":["cpp","hacktoberfest","hacktoberfest2025","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/Open-Source-Chandigarh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.MD","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-28T14:29:36.000Z","updated_at":"2025-10-06T21:07:02.000Z","dependencies_parsed_at":"2025-10-06T23:10:29.474Z","dependency_job_id":null,"html_url":"https://github.com/Open-Source-Chandigarh/pyre","commit_stats":null,"previous_names":["open-source-chandigarh/pyre"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Open-Source-Chandigarh/pyre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-Source-Chandigarh%2Fpyre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-Source-Chandigarh%2Fpyre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-Source-Chandigarh%2Fpyre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-Source-Chandigarh%2Fpyre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Open-Source-Chandigarh","download_url":"https://codeload.github.com/Open-Source-Chandigarh/pyre/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Open-Source-Chandigarh%2Fpyre/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":["cpp","hacktoberfest","hacktoberfest2025","opengl"],"created_at":"2025-10-14T20:17:10.080Z","updated_at":"2025-10-14T20:17:12.428Z","avatar_url":"https://github.com/Open-Source-Chandigarh.png","language":"C++","readme":"# Pyre – Just Another Graphics Engine\n\n**Pyre** is a lightweight graphics engine built with **OpenGL, GLFW, GLAD, GLM, and Assimp**, inspired by the concepts and techniques taught in the [LearnOpenGL](https://learnopengl.com/) book.\nIt aims to provide a clear, modular, and educational implementation of modern rendering techniques, making it a great project for learning and experimenting with real-time graphics.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"resources/textures/icon.png\" alt=\"Pyre Logo\" width=\"200\"/\u003e\n\u003c/div\u003e\n\n---\n\n## ✨ Features\n\n* **Core Rendering**: Modern OpenGL pipeline with GLFW for window/input, GLAD for loading, and GLM for math.\n* **Lighting System**: Fully functional **Phong lighting model** with **directional, point, and spotlights**.\n* **Texture Mapping**: Supports **diffuse** and **specular maps** for realistic materials.\n* **Model Loading**: Integrated **Assimp** support for loading external 3D models (OBJ, FBX, etc.).\n* **Primitives**: Built-in generation of cubes, spheres, planes, and more through a geometry factory.\n* **Sandbox Demo Scene**: Walk freely using **WASD**, look around with the **mouse**, toggle **wireframe mode (F)**, **reset camera (R)**, and **switch scenes (arrow keys)**.\n* **Scene System**: Modular architecture allowing multiple demos/scenes to be easily loaded and extended.\n* **Educational Focus**: Developed step-by-step alongside LearnOpenGL concepts for clarity and understanding.\n\n\u003e 🕐 **Note:** When you first run Pyre, the screen may remain black for a few seconds (5–10s) while assets and shaders load — this is normal.\n\n---\n\n## 📂 Folder Structure\n\n```\nPyre/\n├── includes/                 # Header files and third-party includes\n├── libs/                     # External libraries (GLFW, GLAD, Assimp, etc.)\n├── resources/                # Assets used by the engine\n│   ├── models/               # 3D model files (e.g., backpack.obj)\n│   ├── textures/             # Diffuse/specular/normal maps and icons\n│   └── shaders/              # GLSL shader files\n│       ├── modularFragmentShader.fs\n│       └── modularVertexShader.vs\n├── src/                      # Core source code\n│   ├── core/\n│   │   ├── rendering/\n│   │   │   ├── geometry/     # Procedural geometry generators\n│   │   │   │   └── GeometryFactory.cpp\n│   │   │   ├── Mesh.cpp\n│   │   │   ├── Model.cpp\n│   │   │   └── Renderer.cpp\n│   │   ├── Entity.cpp\n│   │   ├── InputManager.cpp\n│   │   ├── LightManager.cpp\n│   │   ├── ResourceManager.cpp\n│   │   └── Window.cpp\n│   ├── helpers/\n│   │   └── shaderClass.cpp   # Shader compilation/loading utilities\n│   ├── Scenes/               # Demo/test scenes\n│   │   ├── backpack.cpp\n│   │   └── factoryScene.cpp\n│   └── main.cpp              # Entry point\n└── Pyre.sln                  # Visual Studio solution file\n```\n\n---\n\n## 🔧 Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/Open-Source-Chandigarh/pyre.git\ncd pyre\n```\n\n---\n\n## 🚀 Usage\n\n1. Open the project in **Visual Studio**.\n2. Double-click the **Pyre.sln** file.\n3. Select **Build \u003e Build Solution** or press `Ctrl + Shift + B`.\n4. Make sure configuration is set to **Debug** or **Release** as needed.\n5. Run **main.cpp**:\n\n   * `F5` → Start debugging\n   * `Ctrl + F5` → Run without debugging\n\nYou’ll start in a **sandbox scene** where you can walk around, toggle rendering modes, and explore the engine.\n\n---\n\n## 🤝 Contributing\n\nContributions, bug reports, and suggestions are welcome!\nIf you’d like to contribute, please read the [CONTRIBUTING.md](https://github.com/Open-Source-Chandigarh/pyre?tab=contributing-ov-file).\n\n---\n\n## 📚 Learning Resource\n\nThis project is being developed alongside the **LearnOpenGL** guide, serving as a practical, code-based implementation of its concepts.\n\n---\n\n## 🙌 Credits\n\n* **LearnOpenGL by Joey de Vries** – Primary educational resource inspiring this engine.\n* **OpenGL, GLFW, GLAD, GLM, Assimp** – Core libraries powering Pyre.\n\n---\n\n## 📄 License\n\nThis project is licensed under the **MIT License** – see the LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-source-chandigarh%2Fpyre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-source-chandigarh%2Fpyre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-source-chandigarh%2Fpyre/lists"}