{"id":16277213,"url":"https://github.com/rbourgeat/scop","last_synced_at":"2026-02-22T11:34:47.304Z","repository":{"id":216327115,"uuid":"740963819","full_name":"rbourgeat/scop","owner":"rbourgeat","description":"Basic GPU rendering with Vulkan (MacOS/Linux)","archived":false,"fork":false,"pushed_at":"2024-04-13T13:44:32.000Z","size":2254,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T09:21:21.436Z","etag":null,"topics":["42born2code","42cursus","42projects","42school","cpp","linux","macos","scope","vulkan"],"latest_commit_sha":null,"homepage":"https://rbourgeat.github.io/scop","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/rbourgeat.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}},"created_at":"2024-01-09T12:37:14.000Z","updated_at":"2024-04-13T12:19:16.000Z","dependencies_parsed_at":"2024-04-11T10:25:03.843Z","dependency_job_id":null,"html_url":"https://github.com/rbourgeat/scop","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.1842105263157895,"last_synced_commit":"639721cc80496bef3d4aa89f5319d93e9eb34c3c"},"previous_names":["rbourgeat/scop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbourgeat%2Fscop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbourgeat%2Fscop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbourgeat%2Fscop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbourgeat%2Fscop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbourgeat","download_url":"https://codeload.github.com/rbourgeat/scop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247160303,"owners_count":20893806,"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":["42born2code","42cursus","42projects","42school","cpp","linux","macos","scope","vulkan"],"created_at":"2024-10-10T18:53:27.317Z","updated_at":"2026-02-22T11:34:47.247Z","avatar_url":"https://github.com/rbourgeat.png","language":"C++","readme":"# scop\n\nBasic 3D model viewer made with Vulkan, C++ and GLFW.\n\n![tifa.obj](http://i.ibb.co/s5bTjC1/Screenshot-from-2024-04-13-15-20-04.png)\n\n![teapot.obj](http://i.ibb.co/L6svR8M/Screenshot-from-2024-04-13-15-20-31.png)\n\n## Pre-requisites\n\nInstall Vulkan from [source](https://vulkan.lunarg.com/).\n\nLinux:\n\n```bash\nsudo apt-get install -y libglfw3 libglfw3-dev libxxf86vm-dev libxi-dev\n# For debug:\nsudo apt-get install -y libvulkan-dev vulkan-validationlayers\n```\n\nMacos:\n\n```bash\nbrew install glfw\n\nexport DYLD_LIBRARY_PATH=/Users/$USER/VulkanSDK/$(ls -1 \"/Users/$USER/VulkanSDK\" | sort -V | tail -n 1)/macOS/lib/:$DYLD_LIBRARY_PATH\n```\n\n## Build\n\nNormal:\n\n- Using make \n```bash\nmake\n```\n- Using cmake\n```bash\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=\u003cDebug|Release\u003e .. # use Debug to enable debug mode\n\n# Use your generator (most likely, ninja or make)\n# if make:\nmake\n# if ninja:\nninja\n```\n\nRe-build:\n\n```bash\nmake re\n```\n\nBuild in debug mode:\n\n```bash\nmake debug\n```\n\n## Run\n\n```bash\n./scop \"path/to/file.obj\"\n```\n\n## Inputs\n\n- `MOUSE` : rotate 3D object\n\n- `SPACE` : reset object position/rotation + camera\n\n- `R, G, B, D, 0` : color in red, green, blue, dark or black (like the subject)\n\n- `T` : change topology\n\n- `1, 2, 3` : increase X, Y, Z model position\n\n- `SHIFT` + `1, 2, 3` : decrease X, Y, Z model position\n\n- `4, 5, 6` : increase X, Y, Z model rotation\n\n- `SHIFT` + `4, 5, 6` : decrease X, Y, Z model rotation\n\n- `M` : toggles usage of a texture with a little transition\n\n- `N` : reset color\n\n## Sources\n\n- https://vulkan-tutorial.com\n\n## ToDo List\n\n- [ ] Add more material parameters\n\n- [ ] Comput shader\n\n- [ ] Refacto `VulkanApp.hpp`\n\n- [ ] https://developer.nvidia.com/vulkan-memory-management\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbourgeat%2Fscop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbourgeat%2Fscop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbourgeat%2Fscop/lists"}