{"id":22729414,"url":"https://github.com/spicycactuar/raytracingoneweekend","last_synced_at":"2025-10-14T17:10:00.642Z","repository":{"id":81306839,"uuid":"492627118","full_name":"SpicyCactuar/RayTracingOneWeekend","owner":"SpicyCactuar","description":"My take on the Ray Tracing in One Weekend book.","archived":false,"fork":false,"pushed_at":"2025-02-20T22:45:33.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T00:44:22.274Z","etag":null,"topics":["computer-graphics","cpu-raytracing","learning-by-doing"],"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/SpicyCactuar.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}},"created_at":"2022-05-15T23:24:58.000Z","updated_at":"2025-02-20T22:45:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9a61302-0c75-47cf-aa43-0fe163bcb79c","html_url":"https://github.com/SpicyCactuar/RayTracingOneWeekend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpicyCactuar/RayTracingOneWeekend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpicyCactuar%2FRayTracingOneWeekend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpicyCactuar%2FRayTracingOneWeekend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpicyCactuar%2FRayTracingOneWeekend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpicyCactuar%2FRayTracingOneWeekend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpicyCactuar","download_url":"https://codeload.github.com/SpicyCactuar/RayTracingOneWeekend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpicyCactuar%2FRayTracingOneWeekend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020085,"owners_count":26086805,"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":["computer-graphics","cpu-raytracing","learning-by-doing"],"created_at":"2024-12-10T18:09:52.312Z","updated_at":"2025-10-14T17:10:00.605Z","avatar_url":"https://github.com/SpicyCactuar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ray Tracing in One Weekend\n\n![Scene](https://user-images.githubusercontent.com/7926479/168508033-9fb740a9-8378-45ac-bf70-bc60b168addf.png)\n\nImplementation of the [Ray Tracing in One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html) exercise. This codebase includes some naming and convention differences compared to the textbook implementation. The overall structure remains almost untouched therefore readers of the book should be able to navigate it with ease.\n\nDifferent results can be achieved by tweaking the scene in `main.cpp`.\n\n# Building \u0026 Running\n\nThe project uses [CMake](https://cmake.org/), set to C++17, as its build system. The structure is [CLion](https://www.jetbrains.com/clion/) based, however its usage is not mandatory.\n\nThe following instructions assume CMake is already installed. The commands are meant for a Unix based OS, nevertheless they should run on Windows with the appropiate tweaks.\n\nRunning the following command will create a `$PATH_TO_PROJECT/cmake-build-release` folder:\n\n`$PATH_TO_CMAKE -DCMAKE_BUILD_TYPE=Release -G \"CodeBlocks - Unix Makefiles\" $PATH_TO_PROJECT`\n\nTo then build build the release flavor:\n\n`$PATH_TO_CMAKE --build $PATH_TO_PROJECT/cmake-build-release --target RayTracingOneWeekend`\n\nThis will create a `cmake-build-release/RayTracingOneWeekend` executable. Finally, render the ray traced scene to an example `~/Desktop/image.ppm` file:\n\n`$PATH_TO_PROJECT/cmake-build-release/RayTracingOneWeekend \u003e ~/Desktop/image.ppm`\n\nUsers of CLion can simply compile using its tools. Do note that prior to compiling users should create a **Release** profile as the IDE only provides a default **Debug** one. Alternatively, the embedded version of CMake can be referenced by pointing the command to `$PATH_TO_CLION/bin/cmake/$OS/bin/cmake`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspicycactuar%2Fraytracingoneweekend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspicycactuar%2Fraytracingoneweekend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspicycactuar%2Fraytracingoneweekend/lists"}