{"id":15564474,"url":"https://github.com/hhhizzz/ray_tracing_one_week","last_synced_at":"2025-03-29T05:13:54.267Z","repository":{"id":40202514,"uuid":"489614664","full_name":"hhhizzz/ray_tracing_one_week","owner":"hhhizzz","description":"A C++ project for learning ray tracing","archived":false,"fork":false,"pushed_at":"2022-11-29T15:35:58.000Z","size":1929,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T14:49:20.820Z","etag":null,"topics":["raytracing-render"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hhhizzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-07T08:24:21.000Z","updated_at":"2022-09-01T05:37:44.000Z","dependencies_parsed_at":"2022-07-17T22:00:29.083Z","dependency_job_id":null,"html_url":"https://github.com/hhhizzz/ray_tracing_one_week","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhhizzz%2Fray_tracing_one_week","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhhizzz%2Fray_tracing_one_week/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhhizzz%2Fray_tracing_one_week/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhhizzz%2Fray_tracing_one_week/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhhizzz","download_url":"https://codeload.github.com/hhhizzz/ray_tracing_one_week/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140594,"owners_count":20729802,"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":["raytracing-render"],"created_at":"2024-10-02T16:41:00.169Z","updated_at":"2025-03-29T05:13:54.246Z","avatar_url":"https://github.com/hhhizzz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ray tracing one week\n\nA C++ project for learning ray tracing\n\nMost code comes from [Ray Tracing in One Weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html)\n\nStrictly follow the [Google C++ style guide](https://google.github.io/styleguide/cppguide.html)\n\n## First week\n\n![](./doc/OneWeek.jpg)\n\n## The next week\n\n![](./doc/TheNextWeek.jpg)\n\n## Build\n\n```bash\n# Download the dependency for reading Jpeg file\ngit submodule update --init --recursive\n# Using cmake to build\nmkdir build\ncd build\ncmake ..\nmake\n```\n\n## Run\n\n```bash\n# Render the Random scene\n./ray_tracing\n\n# Render other scenes, you can find all the available scenes in the main.cpp\nSCENE=Earth ./ray_tracing\n\n# Modify the SPP to accelerate the processing\nSPP=100 ./ray_tracing\n```\n\n## Available scenes\n\n- Random\n- Random with Time\n- Checker Texture\n- Two Spheres\n- Two Perlin Spheres\n- Earth\n- Simple Light\n- Cornell Box\n- Cornell Smoke\n- The Next Week\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhhizzz%2Fray_tracing_one_week","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhhizzz%2Fray_tracing_one_week","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhhizzz%2Fray_tracing_one_week/lists"}