Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3cffc67
Added "deprecated" attribute to the schema
AntonPalmqvist Mar 10, 2026
5f3b468
Updated packages
AntonPalmqvist Mar 14, 2026
93bb31f
Added light sources and updated schema:
AntonPalmqvist Mar 22, 2026
6ada5a8
Added light sources and updated materials:
AntonPalmqvist Mar 24, 2026
0210c57
Updated schema to 2.1, added light source, and updated packages:
AntonPalmqvist Mar 28, 2026
e3bebc5
Added Sun variant and updated the create-usd script:
AntonPalmqvist Mar 29, 2026
5ada3f3
Updated Github Action, updated Material schema, and added materials:
AntonPalmqvist Apr 10, 2026
c545c8c
Made volumeCoefficients into an object instead of an array
AntonPalmqvist Apr 10, 2026
87ec07b
Added .npmrc file and updated packages:
AntonPalmqvist Apr 12, 2026
af01458
Removed original images of Arnold and Unreal shader balls to optimize…
AntonPalmqvist Apr 12, 2026
1f7d12e
Removed anisotropy for materials that don't have scattering and updat…
AntonPalmqvist Apr 12, 2026
03e2a23
Generated optimized shader ball images
AntonPalmqvist Apr 12, 2026
beb960d
Updated materials and shader ball images:
AntonPalmqvist Apr 12, 2026
05bc3f8
Added issue templates and updated materials
AntonPalmqvist Apr 16, 2026
0678c71
Updated shader ball images for liquids
AntonPalmqvist Apr 17, 2026
429d032
Updated materials and shader balls
AntonPalmqvist Apr 18, 2026
0d85e7a
Updated materials
AntonPalmqvist Apr 22, 2026
2556c8f
Updated materials:
AntonPalmqvist Apr 23, 2026
aaa093c
Updated materials
AntonPalmqvist Apr 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/ISSUE_TEMPLATE/01-material.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: New Material
description: Suggest a new material.
title: "[Material]: "

body:
- type: input
id: name
attributes:
label: Name
description: Name of the material.
placeholder: Water
validations:
required: true

- type: input
id: color
attributes:
label: Color
description: Color value in sRGB Linear color space. Specifies the diffuse or metallic reflectance color, or in the case of a transparent material, transmission color.
placeholder: 1.0, 1.0, 1.0
validations:
required: true

- type: input
id: ior
attributes:
label: Index of Refraction
description: Index of refraction of the material.
placeholder: 1.33

- type: input
id: density
attributes:
label: Density
description: Density measured in kg/m3. If there's no variation, only one value should be specified. A range can be specified with two values. A third value can be added to specify the most common density.
placeholder: 958, 1000, 1000

- type: input
id: viscosity
attributes:
label: Viscosity
description: Dynamic viscosity measured in millipascal-seconds (mPa⋅s) at a temperature of 20°C. 1 mPa⋅s (millipascal-second) = 1 cP (centipoise). If there's no variation, only one value should be specified. A range can be specified with two values. A third value can be added to specify the most common viscosity.
placeholder: 1.002

- type: input
id: surface-tension
attributes:
label: Surface Tension
description: Surface tension measured in millinewton per meter (mN/m) at a temperature of 20°C. 1 mN/m = 1 dyn/cm.
placeholder: 72

- type: textarea
id: description
attributes:
label: Description
description: Any additional information that can be useful when rendering this material.
placeholder: While relatively small quantities of water appear to be colorless, pure water has a slight blue color that becomes deeper as the thickness of the observed sample increases beyond 50 cm.

- type: input
id: reference1
attributes:
label: Reference
description: Link to a reference where the information comes from.
placeholder: https://refractiveindex.info/?shelf=main&book=H2O&page=Daimon-21.5C
validations:
required: true

- type: input
id: reference2
attributes:
label: Additional Reference
description: Link to another reference, if available.
placeholder: https://en.wikipedia.org/w/index.php?title=Color_of_water&oldid=1273446338

- type: upload
id: spectrum
attributes:
label: Spectral Data
description: If spectral data is available, please upload a file with the data.
validations:
accept: ".txt,.csv,.json"
94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/02-lightsource.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: New Light Source
description: Suggest a new light source.
title: "[Light Source]: "

body:
- type: input
id: name
attributes:
label: Name
description: Name of the light source.
placeholder: Fluorescent Tube Light
validations:
required: true

- type: input
id: temperature
attributes:
label: Color Temperature
description: The typical range of color temperature in Kelvin, if color lies near the Planckian curve (within 0.005 Duv). If too far off, temperature shouldn't be specified. A range can be specified with two values. A third value can be added to specify the most common temperature.
placeholder: 2700, 6500, 4500

- type: input
id: color
attributes:
label: Color
description: Color of the light source.
placeholder: 1.0, 0.415, 0.099

- type: input
id: intensity
attributes:
label: Intensity
description: Intensity of the light emitted from the light source. If there's no variation, only one value should be specified. A range can be specified with two values. A third value can be added to specify the most common intensity.
placeholder: 500, 5000, 3000
validations:
required: true

