{"id":48948032,"url":"https://github.com/briiqn/obj2schem","last_synced_at":"2026-04-17T18:01:23.348Z","repository":{"id":324142473,"uuid":"1096142301","full_name":"Briiqn/obj2schem","owner":"Briiqn","description":"A CUDA enabled .obj model to schematic (Sponge V3) converter","archived":false,"fork":false,"pushed_at":"2025-11-14T02:59:14.000Z","size":12857,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-14T04:11:16.996Z","etag":null,"topics":["cuda","minecraft","schematics","wavefront-obj","worldedit"],"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/Briiqn.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-14T02:01:19.000Z","updated_at":"2025-11-14T03:20:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Briiqn/obj2schem","commit_stats":null,"previous_names":["briiqn/obj2schem"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Briiqn/obj2schem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Briiqn%2Fobj2schem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Briiqn%2Fobj2schem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Briiqn%2Fobj2schem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Briiqn%2Fobj2schem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Briiqn","download_url":"https://codeload.github.com/Briiqn/obj2schem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Briiqn%2Fobj2schem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31939788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","minecraft","schematics","wavefront-obj","worldedit"],"created_at":"2026-04-17T18:01:20.068Z","updated_at":"2026-04-17T18:01:23.325Z","avatar_url":"https://github.com/Briiqn.png","language":"C++","readme":"# obj2schem\nConvert .obj models to Minecraft schematics using CUDA acceleration. Outputs a Sponge V3 format schematic.\n\n## How it Works\nLoads your .obj and material files, then rasterizes the mesh into a voxel grid on the GPU. Each voxel samples the model's texture and gets matched to the closest Minecraft block by average color. The result gets written as a .schem file that you can import into WorldEdit.\n\n## Screenshots\n| Car | Teapot | Ibuki |\n| :---: |:---:|:---:|\n| ![Red sports car in Minecraft blocks](screenshots/car.png) | ![Classic white teapot in Minecraft blocks](screenshots/teapot.png) | ![Street Fighter character Ibuki in Minecraft blocks](screenshots/ibuki.png) |\n\n## Requirements\n- NVIDIA GPU with CUDA support\n- [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit)\n- [CMake](https://cmake.org/download/) 3.18+\n- C++17 compiler\n- [zlib](https://zlib.net/)\n\n## Building\n```bash\ngit clone https://github.com/Briiqn/obj2schem.git\ncd obj2schem\nmkdir build \u0026\u0026 cd build\ncmake ..\ncmake --build . --config Release\n```\nThe binary will be in the `build/` directory.\n\n## Usage\n```bash\n./obj2schem \u003cinput.obj\u003e \u003coutput.schem\u003e [scale] [textures_dir] [mode]\n```\n- `\u003cinput.obj\u003e` - your model file\n- `\u003coutput.schem\u003e` - where to save the schematic\n- `[scale]` - longest axis in blocks (defaults to 100)\n- `[textures_dir]` - block textures folder (defaults to ./textures)\n- `[mode]` - rasterization mode:\n  - `fast` (default) - Bresenham wireframe + scanline fill\n  - `quality` - conservative rasterization\n\n**Examples:**\n```bash\n./obj2schem ../models/car.obj red_car.schem 250 ../textures fast\n./obj2schem ../models/teapot.obj teapot.schem 150 ../textures quality\n```\n\n## Rasterization Modes\n**fast:** Uses 3D Bresenham for edge drawing and scanline filling. Faster but you may have directional bias and small gaps.\n\n**quality:** Conservative rasterization tests every voxel in triangle bounding boxes. Slower but guarantees complete coverage with no holes.\n\n## Note\nThe texture directory should contain pngs named after block ids (e.g., `stone.png`, `oak_planks.png`).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriiqn%2Fobj2schem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriiqn%2Fobj2schem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriiqn%2Fobj2schem/lists"}