MCPcopy Index your code
hub / github.com/AntonPalmqvist/physically-based-api

github.com/AntonPalmqvist/physically-based-api @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
26 symbols 63 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Physically Based API

A database of physically based values for CG artists.

<img alt="Screenshot of the web implementation" src="https://physicallybased.info/images/meta/database.webp">

GitHub License GitHub Release Swagger Validation Code Style

Features

  • Open Database: Access a collection of physically based values for materials, cameras, and light sources
  • Lightweight: The entire dataset is optimized for quick loading and integration as presets
  • materials.json 211 KB
  • lightsources.json 47 KB
  • cameras.json 164 KB
  • lenses.json (coming in v2.2)
  • API Access: Connect your tools to the API to get the latest updates from the database
  • Community-Driven: Contribute new materials or improve existing ones
  • Free License: All data is released under CC0 1.0

Getting Started

Access the API and documentation at https://api.physicallybased.info/v2

Implementations

Explore the database through these implementations:

Contribute

Contributions are welcome! Whether you want to add new entries, corrections, or suggestions, your help is appreciated. See CONTRIBUTING.md for guidelines.

License

The database is made available under the CC0 1.0 license, which means you are free to use, modify, and distribute its content without any restrictions, even for commercial purposes.

Shader ball used for renders is from ASWF USD WG and is licensed under CC BY 4.0

Core symbols most depended-on inside this repo

processJson
called by 3
scripts/create-usd.mjs
removeReferences
called by 2
scripts/create-usd.mjs
makeUSD
called by 2
scripts/create-usd.mjs
lumenToNitsSpot
called by 2
scripts/create-usd.mjs
createFiles
called by 1
scripts/create-materialx.mjs
makeMaterialX
called by 1
scripts/create-materialx.mjs
main
called by 1
scripts/create-materialx.mjs
removeDescriptions
called by 1
scripts/create-usd.mjs

Shape

Function 26

Languages

TypeScript100%

Modules by API surface

scripts/create-usd.mjs18 symbols
scripts/create-materialx.mjs4 symbols
scripts/pre-commit.mjs3 symbols
scripts/image-processor.mjs1 symbols

For agents

$ claude mcp add physically-based-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact