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/index.md
+27-6Lines changed: 27 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ a:hover > code {
101
101
margin-top: 0px;
102
102
margin-bottom: 0px;
103
103
text-align: left;
104
-
104
+
105
105
}
106
106
107
107
code.language-json {
@@ -1194,7 +1194,7 @@ There are two types of Camera, [`PerspectiveCamera`][prezi-40-model-PerspectiveC
1194
1194
1195
1195
### Lights
1196
1196
1197
-
There are four types of Light: AmbientLight, DirectionalLight, PointLight and SpotLight. They have a [`color`][prezi-40-model-color]and an [`intensity`][prezi-40-model-intensity]. SpotLight has an additional property of [`angle`][prezi-40-model-angle] that determines the spread of its light cone.
1197
+
There are five types of Light: AmbientLight, DirectionalLight, ImageBasedLight, PointLight, and SpotLight. They have an [`intensity`][prezi-40-model-intensity] property, and all Lights except ImageBasedLight have a [`color`][prezi-40-model-color]property. ImageBasedLight has an additional property of [`environmentMap`][prezi-40-model-environment-map] that specifies the environment map image used to simulate lighting. SpotLight has an additional property of [`angle`][prezi-40-model-angle] that determines the spread of its light cone. PointLights and SpotLights can be painted at specific positions within the Scene. DirectionalLights, PointLights, and SpotLights have directional facing in the Scene that affects how light is casted.
1198
1198
1199
1199
If the Scene has no Lights, then the client provides its own lighting as it sees fit.
1200
1200
@@ -1388,7 +1388,7 @@ The Light is green and has a position, but has its default orientation of lookin
1388
1388
1389
1389
>
1390
1390
**Key Points**
1391
-
* This example uses some of the Scene-Specific resources introduced in the next section.
1391
+
* This example uses some of the Scene-Specific resources introduced in [3D Supporting Resources](#3d-supporting-resources).
1392
1392
* A Point Selector explicitly places the model in the Scene via the Painting Annotation's [`target`][prezi-40-model-target] property. In the previous example, there was an implicit Point Selector placing the model at (0,0,0) because no explicit Point Selector was provided.
1393
1393
* The provided Light should replace any default lighting the client might have.
This example is a Manifest with a single Scene with multiple models painted into the Scene at specific positions with transforms applied. It represents a collection of chess game pieces with multiple pawns and a single queen. The example demonstrates painting multiple models into a Scene, including one Content Resource being painted into a Scene multiple times. Transforms and Point Selectors are used to establish position and scale for Annotations. Some external web resources referenced as Content Resources may include elements such as lights or audio that are undesirable within a Manifest, and the [`exclude`][prezi-40-model-exclude] property is used to prevent these from being rendered. The property [`interactionMode`][prezi-40-model-interactionMode] is used to guide clients in how to best guide or limit user interaction with rendered content.
1403
+
This example is a Manifest with a single Scene with multiple models painted into the Scene at specific positions with transforms applied. It represents a collection of chess game pieces with multiple pawns and a single queen. The example demonstrates painting multiple models into a Scene, including one Content Resource being painted into a Scene multiple times. Transforms and Point Selectors are used to establish position and scale for Annotations. Some external web resources referenced as Content Resources may include elements such as lights or audio that are undesirable within a Manifest, and the [`exclude`][prezi-40-model-exclude] property is used to prevent these from being rendered. The property [`interactionMode`][prezi-40-model-interactionMode] is used to guide clients in how to best guide or limit user interaction with rendered content. This example also introduces an Image-Based Light Annotation to simulate real-world lighting of the chess game pieces.
1404
1404
1405
1405
```jsonc
1406
1406
{
@@ -1446,7 +1446,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1446
1446
}]
1447
1447
},
1448
1448
{
1449
-
"id":"https://example.org/iiif/3d/anno1",
1449
+
"id":"https://example.org/iiif/3d/anno2",
1450
1450
"type":"Annotation",
1451
1451
"motivation": ["painting"],
1452
1452
"body": [{
@@ -1490,7 +1490,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1490
1490
}]
1491
1491
},
1492
1492
{
1493
-
"id":"https://example.org/iiif/3d/anno1",
1493
+
"id":"https://example.org/iiif/3d/anno3",
1494
1494
"type":"Annotation",
1495
1495
"motivation": ["painting"],
1496
1496
"exclude": ["Audio", "Lights"],
@@ -1528,6 +1528,26 @@ This example is a Manifest with a single Scene with multiple models painted into
@@ -1542,6 +1562,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1542
1562
* Each Annotation is painted into the Scene at a different point via Point Selectors.
1543
1563
* The second Annotation represents a pawn game piece that is tipped over, and Transforms are used to achieve this. RotateTransform is used to tip the pawn over and TranslateTransform is used to align the bottom of the pawn with the coordinate origin's XY plane.
1544
1564
* The third Annotation represents a queen game piece that is scaled to be larger than the pawns using ScaleTransform.
1565
+
* The fourth Annotation represents an Image-Based Light where an environment map texture image is used to simulate omnidirectional real-world light on the chess game pieces.
1545
1566
* The [`exclude`][prezi-40-model-exclude] property instructs clients not to import or render any external audio or light content present in the Content Resource for the queen game piece.
1546
1567
* The [`interactionMode`][prezi-40-model-interactionMode] property instructs clients that, if possible, user interactions relating to orbiting the scene should be restricted to a hemisphere.
0 commit comments