{"id":30895538,"url":"https://github.com/ladybug-tools/bsdf-viewer","last_synced_at":"2026-02-12T06:33:15.397Z","repository":{"id":85707177,"uuid":"204602939","full_name":"ladybug-tools/bsdf-viewer","owner":"ladybug-tools","description":"🎇 A web-based viewer for BSDF files","archived":false,"fork":false,"pushed_at":"2021-09-21T16:06:54.000Z","size":2317,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-08T22:07:19.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.ladybug.tools/bsdf-viewer/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ladybug-tools.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":"2019-08-27T02:29:58.000Z","updated_at":"2024-11-30T13:09:11.000Z","dependencies_parsed_at":"2023-07-27T16:15:12.018Z","dependency_job_id":null,"html_url":"https://github.com/ladybug-tools/bsdf-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ladybug-tools/bsdf-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fbsdf-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fbsdf-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fbsdf-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fbsdf-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladybug-tools","download_url":"https://codeload.github.com/ladybug-tools/bsdf-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fbsdf-viewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29360644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":[],"created_at":"2025-09-08T22:07:16.532Z","updated_at":"2026-02-12T06:33:15.392Z","avatar_url":"https://github.com/ladybug-tools.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSDF Viewer\n\nBSDF viewer is a web-based BSDF parser and viewer written in JavaScript. The project is\ninspired by [Andy McNeil's BSDF viewer](https://www.radiance-online.org/download-install/third-party-utilities/bsdf-viewer).\n\nThe goal of the project is to address the current issues with installation and operating\nsystem compatibility by developing a web-based viewer for BSDF files that runs in every\nmodern browser.\n\nAnd if you are wondering what BSDF stands for. It stands for [Bidirectional Scattering Distribution Function](https://en.wikipedia.org/wiki/Bidirectional_scattering_distribution_function).\nIf you are dead serious to learn about BSDFs\nand their use in [Radiance](https://www.radiance-online.org/) then see\n[this slides](https://www.radiance-online.org/community/workshops/2019-new-york-ny/presentations/day1/20190821_BSDF_and_Matrix_Tutorial_final.pdf) from the BSDF workshop.\n\n\n[![Click to open the viewer](https://user-images.githubusercontent.com/2915573/63890516-2fceff00-c9b1-11e9-98a8-0b35ef58d52e.png)](https://www.ladybug.tools/bsdf-viewer/)\n\n## Roadmap\n\nThe project is a work in progress and currently does not support TensorTree BSDFs. The\nparser for TensorTree files has been already implemented but there is no viewer!\n\n## Credits\n\nThe BSDF viewer is using [D3js](https://github.com/d3/) for interactive visualization.\n\nThe legend is modified from [this example](http://bl.ocks.org/syntagmatic/e8ccca52559796be775553b467593a9f).\n\nThe viewer is using [polygon-clipping](https://github.com/mfogel/polygon-clipping)\nlibrary for merging outgoing patches for TensorTree BSDFs.\n\nSo many thanks to:\n\n- Greg Ward for Radiance, for answering all my stupid questions about BSDF and\n  providing sample code and related documents.\n- Andy McNeil for all the above except for not creating Radiance and plus his genBSDF\n  tutorial. And if that was not enough now he has contributed code to the viewer!\n- David Geisler-Moroder for the comprehensive BSDF workshop, providing the conversion\n  factors for Klems BSDF and answering my random BSDF questions.\n- Rob Guglielmetti for testing and providing feedback and answering my questions.\n- Taoning Wang for testing the interface and reporting the bug with Klems parser.\n- Eleanor Lee for making BSDFs look easy to understand during her presentations.\n- Sarith Subramaniam for helping with the initial push to write the viewer and providing\n  support for using genBSDF.\n- [Let me know if you are missing from the list! Thanks.]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fbsdf-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladybug-tools%2Fbsdf-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fbsdf-viewer/lists"}