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-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1259,7 +1259,7 @@ There are two types of Camera, [`PerspectiveCamera`][prezi-40-model-PerspectiveC
1259
1259
1260
1260
### Lights
1261
1261
1262
-
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.
1262
+
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.
1263
1263
1264
1264
If the Scene has no Lights, then the client provides its own lighting as it sees fit.
1265
1265
@@ -1458,7 +1458,7 @@ The Light is green and has a position, but has its default orientation of lookin
1458
1458
1459
1459
>
1460
1460
**Key Points**
1461
-
* This example uses some of the Scene-Specific resources introduced in the next section.
1461
+
* This example uses some of the Scene-Specific resources introduced in [3D Supporting Resources](#3d-supporting-resources).
1462
1462
* 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.
1463
1463
* 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.
1473
+
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.
1474
1474
1475
1475
```jsonc
1476
1476
{
@@ -1518,7 +1518,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1518
1518
}
1519
1519
},
1520
1520
{
1521
-
"id": "https://example.org/iiif/3d/anno1",
1521
+
"id": "https://example.org/iiif/3d/anno2",
1522
1522
"type": "Annotation",
1523
1523
"motivation": ["painting"],
1524
1524
"body":
@@ -1563,7 +1563,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1563
1563
}
1564
1564
},
1565
1565
{
1566
-
"id": "https://example.org/iiif/3d/anno1",
1566
+
"id": "https://example.org/iiif/3d/anno3",
1567
1567
"type": "Annotation",
1568
1568
"motivation": ["painting"],
1569
1569
"exclude": ["Audio", "Lights"],
@@ -1601,6 +1601,27 @@ This example is a Manifest with a single Scene with multiple models painted into
@@ -1615,6 +1636,7 @@ This example is a Manifest with a single Scene with multiple models painted into
1615
1636
* Each Annotation is painted into the Scene at a different point via Point Selectors.
1616
1637
* 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.
1617
1638
* The third Annotation represents a queen game piece that is scaled to be larger than the pawns using ScaleTransform.
1639
+
* 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.
1618
1640
* 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.
1619
1641
* 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