- type: dropdown
id: unit
attributes:
label: Unit
description: The unit of measurement of the intensity of the light. In the case of lux, it should be converted to lumen, unless it's a directional light such as the sun or the moon.
options:
- Lumen (lm)
- Lux (lx)
- Nits (cd/m2)
default: 0
validations:
required: true

- type: input
id: angle
attributes:
label: Angle
description: The maximum beam angle in degrees.
placeholder: 90

- type: input
id: size
attributes:
label: Source Size
description: The size of the light source in centimeters. [Radius] if point or spot. [Width, Height] if surface. [Radius, Length] if cylinder.
placeholder: 1.5, 60

- type: textarea
id: description
attributes:
label: Description
description: Any additional information that can be useful when rendering this light source.
placeholder: The changing color of the Sun over the course of the day is mainly a result of the scattering of sunlight and is not due to changes in black-body radiation.

- type: input
id: reference1
attributes:
label: Reference
description: Link to a reference where the information comes from.
placeholder: https://en.wikipedia.org/w/index.php?title=Color_temperature&oldid=1272808359#The_Sun
validations:
required: true

- type: input
id: reference2
attributes:
label: Additional Reference
description: Link to another reference, if available.
placeholder: https://stjarnhimlen.se/comp/radfaq.html#10

- type: upload
id: spectrum
attributes:
label: Spectral Data
description: If spectral data is available, please upload a file with the data.
validations:
accept: ".txt,.csv,.json"
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/03-camera.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: New Camera
description: Suggest a new camera.
title: "[Camera]: "

body:
- type: input
id: make
attributes:
label: Make
description: Brand name.
placeholder: Arri
validations:
required: true

- type: input
id: model
attributes:
label: Model
description: Model name.
placeholder: Alexa 35
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: Any additional information that can be useful when rendering with this camera.
placeholder: Description.

- type: input
id: reference1
attributes:
label: Reference
description: Link to a reference where the information comes from.
placeholder: https://www.arri.com/resource/blob/296424/88454a5a3dee9fe1d3fd68e75aa3411e/alexa-35-recording-format-poster-data.pdf
validations:
required: true

- type: input
id: reference2
attributes:
label: Additional Reference
description: Link to another reference, if available.
placeholder: https://www.arri.com/resource/blob/390890/ad7422b94b9d7acbda1327d6df8c83a3/2025-02-arri-formatsandresolutionsoverview-v6-0-data.pdf

- type: upload
id: spectrum
attributes:
label: Spectral Data
description: If spectral data is available, please upload a file with the data.
validations:
accept: ".txt,.csv,.json"
86 changes: 86 additions & 0 deletions .github/ISSUE_TEMPLATE/04-lens.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: New Lens
description: Suggest a new lens.
title: "[Lens]: "

body:
- type: input
id: make
attributes:
label: Make
description: Brand name.
placeholder: Cooke
validations:
required: true

- type: input
id: model
attributes:
label: Model
description: Model name.
placeholder: Varotal/i FF 30-95mm
validations:
required: true

- type: input
id: focal-length
attributes:
label: Focal Length
description: Min and max focal length in millimeters. If it's a prime lens, only set one value.
placeholder: 30, 95
validations:
required: true

- type: input
id: aperture
attributes:
label: Aperture
description: Max and min aperture size.
placeholder: 2.9, 22
validations:
required: true

- type: input
id: blades
attributes:
label: Blades
description: Number of diaphragm blades.
placeholder: 9
validations:
required: true

- type: input
id: close-focus
attributes:
label: Close Focus
description: Shortest distance from the sensor to the subject that the lens can achieve focus. Specified in centimeters.
placeholder: 80

- type: input
id: squeeze-factor
attributes:
label: Squeeze Factor
description: The squeeze factor of an anamorphic lens.
placeholder: 1.8

- type: textarea
id: description
attributes:
label: Description
description: Any additional information that can be useful when rendering with this lens.
placeholder: Description.

- type: input
id: reference1
attributes:
label: Reference
description: Link to a reference where the information comes from.
placeholder: https://cookeoptics.com/lens/varotal-i-ff/
validations:
required: true

- type: input
id: reference2
attributes:
label: Additional Reference
description: Link to another reference, if available.
placeholder: https://cookeoptics.com/lens/varotal-i-ff/
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/05-correction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Correction
description: Suggest a correction to an existing asset.
title: "[Correction]: "

body:
- type: dropdown
id: version
attributes:
label: Version
description: What type of asset does this relate to?
options:
- Material
- Light Source
- Camera
- Lens
default: 0
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Describe what needs to be corrected. It can be feedback about terminology, or accuracy, for example.
placeholder: Description.
validations:
required: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/06-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature
description: Suggest a feature or improvement.
title: "[Feature]: "

body:
- type: textarea
id: description
attributes:
label: Description
description: Describe what kind of functionality you're missing in the API. Please be aware that this only applies to the database, and not the physicallybased.info website.
placeholder: Description.
validations:
required: true
2 changes: 1 addition & 1 deletion .github/workflows/check-broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: github.repository_owner == 'AntonPalmqvist'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Link Checker
id: lychee
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min-release-age=7
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
Loading