{"id":16735662,"url":"https://github.com/jtdaugherty/t2","last_synced_at":"2025-03-15T21:10:58.502Z","repository":{"id":66262489,"uuid":"50554883","full_name":"jtdaugherty/t2","owner":"jtdaugherty","description":"An interactive ray tracer powered by OpenCL","archived":false,"fork":false,"pushed_at":"2016-09-07T18:48:12.000Z","size":208,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-22T10:12:38.083Z","etag":null,"topics":["c","opencl","raytracer"],"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/jtdaugherty.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-28T04:21:17.000Z","updated_at":"2019-02-27T03:19:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1aed73ee-bc73-4fda-8cf5-0c284c7573d1","html_url":"https://github.com/jtdaugherty/t2","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/jtdaugherty%2Ft2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtdaugherty%2Ft2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtdaugherty%2Ft2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtdaugherty%2Ft2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtdaugherty","download_url":"https://codeload.github.com/jtdaugherty/t2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["c","opencl","raytracer"],"created_at":"2024-10-13T00:06:48.791Z","updated_at":"2025-03-15T21:10:58.479Z","avatar_url":"https://github.com/jtdaugherty.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nt2\n--\n\n`t2` is an interactive ray tracer. It is written in C and OpenCL C and\nruns on OpenCL-compatible devices.\n\nFeatures:\n* Progressive rendering with keyboard and mouse input for camera\n  navigation\n* Thin lens camera with depth of field (see lens radius setting)\n* Monte Carlo rendering (see sample root setting)\n\nBuilding\n--------\n\nRight now `t2` only builds on OS X. To install dependencies and build:\n```\n$ brew install homebrew/versions/glfw3\n$ brew install glew\n$ brew install freetype\n$ make\n```\n\nRunning\n-------\n\nRun with defaults:\n```\n$ ./t2\n```\nor get help to learn about settings to change:\n```\n$ ./t2 -h\n```\n\nKeyboard Controls\n-----------------\n\n* `Esc`, `q` - Quit\n* `a` - Move left (strafe)\n* `d` - Move right (strafe)\n* `w` - Move forward\n* `s` - Move backward\n* `-`/`+` - Decrease/increase trace depth\n* `r`/`R` - Decrease/increase lens radius\n* `o` - Toggle overlay display\n* `t`/`T` - Decrease/increase sample root\n* `Space` - Pause/resume progressive sampling (useful when batch sizes\n  result in jerky movement)\n\nMouse Controls\n--------------\n\n* Hold left mouse button and move: change camera viewing direction\n  (left-right only)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtdaugherty%2Ft2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtdaugherty%2Ft2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtdaugherty%2Ft2/lists"}