{"id":15705939,"url":"https://github.com/jonfryd/photontracer","last_synced_at":"2025-03-30T15:45:46.711Z","repository":{"id":46963891,"uuid":"203042715","full_name":"jonfryd/PhotonTracer","owner":"jonfryd","description":"Experimental Global Illumination Renderer","archived":false,"fork":false,"pushed_at":"2022-01-07T09:54:19.000Z","size":367,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T17:24:28.203Z","etag":null,"topics":["computer-graphics","global-illumination","irradiance","photon-mapping","raytracer"],"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/jonfryd.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":"2019-08-18T18:36:47.000Z","updated_at":"2022-07-20T00:50:36.000Z","dependencies_parsed_at":"2022-09-11T15:41:37.251Z","dependency_job_id":null,"html_url":"https://github.com/jonfryd/PhotonTracer","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/jonfryd%2FPhotonTracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfryd%2FPhotonTracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfryd%2FPhotonTracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonfryd%2FPhotonTracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonfryd","download_url":"https://codeload.github.com/jonfryd/PhotonTracer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342824,"owners_count":20761939,"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":["computer-graphics","global-illumination","irradiance","photon-mapping","raytracer"],"created_at":"2024-10-03T20:20:44.293Z","updated_at":"2025-03-30T15:45:46.694Z","avatar_url":"https://github.com/jonfryd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# PhotonTracer: Experimental Global Illumination Renderer\n\nThis is a hobby project in C# that I worked on between 2006 and 2009 derived on Java code I did back in my university days.\n\nIt's basically a classic photon mapping implementation and global illumination renderer done pretty much as\ndescribed in [Henrik Wann Jensen's book](https://www.amazon.com/Realistic-Synthesis-Mapping-Revised-Paperback/dp/B011DC2J3O). The renderer runs in 3 stages:\n\n1. Photon emission\n2. Rendering an approximate solution\n3. Rendering the final, accurate solution\n\nThe implementation does support multiple cores and produces nicely anti-aliased images like the one below. Stuff like texture mapping,\nbump mapping, and caustics rendering are supported, as well. There's also a half-baked attempt to do irradiance caching which was never\ncompleted. Debugging all the edge cases right turned out to be really challenging and I turned my attention to other projects.\n\nThere's no scene input file format or anything fancy like that. Changing the scene requires changing the code.\n\nA final rendering of the classic Cornell box:\n\n\u003cimg src=\"example.jpg\" alt=\"Rendering example\" width=\"512\" height=\"384\"/\u003e\n\nA window shows the absorbed photon locations:\n\n\u003cimg src=\"photon_locations.png\" alt=\"Rendering example\" width=\"513\" height=\"407\"/\u003e\n\n# Building\n\nClone the repository and execute Maven from the root directory:\n\n    $ git clone https://github.com/jonfryd/PhotonTracer\n    $ cd PhotonTracer/\n    $ ./build.sh\n\nThis is for Linux or Mac OS X. For Windows run .bat-file:\n\n    $ build.bat\n\n# Usage\n\nAfter building, run ```Photontracer.exe``` on Mac OS X using Mono (64-bit is not yet supported):\n\n    $ mono32 Photontracer.exe\n\nIn Linux using Mono:\n\n    $ mono Photontracer.exe\n\nWindows users are able to run the .exe directly, of course.\n\nAfter the program finishes all its number crunching, a JPEG image called ```photontraced.jpg``` is produced.\nCheers!\n\n# Author\n\nThis application created by Jon Frydensbjerg - email: jonf@elixlogic.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonfryd%2Fphotontracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonfryd%2Fphotontracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonfryd%2Fphotontracer/lists"}