{"id":23508737,"url":"https://github.com/lovasko/svit","last_synced_at":"2025-04-16T19:20:55.485Z","repository":{"id":15871718,"uuid":"18612444","full_name":"lovasko/Svit","owner":"lovasko","description":"C++11 Raytracer","archived":false,"fork":false,"pushed_at":"2015-08-17T15:00:21.000Z","size":3196,"stargazers_count":5,"open_issues_count":41,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:34:50.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/lovasko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-09T20:40:09.000Z","updated_at":"2017-06-08T02:19:18.000Z","dependencies_parsed_at":"2022-09-10T16:01:41.914Z","dependency_job_id":null,"html_url":"https://github.com/lovasko/Svit","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/lovasko%2FSvit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FSvit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FSvit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FSvit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasko","download_url":"https://codeload.github.com/lovasko/Svit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249268444,"owners_count":21240927,"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-12-25T11:31:53.907Z","updated_at":"2025-04-16T19:20:55.467Z","avatar_url":"https://github.com/lovasko.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svit\nSvit is an open-source CPU renderer that embraces modularity and distributivity\nwhilst supporting as many architectures and platforms as possible.\n\n## Features\n#### Graphical primitives\n * Disc\n * Infinite plane\n * Sphere\n * Triangle\n\n#### Model formats\n * OBJ\n\n#### Output formats\n * PNG\n * PPM\n * RGBE (HDR)\n\n#### Optimizations\n * x86 SIMD support \n * multi-threaded execution\n\n#### Acceleration structures\n * BVH (with tree cutting optimization)\n * kD-tree\n\n## Build\n### Compilation options\n##### USE_SSE\nIn case this macro is defined, a source code containing the x86\noptimization routines will be included during the compilation process.\n\n##### USE_PNG\nIn case this macro is defined, a source code containing the `libpng` routines\nused to store the rendered images to the disk will be included during the\ncompilation process.\n\n### Ninja build system\n```\n$ ninja\n```\n\n## Directories\nSome of these directories do not exist in the repository but are created during\ncompilation or runtime.\n\n##### `bin`\nThe final raytracer binary `svit` is stored here.\n\n##### `doc`\nDocumentation in Markdown format.\n\n##### `img`\nExample images accumulated during testing features.\n\n##### `mdl`\n3D models for the test scenes.\n\n##### `obj`\nIntermediate object files produced during build.\n\n##### `src`\nSource code of the raytracer.\n\n## Dependencies\n#### libpng \u003e= 1.6.16\nThis depedency can be removed by removing the `-lpng` and `-DUSE_PNG` options\nfrom the compilation variables in the `build.ninja` file.\n\n## Supported operating systems and compilers\n * FreeBSD 10.0 with clang 3.3\n\nIt is important to note that other systems are highly likely to work too and\njust were not tested. Any porting work is welcome. The source code is written\nwith portability in mind and majority of the port-related changes should appear\nin the build file only.\n\n## License\n2-clause BSD, see the [full license](LICENSE.md) for more information.\n\n## Author\nDaniel Lovasko lovasko@freebsd.org\n\n## Contributors\n* Jakub Stasta\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fsvit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasko%2Fsvit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fsvit/lists"}