Skip to content

Commit

Permalink
- Updated Cameras
Browse files Browse the repository at this point in the history
- Updated Lightsources
- Changed apiDescriptionUrl to a web resource instead of static file to fix reload error in index.html
- Added meta tags to index.html
  • Loading branch information
AntonPalmqvist committed Nov 25, 2024
1 parent 089e5b8 commit bc068c7
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 1 deletion.
Binary file added deploy/assets/img/metatag.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions deploy/cameras.json
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,22 @@
],
"tags": ["medium format"]
},
{
"name": "Fujifilm GFX Eterna",
"sensorSize": [
{
"format": "Open Gate",
"size": [43.8, 32.9]
}
],
"category": ["Movie"],
"description": "",
"sources": [
"https://www.fujifilm.com/us/en/news/digital-cameras/fujifilm-first-digital-filmmaking-camera-gfx-eterna",
"https://www.dpreview.com/news/9178470454/fujifilm-gfx-eterna-cinema-camera-medium-format-sensor"
],
"tags": ["full frame"]
},
{
"name": "Fujifilm X-H2",
"sensorSize": [
Expand Down
28 changes: 27 additions & 1 deletion deploy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,31 @@
name="google-site-verification"
content="U2EED-cL3HjaIzPZpQPxEpBMokNh9eNig9VtsDKLoms"
/>

<meta property="og:type" content="website" />
<meta property="og:url" content="https://api.physicallybased.info/" />
<meta property="og:title" content="The PBR Database API" />
<meta
property="og:description"
content="A database of physically based values for CG artists."
/>
<meta
property="og:image"
content="https://api.physicallybased.info/assets/img/metatag.jpg"
/>

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://api.physicallybased.info/" />
<meta property="twitter:title" content="The PBR Database API" />
<meta
property="twitter:description"
content="A database of physically based values for CG artists."
/>
<meta
property="twitter:image"
content="https://api.physicallybased.info/assets/img/metatag.jpg"
/>

<!-- Configuration options: https://docs.stoplight.io/docs/elements/b074dc47b2826-elements-configuration-options -->
<script
defer
Expand All @@ -24,8 +49,9 @@
<link rel="icon" type="image/png" href="assets/img/favicon.png" />
</head>
<body>
<!-- apiDescriptionUrl must point to a web resource, and not to a static file, so it doesn't give an error when going back and forth on the site -->
<elements-api
apiDescriptionUrl="openapi-schema.yaml"
apiDescriptionUrl="https://raw.githubusercontent.com/AntonPalmqvist/physically-based-api/refs/heads/main/deploy/openapi-schema.yaml"
hideSchemas="true"
hideExport="true"
layout="responsive"
Expand Down
42 changes: 42 additions & 0 deletions deploy/lightsources.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,48 @@
"https://help.aputure.com/en/amaran-p60c-p60x/photometrics-and-technical-specifications"
]
},
{
"name": "Aputure STORM 1000c",
"color": [1.0, 0.859, 0.778],
"temperature": 5600,
"temperatureRange": [1800, 20000],
"intensity": 600000,
"variants": [
{
"format": "No Reflector",
"color": [1.0, 0.859, 0.778],
"temperature": 5600,
"angle": 65,
"intensity": 61250
},
{
"format": "15º Reflector",
"color": [1.0, 0.859, 0.778],
"temperature": 5600,
"angle": 15,
"intensity": 600000
},
{
"format": "30º Reflector",
"color": [1.0, 0.859, 0.778],
"temperature": 5600,
"angle": 30,
"intensity": 250000
},
{
"format": "45º Reflector",
"color": [1.0, 0.859, 0.778],
"temperature": 5600,
"angle": 45,
"intensity": 125000
}
],
"unit": ["lx"],
"type": ["spot"],
"category": ["Artificial"],
"description": "",
"sources": ["https://aputure.com/products/storm-1000c"]
},
{
"name": "Aputure STORM 1200x",
"color": [1.0, 0.859, 0.778],
Expand Down

0 comments on commit bc068c7

Please sign in to comment.