{"id":17933651,"url":"https://github.com/keyan/raytracer","last_synced_at":"2025-04-03T11:24:08.855Z","repository":{"id":87742752,"uuid":"158261356","full_name":"keyan/raytracer","owner":"keyan","description":"3D scene path tracer","archived":false,"fork":false,"pushed_at":"2018-11-21T20:51:30.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T00:42:51.775Z","etag":null,"topics":[],"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/keyan.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":"2018-11-19T17:00:49.000Z","updated_at":"2019-12-26T15:20:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff65648b-d2eb-4301-8fbf-ea59fa8ace7d","html_url":"https://github.com/keyan/raytracer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fraytracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fraytracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fraytracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyan%2Fraytracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keyan","download_url":"https://codeload.github.com/keyan/raytracer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246990529,"owners_count":20865488,"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":[],"created_at":"2024-10-28T21:41:03.867Z","updated_at":"2025-04-03T11:24:08.824Z","avatar_url":"https://github.com/keyan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# raytracer\n\nRay tracer, supports rendering diffuse and reflective spheres.\n\n![Example output](https://user-images.githubusercontent.com/6401746/48807144-7e889380-ecd1-11e8-9e2c-18eec89b3412.jpg)\n\n## Overview\n\nImplemented through following [Peter Shirley's great book](https://www.amazon.com/dp/B01B5AODD8). It is now free online too, but I'm linking to the ebook because it is a great resource and you should support him if you can.\n\nThat book is helpful, but to really understand the methods being used additional references were required, namely:\n- http://www.scratchapixel.com, specifically their [ray tracing introduction](http://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-ray-tracing)\n- Andrew Kensler's famous [business card ray tracer analysis](http://eastfarthing.com/blog/2016-01-12-card/)\n- And Fabien Sanglard's [analysis of the same code](http://fabiensanglard.net/rayTracing_back_of_business_card/)\n- Occasional cross referencing with [Fundamentals of Computer Graphics](https://www.amazon.com/Fundamentals-Computer-Graphics-Peter-Shirley/dp/1568814690), also by Peter Shirley\n\nThere is a tendency in graphics code to use lots of magic numbers, single character variable names, and assume understanding of some geometric calculations, so I tried to add lots of comments to explain those sorts of cases.\n\n## Usage\n\nRequires C++11 compatible compiler, running: `make` will generate the example image in this README.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyan%2Fraytracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyan%2Fraytracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyan%2Fraytracer/lists"}