You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/lightsources.json
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -273,7 +273,6 @@
273
273
"category": ["Artificial"],
274
274
"description": "Displays like computer monitors, TVs, signage, etc. Typically they have a temperature of 6500K but it can vary. The sRGB spec for monitors targets 80 cd/m2. Typically, monitors calibrated for broadcast or studio color grading should have a brightness of 100 cd/m2 in Japan and in the United States, or 120 cd/m2 in the European Union. This is however considered quite dark for normal use, so consumer monitors tend to be brighter.",
Copy file name to clipboardExpand all lines: deploy/openapi-schema-v2.yaml
+41-11Lines changed: 41 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -101,14 +101,21 @@ components:
101
101
description: Name of the material.
102
102
default: Name
103
103
color:
104
-
$ref: '#/components/schemas/color'
105
-
description: 'Specifies the diffuse or metallic reflectance color, or in the case of a transparent material, transmission color. RGB triplet in decimal format in linear sRGB color space.'
104
+
type: array
105
+
description: 'Specifies the diffuse or metallic reflectance color, or in the case of a transparent material, transmission color.'
106
+
minItems: 1
107
+
uniqueItems: true
108
+
items:
109
+
$ref: '#/components/schemas/color'
106
110
metalness:
107
111
type: number
108
112
description: Specifies how metallic the material appears (dials the shading model from pure dielectric to pure metal).
109
113
specularColor:
110
-
$ref: '#/components/schemas/color'
114
+
type: array
111
115
description: 'Color of the specular reflection for metals, specified in the "Gulbrandsen edge tint" format. Calculated from spectral data using script from https://github.com/natyh/material-params'
116
+
minItems: 1
117
+
items:
118
+
$ref: '#/components/schemas/color'
112
119
roughness:
113
120
type: number
114
121
description: 'The roughness of the specular reflection. Lower numbers produce sharper reflections, higher numbers produce blurrier reflections.'
@@ -128,10 +135,22 @@ components:
128
135
complexIor:
129
136
type: array
130
137
description: 'Complex IOR values, n (refractive index), and k (extinction coefficient), for each color channel, in the following order: nR, kR, nG, kG, nB, kB. Calculated from spectral IOR data files.'
131
-
minItems: 6
132
-
maxItems: 6
133
138
items:
134
-
type: number
139
+
type: object
140
+
properties:
141
+
colorSpace:
142
+
type: string
143
+
description: The color space for which the n and k values have been calculated for.
144
+
nk:
145
+
type: array
146
+
description: 'N and k values for each RGB color channel in the following order: nR, kR, nG, kG, nB, kB.'
147
+
minItems: 6
148
+
maxItems: 6
149
+
items:
150
+
type: number
151
+
required:
152
+
- colorSpace
153
+
- nk
135
154
thinFilmThickness:
136
155
type: array
137
156
description: 'The thickness of the thin film layer on the base (in nanometers). 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 thickness.'
Copy file name to clipboardExpand all lines: deploy/openapi-schema.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ components:
94
94
default: Name
95
95
color:
96
96
$ref: '#/components/schemas/color'
97
-
description: 'The albedo of non-metals, or reflection color of metals, RGB triplet in linear decimal format with rec709 primaries.'
97
+
description: 'Specifies the diffuse or metallic reflectance color, or in the case of a transparent material, transmission color. RGB triplet (vec3) in linear decimal format in rec709 primaries.'
98
98
metalness:
99
99
type: number
100
100
description: Specifies how metallic the material appears (dials the shading model from pure dielectric to pure metal).
Copy file name to clipboardExpand all lines: deploy/v2/lightsources.json
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -374,12 +374,6 @@
374
374
"category": ["Artificial"],
375
375
"description": "Displays like computer monitors, TVs, signage, etc. typically have a temperature of 6500K but it can vary. The sRGB spec for monitors targets 80 cd/m2 at 6500K. Typically, monitors calibrated for broadcast or studio color grading should have a brightness of 100 cd/m2 in Japan and in the United States, or 120 cd/m2 in the European Union. This is however considered quite dark for normal use, so consumer monitors tend to be brighter, and HDR displays even brighter.",
0 commit comments