Skip to content

Commit c2f0962

Browse files
committed
Add start property to Scene in Scene example
1 parent 43527d9 commit c2f0962

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

source/presentation/4.0/example/uc06_scene_in_scene.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"Chess Pieces — Scene in Scene"
88
]
99
},
10+
"start": {
11+
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/parent",
12+
"type": "Scene"
13+
},
1014
"items": [
1115
{
1216
"id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/1",

source/presentation/4.0/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,16 +599,18 @@ Like Timelines or Canvases, Scenes can be painted into Scenes. As with other res
599599

600600
When a Scene is nested into another Scene, the [`backgroundColor`][prezi-40-model-backgroundColor] of the Scene to be nested should be ignored as it would have no meaningful effect. Similarly, if both Scenes have ImageBasedLight Annotations, the ImageBasedLight Annotation of the Scene into which the Scene will be nested takes precedence. All other Annotations painted into the Scene to be nested will be painted into the Scene into which content is being nested, including Light or Camera resources. If the Scene to be nested has one or more Camera Annotations while the Scene into which content is being nested does not, the first Camera Annotation from the nested Scene will become the default Camera for the overall Scene.
601601

602-
This example paints the chess piece Scene from the previous examples into a parent Scene twice, placing the two groups of chess pieces side by side.
602+
This example paints the chess piece Scene from the previous examples into a parent Scene twice, placing the two chess pieces side by side.
603603

604604
{% include code_example.html src="uc06_scene_in_scene.json" %}
605605

606606
>
607607
**Key Points**
608-
* Each Annotation's body references the chess pieces Scene by its URI.
609-
* A PointSelector on each Annotation's target places one instance to the left and one to the right of the parent Scene's origin, resulting in two groups of chess pieces side by side.
610-
* The [`backgroundColor`][prezi-40-model-backgroundColor] of the nested chess Scene is ignored in the parent Scene.
608+
* Each Annotation's body references the chess piece's Scene by its URI.
609+
* A PointSelector on each Annotation's target places one instance to the left and one to the right of the parent Scene's origin, resulting in two chess pieces side by side.
610+
* The [`backgroundColor`][prezi-40-model-backgroundColor] of the nested chess piece Scene is ignored in the parent Scene.
611611
* Because the parent Scene has no Camera or ImageBasedLight of its own, the Camera and ImageBasedLight Annotations from the nested chess Scene are imported into the parent Scene.
612+
* The [`structures`][prezi-40-model-structures] property has a [`Range`][prezi-40-model-Range] with the [`behavior`][prezi-40-model-behavior] value "sequence", indicating that the client should use the order within this Range, rather than the default order of `items`. This Range omits the chess piece Scene.
613+
* The [`start`][prezi-40-model-start] property is used to indicate to the client that rendering should start with the second `Scene`, the parent, rather than the `Scene` holding the individual chess piece. This is technically redundant given the previous point, but is shown here for reference.
612614
{: .callout}
613615

614616
__Definitions__<br/>

0 commit comments

Comments
 (0)