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: source/presentation/4.0/model.md
+18-28Lines changed: 18 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -843,7 +843,7 @@ A Directional Light _MAY_ have the following additional properties: [lookAt](#lo
843
843
Image-Based Lights illuminate objects in a Scene using lighting information derived from an image, typically a panoramic environment map. They simulate complex, realistic lighting without a specific direction or position.
844
844
845
845
__Properties__<br/>
846
-
An Image-Based Light _MUST_ have the following properties: [environmentMap](#environmentMap) and [environmentMapProjection](#environmentMapProjection).<br/><br/>
846
+
An Image-Based Light _MUST_ have the following properties: [environmentMap](#environmentMap).<br/><br/>
847
847
{: .note}
848
848
849
849
{% include api/code_header.html %}
@@ -854,9 +854,9 @@ An Image-Based Light _MUST_ have the following properties: [environmentMap](#env
@@ -1436,9 +1436,9 @@ The value _MUST_ be a positive floating point number.
1436
1436
### environmentMap
1437
1437
{: #environmentMap}
1438
1438
1439
-
A content resource representing the environment map image used by an [ImageBasedLight](#ImageBasedLight). The image provides omnidirectional lighting information and may use high dynamic range (HDR) encoding.
1439
+
A content resource representing the environment map image used by an [ImageBasedLight](#ImageBasedLight). The image provides omnidirectional lighting information and may use high dynamic range (HDR) encoding. The projection type of the image, such as equirectangular or cubic, is specified via the `profile` property.
1440
1440
1441
-
The value _MUST_ be a JSON object representing an Image which _MUST_ have the `id`and `type` properties, and _SHOULD_ have the `format` property.
1441
+
The value _MUST_ be a JSON object representing an Image which _MUST_ have the `id`, `type`, and `profile` properties, and _SHOULD_ have the `format` property.
1442
1442
1443
1443
* An Image-Based Light _MUST_ have the `environmentMap` property.<br/>
1444
1444
Clients _SHOULD_ process `environmentMap` on an Image-Based Light.
@@ -1449,28 +1449,8 @@ The value _MUST_ be a JSON object representing an Image which _MUST_ have the `i
The projection type used to create the image represented by the `environmentMap` property of an [ImageBasedLight](#ImageBasedLight). This specification defines values in the table below for projection types. Other values for additional projection types may be defined externally as an [extension][prezi30-ldce].
1459
-
1460
-
The value _MUST_ be a string.
1461
-
1462
-
* An Image-Based Light _MUST_ have the `environmentMapProjection` property.<br/>
1463
-
Clients _SHOULD_ process `environmentMapProjection` on an Image-Based Light.
1464
-
1465
-
| Value | Description |
1466
-
| ----- | ----------- |
1467
-
|`equirectangular`| The image uses equirectangular projection, mapping a full spherical environment onto a 2:1 rectangular image. |
1468
-
|`cubic`| The image uses cube map projection, representing the environment as six square faces of a cube. |
1469
-
{: .api-table #table-environmentmapprojection}
1470
-
1471
-
{% include api/code_header.html %}
1472
-
```json-doc
1473
-
{ "environmentMapProjection": "equirectangular" }
1452
+
"profile": "equirectangular"
1453
+
}
1474
1454
```
1475
1455
1476
1456
@@ -2144,13 +2124,23 @@ The value must be a JSON object, with the `id` and `type` properties. The value
2144
2124
2145
2125
A schema or named set of functionality available from the resource. The profile can further clarify the `type` and/or `format` of an external resource or service, allowing clients to customize their handling of the resource that has the `profile` property.
2146
2126
2147
-
The value _MUST_ be a string, either taken from the [profiles registry][registry-profiles] or a full URI.
2127
+
When `profile` is used in a resource [referenced][prezi30-terminology] by the `environmentMap` property, the specification defines values in the table below for environment map projection types. Other values for additional projection types may be taken from the [profiles registry][registry-profiles] or as a full URI.
2148
2128
2129
+
The value _MUST_ be a string, either taken from the [profiles registry][registry-profiles], a full URI, or from the table below.
2130
+
2131
+
* Resources [referenced][prezi30-terminology] by the `environmentMap` property _MUST_ have the `profile` property.<br/>
2132
+
Clients _SHOULD_ process the `profile` of an environment map.
2149
2133
* Resources [referenced][prezi30-terminology] by the `seeAlso` or `service` properties _SHOULD_ have the `profile` property.<br/>
2150
2134
Clients _SHOULD_ process the `profile` of a service or external resource.
2151
2135
* Other types of resource _MAY_ have the `profile` property.<br/>
2152
2136
Clients _MAY_ process the `profile` of other types of resource.
2153
2137
2138
+
| Value | Description |
2139
+
| ----- | ----------- |
2140
+
|`equirectangular`| For environment map, the image uses equirectangular projection, mapping a full spherical environment onto a 2:1 rectangular image. |
2141
+
|`cubic`| For environment map, the image uses cube map projection, representing the environment as six square faces of a cube. |
0 commit comments