{"id":28717206,"url":"https://github.com/pwalig/rasterizer","last_synced_at":"2025-09-03T08:15:34.771Z","repository":{"id":297762888,"uuid":"978295128","full_name":"pwalig/rasterizer","owner":"pwalig","description":"Parallel software rasterizer in written C++","archived":false,"fork":false,"pushed_at":"2025-06-29T11:12:07.000Z","size":225,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T12:25:36.588Z","etag":null,"topics":["3d-graphics","c-plus-plus","cplusplus","cpp","multithreading","rasterization","rasterizer","rendering","software-rasterization-renderer","software-rasterizer"],"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/pwalig.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,"zenodo":null}},"created_at":"2025-05-05T19:07:26.000Z","updated_at":"2025-06-28T19:16:28.000Z","dependencies_parsed_at":"2025-06-22T09:25:54.339Z","dependency_job_id":"f4e08309-31c0-4b26-91e2-1bd25d576a65","html_url":"https://github.com/pwalig/rasterizer","commit_stats":null,"previous_names":["pwalig/rasterizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pwalig/rasterizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwalig%2Frasterizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwalig%2Frasterizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwalig%2Frasterizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwalig%2Frasterizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwalig","download_url":"https://codeload.github.com/pwalig/rasterizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwalig%2Frasterizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272289336,"owners_count":24907797,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["3d-graphics","c-plus-plus","cplusplus","cpp","multithreading","rasterization","rasterizer","rendering","software-rasterization-renderer","software-rasterizer"],"created_at":"2025-06-15T03:13:44.484Z","updated_at":"2025-08-27T04:09:59.168Z","avatar_url":"https://github.com/pwalig.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rasterizer\n\nParallel software rasterizer written in C++.\n\n![image](./img/Suzannes-261f3ae.png)\n\n# Performance\n\nAbove scene (~35k triangles) renders in 60fps at 1920 x 1080 resolution on AMD Ryzen 5 3600 CPU.\n\n# Features\n\n* rendering with or without depth buffer\n* drawing with or without index buffer\n* programmable shaders (at compile time with C++ templates)\n* multithreaded (each thread renders one vertical slice of the image)\n* ability to specify viewport dimensions and offset (to render to only part of the image)\n* loading meshes and textures\n* sutherland-hodgman and front triangle clipping\n* configurable alpha blending\n* configurable depth test\n* deffered rendering is possible and accelerated with specialized method for screen quad rendering\n* rendering to screen or texture\n\n# Building\n\n## Clone the repository\n\n```\ngit clone https://github.com/pwalig/rasterizer.git\ncd rasterizer\n```\n\n## Dependencies\n\n### SDL and Rapidjson\n\n```\ngit submodule init\ngit submodule update --depth 1\n```\n\n### STB and GLM\nProject depends on:\n* [glm](https://github.com/g-truc/glm) - for math.\n* [stb](https://github.com/nothings/stb) - for image loading.\n\nDownload both libraries and set envirionment variables `GLM_PATH` and `STB_PATH` to point to downloaded / cloned source code.\n\n## Build\n\n### CMake\n\nProject can be built with [CMake](https://cmake.org).\n\nRun the following.\n\n```\nmkdir build\ncmake -S . -B build\ncmake --build build \n```\n\nto get release build with MSVC on Windows use:\n```\ncmake --build build --config Release\n```\n\n### Visual Studio 2022\n\nProject can be built with [Visual Studio](https://visualstudio.microsoft.com/).\n\nJust open rasterizer.sln and run.\n\nTested only on Visual Studio 2022 other versions might not work.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwalig%2Frasterizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwalig%2Frasterizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwalig%2Frasterizer/lists"}