{"id":24989718,"url":"https://github.com/hlustikp/raytracing-example","last_synced_at":"2025-10-26T16:36:58.024Z","repository":{"id":207441037,"uuid":"718724265","full_name":"HlustikP/raytracing-example","owner":"HlustikP","description":"Example for a 0 lib c++ implementation of raytracing","archived":false,"fork":false,"pushed_at":"2023-11-15T19:47:43.000Z","size":411,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T13:03:14.311Z","etag":null,"topics":["cpp","cpp23","raytracing"],"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/HlustikP.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}},"created_at":"2023-11-14T17:09:40.000Z","updated_at":"2023-11-15T19:13:45.000Z","dependencies_parsed_at":"2023-11-15T20:48:50.984Z","dependency_job_id":null,"html_url":"https://github.com/HlustikP/raytracing-example","commit_stats":null,"previous_names":["hlustikp/raytracing-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HlustikP%2Fraytracing-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HlustikP%2Fraytracing-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HlustikP%2Fraytracing-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HlustikP%2Fraytracing-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HlustikP","download_url":"https://codeload.github.com/HlustikP/raytracing-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246180923,"owners_count":20736460,"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":["cpp","cpp23","raytracing"],"created_at":"2025-02-04T13:03:19.059Z","updated_at":"2025-10-26T16:36:57.936Z","avatar_url":"https://github.com/HlustikP.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++23 Raytracing Example\n\nThis is a simple raytracing example based on the book [Ray Tracing in One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html) by Peter Shirley et al.\n\nIt uses modern c++ features from the 17, 20 and 23 standards\nsuch as `std::optional`, `Class template argument deduction (CTAD)`\n`std::expected` and more.\n\n## Prerequisites\n\n- Cmake 3.26 or higher\n- Ninja build system\n- C++23 compatible compiler (`msvc 19.36+` or `gcc 13+`)\n\nRefer to the [C++23 status page](https://en.cppreference.com/w/cpp/compiler_support#C.2B.2B23_features)\nfor a list of compilers that support C++23.\n\n## Build\n\n### Generate build files\nWindows:\n```bash\ncmake --preset win-x64-release\n```\n\nLinux:\n```bash\ncmake --preset linux-x64-release\n```\n\nFor a list of all available presets run:\n```bash\ncmake --list-presets\n```\n\n### Compile and link\n```bash\ncd ./bin/(win-x64-release|linux-x64-release)\nninja\n```\n\n### Run\n```bash\n./raytracing(.exe)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlustikp%2Fraytracing-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhlustikp%2Fraytracing-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlustikp%2Fraytracing-example/lists"}