AntonPalmqvist / physically-based-api

A database of physically based values for CG artists.
https://api.physicallybased.info/
Creative Commons Zero v1.0 Universal
391 stars 15 forks source link

Missing camera resolution #8

Closed dkeraudren closed 3 weeks ago

dkeraudren commented 2 years ago

First of all, really nice of you for adding format for the cameras. Another really great addition could be adding image resolution the same way (will perhaps do a pull request if I find the time to do it)

AntonPalmqvist commented 3 weeks ago

Better late than never, I've started adding recording resolution to cameras, starting with Arri cameras. Thank you for suggesting this in the first place!

Recording resolution is measured in pixels [Width, Height], and each sensor size can have multiple recording resolutions. This is only for video recording modes for now, so a still camera (such as Canon EOS 5D) would only have its video recording resolutions listed, and not the still image resolutions.

Here's the format:

{
    "name": "Arri Alexa 35",
    "sensorSize": [
      {
        "format": "4.6K 3:2 Open Gate",
        "size": [27.99, 19.22],
        "resolution": [
          {
            "format": "4.6K",
            "size": [4608, 3164]
          }
        ]
      },
      {
        "format": "4.6K 16:9",
        "size": [27.99, 15.75],
        "resolution": [
          {
            "format": "4.6K",
            "size": [4608, 2592]
          },
          {
            "format": "4K",
            "size": [4096, 2304]
          }
        ]
      },
      {
        "format": "4K 16:9",
        "size": [24.88, 14],
        "resolution": [
          {
            "format": "4K",
            "size": [4096, 2304]
          },
          {
            "format": "UHD",
            "size": [3840, 2160]
          },
          {
            "format": "2K",
            "size": [2048, 1152]
          },
          {
            "format": "HD",
            "size": [1920, 1080]
          }
        ]
      },
      {
        "format": "4K 2:1",
        "size": [24.88, 12.44],
        "resolution": [
          {
            "format": "4K",
            "size": [4096, 2048]
          }
        ]
      },
      {
        "format": "3.8K 16:9",
        "size": [23.33, 13.12],
        "resolution": [
          {
            "format": "4K",
            "size": [3840, 2160]
          }
        ]
      },
      {
        "format": "3.3K 6:5",
        "size": [20.22, 16.95],
        "resolution": [
          {
            "format": "3.3K",
            "size": [3328, 2790]
          },
          {
            "format": "4K 2.39:1 Ana 2x",
            "size": [4096, 1716]
          }
        ]
      },
      {
        "format": "3K 1:1",
        "size": [18.66, 18.66],
        "resolution": [
          {
            "format": "3K",
            "size": [3072, 3072]
          },
          {
            "format": "3.8K 2:1 Ana 2x",
            "size": [3840, 2160]
          }
        ]
      },
      {
        "format": "2.7K 8:9",
        "size": [16.66, 18.75],
        "resolution": [
          {
            "format": "UHD 16:9 Ana 2x",
            "size": [3840, 2160]
          }
        ]
      },
      {
        "format": "2K 16:9 S16",
        "size": [12.44, 7],
        "resolution": [
          {
            "format": "2K",
            "size": [2048, 1152]
          }
        ]
      }
    ],
    "category": ["Movie"],
    "description": "",
    "sources": [
      "https://www.arri.com/en/camera-systems/cameras/alexa-35",
      "https://www.arri.com/en/camera-systems/cameras/alexa-35/alexa-35-recording-formats",
      "https://www.arri.com/resource/blob/296424/88454a5a3dee9fe1d3fd68e75aa3411e/alexa-35-recording-format-poster-data.pdf",
      "https://www.arri.com/resource/blob/277386/a8ebd70f6105162b541bc39f4ad098b5/2022-05-arri-formatsandresolutionsoverview-4-4-data.pdf"
    ],
    "tags": [""]
  }