{"id":19867312,"url":"https://github.com/huzecong/renderer","last_synced_at":"2026-02-08T22:31:12.064Z","repository":{"id":42403559,"uuid":"61954287","full_name":"huzecong/renderer","owner":"huzecong","description":"Naïve renderer","archived":false,"fork":false,"pushed_at":"2016-07-07T08:13:15.000Z","size":17807,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T22:25:45.433Z","etag":null,"topics":["cpp","path-tracing","renderer"],"latest_commit_sha":null,"homepage":null,"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/huzecong.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":"2016-06-25T17:33:44.000Z","updated_at":"2020-03-24T18:07:39.000Z","dependencies_parsed_at":"2022-09-24T03:42:08.639Z","dependency_job_id":null,"html_url":"https://github.com/huzecong/renderer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/huzecong/renderer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huzecong%2Frenderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huzecong%2Frenderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huzecong%2Frenderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huzecong%2Frenderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huzecong","download_url":"https://codeload.github.com/huzecong/renderer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huzecong%2Frenderer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29247483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:42:34.334Z","status":"ssl_error","status_checked_at":"2026-02-08T21:41:38.468Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpp","path-tracing","renderer"],"created_at":"2024-11-12T15:29:00.646Z","updated_at":"2026-02-08T22:31:12.047Z","avatar_url":"https://github.com/huzecong.png","language":"C++","readme":"# Naïve Renderer\n\nThis repo contains a naïve renderer that failed in the attempt to be photo-realistic. It is the final project for the Computer Graphics course.\n\nFeatures implemented (listed in order of decreasing difficulty):\n\n- Monte-Carlo-based path tracing\n- Reflection, refraction, and diffusion\n- Spherical texture mapping\n- Image-based lighting (with strange artefacts)\n- Anti-aliasing and depth-of-field\n\nThe following are some carefully-chosen above-average pictures rendered by this renderer:\n\n- Cornell box with mirror, glass, and textured glossy spheres:\n\n  \u003cimg src=\"./rendered_images/cornell_bright.png\" width=\"500\" /\u003e\n\n- Cornell box with mirror, glass, and metallic spheres:\n\n  \u003cimg src=\"./rendered_images/cornell_metallic.png\" width=\"500\" /\u003e\n\n- Cornell box demonstrating depth-of-field effect:\n\n  \u003cimg src=\"./rendered_images/depth_of_field.png\" width=\"500\" /\u003e\n\n- Environment lighting using image-based lighting (with obvious artefacts) that took the least rendering time but looked the most impressive:\n\n  \u003cimg src=\"./rendered_images/environment_light.png\" width=\"500\" /\u003e\n\n#### References:\n\n- Daniel Ritchie, Lita Cho. The Monte Carlo Project - A Path Tracer. http://web.stanford.edu/~dritchie/path/index.html.\n- Scratchpixel. Introduction to Shading: Reflection, Refraction (Transmission) and Fresnel. http://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-shading/reflection-refraction-fresnel.\n- Scratchpixel. The Phong Model, Introduction to the Concepts of Shader, Reflection Models and BRDF. http://www.scratchapixel.com/lessons/3d-basic-rendering/phong-shader-BRDF.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuzecong%2Frenderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuzecong%2Frenderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuzecong%2Frenderer/lists"}