{"id":19681081,"url":"https://github.com/potato3d/grid-rt","last_synced_at":"2026-04-15T11:34:47.949Z","repository":{"id":152464583,"uuid":"338577026","full_name":"potato3d/grid-rt","owner":"potato3d","description":"GPU-accelerated ray tracing using GLSL and CUDA","archived":false,"fork":false,"pushed_at":"2021-02-13T13:20:16.000Z","size":231,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T11:29:47.666Z","etag":null,"topics":["cuda","glsl","gpu","ray-tracing","real-time-rendering"],"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/potato3d.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":"2021-02-13T13:08:35.000Z","updated_at":"2025-03-16T05:20:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"db0860cb-e8c6-45c6-b658-0a010a5d1f92","html_url":"https://github.com/potato3d/grid-rt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/potato3d/grid-rt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potato3d%2Fgrid-rt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potato3d%2Fgrid-rt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potato3d%2Fgrid-rt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potato3d%2Fgrid-rt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potato3d","download_url":"https://codeload.github.com/potato3d/grid-rt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potato3d%2Fgrid-rt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31839641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T11:29:19.690Z","status":"ssl_error","status_checked_at":"2026-04-15T11:29:19.171Z","response_time":63,"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":["cuda","glsl","gpu","ray-tracing","real-time-rendering"],"created_at":"2024-11-11T18:06:53.642Z","updated_at":"2026-04-15T11:34:47.912Z","avatar_url":"https://github.com/potato3d.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grid-rt\nGPU-accelerated ray tracing using GLSL and CUDA\n\nSource code for the article [GPU-Accelerated Uniform Grid Construction for Ray Tracing](http://www.dbd.puc-rio.br/depto_informatica/09_14_ivson.pdf)\n\nThis repository implements the Qt ray-tracing application that uses the library from the [grid](https://github.com/potato3d/grid) repository.\n\n# Description\n\nWe trace one ray per GPU thread through a uniform grid spatial acceleration structure using a 3D-DDA algorithm. We have two implementations for the ray tracing: GLSL-based and CUDA-based. At the time, the GLSL implementation was about 30% faster. Please check the companion project [grid](https://github.com/potato3d/grid) for the implementation of the GPU-based uniform grid construction.\n\nThe GLSL ray tracing implementation is in include/rtgl and src/rtgl directories.\n\nThe CUDA ray tracing implementation is in include/rtc and src/rtcuda directories.\n\nThis project also includes CPU-based ray tracing routines in include/rt, include/rtp, src/rtcore and src/rtplugins directories. Also includes CPU-based optimized kd-tree construction and traversal routines.\n\nPlease check the paper reference above for more implementation details.\n\n# Examples\n\nThese are some images generated with our algorithm for benchmark animated scenes:\n\n![scenes](https://github.com/potato3d/grid/blob/main/imgs/scenes.png \"Animated scenes\")\n\nThese are the results in performance, compared to state of the art:\n\n![speed](https://github.com/potato3d/grid/blob/main/imgs/speed.png \"Performance results\")\n\n# Build\n\nVisual Studio project files available in visualstudio directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato3d%2Fgrid-rt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotato3d%2Fgrid-rt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotato3d%2Fgrid-rt/lists"}