{"id":17336491,"url":"https://github.com/knio/smallptgpu","last_synced_at":"2025-04-14T18:40:39.348Z","repository":{"id":776075,"uuid":"463461","full_name":"Knio/SmallptGPU","owner":"Knio","description":null,"archived":false,"fork":false,"pushed_at":"2010-01-08T07:19:32.000Z","size":256,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:04:11.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://davibu.interfree.it/opencl/smallptgpu/smallptGPU.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Knio.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-01-08T07:18:27.000Z","updated_at":"2024-10-11T14:45:40.000Z","dependencies_parsed_at":"2022-07-15T03:17:05.275Z","dependency_job_id":null,"html_url":"https://github.com/Knio/SmallptGPU","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/Knio%2FSmallptGPU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2FSmallptGPU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2FSmallptGPU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2FSmallptGPU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Knio","download_url":"https://codeload.github.com/Knio/SmallptGPU/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248938098,"owners_count":21186340,"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-15T15:30:37.171Z","updated_at":"2025-04-14T18:40:39.321Z","avatar_url":"https://github.com/Knio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"SmallptCPU vs. SmallptGPU\n=========================\n\nSmallptGPU is a small and simple demo written in OpenCL in order to test the\nperformance of this new standard. It is based on Kevin Beason's Smallpt available\nat http://www.kevinbeason.com/smallpt/\nSmallptGPU has been written using the ATI OpenCL SDK 2.0 on Linux but it\nshould work on any platform/implementation.\n\nglut32.dll has been downloaded from Nate Robins's http://www.xmission.com/~nate/glut.html\n\n\nHow to compile\n==============\n\nRequires Visual Studio 2008\n\nInstall the \"NVIDIA GPU Computing SDK\" to its standard location. (If you install it \nsomewhere else, edit the linker and include dirs in the project file)\n\nTo compile the GPU version, add the smallptCPU.c file to the project, and remove the \nGPU version.\n\n\nKey bindings\n============\n\n'p' - save image.ppm\nESC - exit\nArrow keys - rotate camera left/right/up/down\n'a' and 'd' - move camera left and right\n'w' and 's' - move camera forward and backward\n'r' and 'f' - move camera up and down\nPageUp and PageDown - move camera target up and down\n' ' - refresh the window\n'l' - enable/disable indirect diffuse path (available only\non CPU version because a bug of ATI's compiler)\n'+' and '-' - to select next/previous object\n'2', '3', '4', '5', '6', '8', '9' - to move selected object\n\nHistory\n=======\n\nV1.5 - Thanks to discussion at http://forum.beyond3d.com/showthread.php?t=55913\nthe perfomances on NVIDA GPUs have been improved. They are not yet where they should\nbe but are lot better now.\n\nV1.4 - Updated for ATI SDK 2.0, fixed a problem in object selection\n\nV1.3 - Jens's patch for MacOS, added on-screen help, fixed performance\nestimation, removed movie recording, added on-screen help, added Windows binaries\n\nV1.2 - Indirect diffuse path can be now disabled/enabled (available only\non CPU version because a bug of ATI's compiler), optimized buffers\nreallocation, added keys to select/move objects\n\nV1.1 - Fixed few portability problems, added support to save movie, fixed a\nproblem in window resize code\n\nV1.0 - First release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknio%2Fsmallptgpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknio%2Fsmallptgpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknio%2Fsmallptgpu/lists"}