{"id":18976730,"url":"https://github.com/palikar/anything","last_synced_at":"2026-04-27T11:31:16.138Z","repository":{"id":93817505,"uuid":"253904737","full_name":"palikar/anything","owner":"palikar","description":"3D game engine written from scratch.","archived":false,"fork":false,"pushed_at":"2020-05-30T12:10:39.000Z","size":65553,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T14:53:46.425Z","etag":null,"topics":["3d-rendering","cpp","cpp17","game-development","game-engine","game-framework","opengl","opengl4"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palikar.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":"2020-04-07T20:29:27.000Z","updated_at":"2020-05-30T12:10:41.000Z","dependencies_parsed_at":"2023-03-13T17:10:00.084Z","dependency_job_id":null,"html_url":"https://github.com/palikar/anything","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/palikar/anything","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palikar%2Fanything","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palikar%2Fanything/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palikar%2Fanything/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palikar%2Fanything/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palikar","download_url":"https://codeload.github.com/palikar/anything/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palikar%2Fanything/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["3d-rendering","cpp","cpp17","game-development","game-engine","game-framework","opengl","opengl4"],"created_at":"2024-11-08T15:26:07.801Z","updated_at":"2026-04-27T11:31:16.115Z","avatar_url":"https://github.com/palikar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anything\n\n![img](./logo.png)\n\n\n## Abstract\n\n\u0026ldquo;Anything\u0026rdquo; is my 3d game engine written from scratch in C++. I\u0026rsquo;ve been interested in game engines for a long time but only recently I got around to developing something serious. \u0026ldquo;Anything\u0026rdquo; is my first big attempt to tackle the topics of 3d rendering, game engine architecture, different rendering techniques and everything that comes with that.\n\n\u0026ldquo;Anything\u0026rdquo; is written with modern C++17 in mind and can compile with gcc (8,9) as well as with clang. the Architecture is loosley based on Yan Chernikov\u0026rsquo;s ([TheCherno](https://www.youtube.com/user/TheChernoProject)) [Hazel](https://github.com/TheCherno/Hazel/) engine. I have to admit I\u0026rsquo;ve taken a lot of inspiration from there and I\u0026rsquo;ve also learned a ton from Cherno\u0026rsquo;s YouTube channel. The majority the thought behind the \u0026ldquo;Anything\u0026rdquo; is, however, mine.\n\nI the past I\u0026rsquo;ve also worked with [ThreeJS](https://threejs.org/). For this reason the API of \u0026ldquo;Anything\u0026rdquo; can resemble the one of ThreeJS at times.\n\nThe rendering API of choice for the project is [OpenGL](https://www.opengl.org/). At some point maybe I\u0026rsquo;ll also implement a [Direct3D](https://en.wikipedia.org/wiki/Direct3D) backend but is a plan for the far future.\n\n**\u0026ldquo;Anything\u0026rdquo; is in no way close to stable or usable state. The project is in active development and it\u0026rsquo;s not even in alpha-version yet.**\n\n\n## Building\n\n\n### Prerequisites\n\n\u0026ldquo;Anything\u0026rdquo; uses several external libraries that have to be installed on the system before the project can be build. Those are:\n\n-   OpenGL - for communication with graphics hardware\n-   [GLFW](https://www.glfw.org/) - for creating the opengl context and creating all the necessary windows(frames) as well as the portable communicator between platforms services for input events and the application\n-   [GLEW](http://glew.sourceforge.net/) - for linking the correct OpenGL functions at run time.\n-   [Assimp](https://github.com/assimp/assimp) - for including various 3d scene formats.\n\nFoe Debian based systems, you can install all of those with:\n\n```sh\nsudo apt-get install libglfw3-dev libglew-dev libgl1-mesa-dev libassimp-dev\n```\n\n\n\nOther than that, you\u0026rsquo;ll also need standard build tools like Make, CMake and C++17 compliant compiler (Gcc, CLang)\n\n\n### Building\n\nThe build process is straight forward for a CMake project\n\n```sh\ngit clone https://github.com/palikar/anything\ncd anything\nmkdir build\ncd build\nccmake ..\nmake -j4 install\n```\n\n\n## Examples\n\n\u0026ldquo;Anything\u0026rdquo; also comes with several example scenes that can be build with:\n\n```sh\ncmake .. -DBUILD_ALL_EXAMPLES=TRUE\nmake -j4 install\n```\n\nThe source files for the examples are in the `examples/` directory. Each source file constructs a single scene by using the \u0026ldquo;Anything\u0026rdquo; engine.\n\n\n\nSome screenshots of the examples:\n\n![img](./screenshots/materials.png)\n\n![img](./screenshots/particles.png)\n\n![img](./screenshots/plane.png)\n\n![img](./screenshots/spheres_lighting.png)\n\n\n## Features so far\n\nI\u0026rsquo;ve put about a month worth of work so far and I\u0026rsquo;ve implemented a lot of the features that I want to implement. A non-exhaustive lists of those is given here.\n\n-   Input System (Input from mouse and keyboard)\n-   Event dispatching system\n-   [Dear ImGui](https://github.com/ocornut/imgui) support\n-   Entity Component System\n-   Basic Animation system\n-   Basic Particle systems\n-   Sky-box rendering\n-   Rendered visual helpers (axis, plane, grid, camera, spot light, point light)\n-   Fog rendering\n-   Lighting (directional, ambient, spot and point-light )\n-   Mouse picking\n-   Instance rendering\n-   Loading OBJ and .blend files\n-   Materials - Phong material, Textured material(unaffected by lighting), Single Color material\n-   Rendering primitives - lines and triangles\n-   Geometry factories - sphere, cube, cylinder, circle, cone, plane, ring and torus\n\n\n## Documentation\n\nComing eventually :)\n\n\n## License\n\nCopyright © 2020 Stanislav Arnaudov.\n\nDistributed under the GNU General Public License, version 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalikar%2Fanything","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalikar%2Fanything","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalikar%2Fanything/lists"}