{"id":17633327,"url":"https://github.com/cgmb/ray","last_synced_at":"2025-03-30T03:34:00.457Z","repository":{"id":15432309,"uuid":"18164882","full_name":"cgmb/ray","owner":"cgmb","description":"A simple raytracer. YAML goes in, PNG comes out.","archived":false,"fork":false,"pushed_at":"2017-06-14T22:53:54.000Z","size":949,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T05:45:28.332Z","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/cgmb.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}},"created_at":"2014-03-27T04:58:33.000Z","updated_at":"2017-06-14T22:53:56.000Z","dependencies_parsed_at":"2022-08-26T05:51:18.219Z","dependency_job_id":null,"html_url":"https://github.com/cgmb/ray","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/cgmb%2Fray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgmb%2Fray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgmb%2Fray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cgmb%2Fray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cgmb","download_url":"https://codeload.github.com/cgmb/ray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273536,"owners_count":20750904,"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-23T01:48:23.513Z","updated_at":"2025-03-30T03:34:00.438Z","avatar_url":"https://github.com/cgmb.png","language":"C++","readme":"# Ray\n A simple raytracer. YAML goes in, PNG comes out.\n\n# Example Output\n![a green and rough metalic sphere floating over a checkerboard, casting two shadows](examples/sphere_checkerboard.png)\n![Boba Fett in front of a funhouse mirror](examples/smooth_mesh.png)\n![a glass sphere in front of a black-and-white patterned sphere and a dark (mirrored) sphere, casting shadows onto a blue square](examples/nonphoto_refract.png)\n\n## Implemented features\n- Object types: spheres, triangle mesh\n- Shadows\n- Reflections (recursive)\n- Refractions (recursive)\n- Input format: (from file, yaml)\n- Output format: (to file, png)\n- Multithreaded rendering\n\n\n## To Build\nThe 3rdparty dependency, libyaml-cpp, must be built seperately. Navigate to\nthe 3rdparty directory and run the build script. It was tested to build\ncorrectly on the lab computers. Hopefully it just works for you. If not, the\nmost likely cause of failure is missing boost headers. If so, installing boost\nshould fix the problem.\n\nWith the 3rdparty libraries built, make will build the main software.\n\n```\ncd 3rdparty;\n./build.sh\ncd ..\nmake\n```\n\n## To Run\nThe 'run' script is used to setup the environment for the main program.\ne.g.\n./run ./ray [options]\n\nFor a list of options, use \"--help\".\n\nMost of the program's function is controlled through the input scene file. The\nscene is specified in the YAML data format, and the format should be easy to\npick up from an example, but a specification is available from \"--help scene\".\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgmb%2Fray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgmb%2Fray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgmb%2Fray/lists"}