{"id":21732420,"url":"https://github.com/honzasp/dort","last_synced_at":"2025-03-20T23:45:32.358Z","repository":{"id":145133509,"uuid":"50340154","full_name":"honzasp/dort","owner":"honzasp","description":"A physically based renderer","archived":false,"fork":false,"pushed_at":"2017-06-29T10:07:58.000Z","size":61323,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T20:28:43.182Z","etag":null,"topics":["c-plus-plus","lua","minecraft","photon-mapping","raytracing","rendering","vcm"],"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/honzasp.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}},"created_at":"2016-01-25T09:27:43.000Z","updated_at":"2022-11-08T17:31:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"558e3e42-e88f-4810-91ad-ed764f4b8e9b","html_url":"https://github.com/honzasp/dort","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/honzasp%2Fdort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzasp%2Fdort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzasp%2Fdort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honzasp%2Fdort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honzasp","download_url":"https://codeload.github.com/honzasp/dort/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711939,"owners_count":20497417,"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":["c-plus-plus","lua","minecraft","photon-mapping","raytracing","rendering","vcm"],"created_at":"2024-11-26T04:30:20.187Z","updated_at":"2025-03-20T23:45:32.340Z","avatar_url":"https://github.com/honzasp.png","language":"C++","readme":"# dort\n\n`dort` is a physically based renderer. It is still under heavy development, so\ndo not expect it to be usable in general (and correct in particular).\n\n## Building\n\n`dort` carries most of its dependencies in the repository (in `extern/`), the\nonly library that is necessary by default is **`libz`**.\n\nTo build `dort`, one also needs a C++ compiler (**clang** and **gcc** should\nwork), **objcopy** (part of GNU binutils), and **tup**. `tup` can be downloaded\nfrom \u003chttp://gittup.org/tup/\u003e, either as a build-it-yourself repository or as a\nUbuntu package.\n\nThe build can be configured using file `tup.config` (see the template\n`tup.config.default`). By default, only the development version of the program\nis built; other versions can be enabled using `CONFIG_FAST=y` (fast, optimized\nbuild) or `CONFIG_SLOW=y` (slow, debug build). The different versions of the\nbinary will be built in different directories:\n\n- development version -- `build/d/dort`\n- fast version -- `build/f/dort`\n- debug version -- `build/g/dort`\n\nTo build all enabled versions, run `tup`. Use `tup build/{d,f,g}/dort` to\ncompile only a single version.\n\nIf enabled, `dort` can also link to Gtk to support a simplistic GUI, but this is\nsomewhat deprecated and will probably be removed in the future. Otherwise, the\nonly runtime dependency is to the default `libc`, other libraries should be\nlinked in statically.\n\n## Usage\n\nThe produced `dort` binary is a Lua interpreter that exposes the rendering API\nin Lua. To run a Lua program, invoke `dort \u003cprogram.lua\u003e`.\n\nTo obtain the documentation of the Lua API, install\n[ldoc](https://github.com/stevedonovan/LDoc) and run `ldoc .` in the repository.\nThe generated documentation will be stored in `.ldoc/`. We do not publish the\ndocumentation on a public website because `dort` is not quite ready for this\nyet.\n\n## Samples\n\nExample Lua scripts that render images are stored in the `samples/` directory.\nDo not be deceived into opening `examples/`! It contains various files that have\nbeen used during development and that were convenient to store in git.\n\nSome historical images documenting the progress of development can be found in\n`images/`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonzasp%2Fdort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonzasp%2Fdort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonzasp%2Fdort/lists"}