Skip to content

Commit ec1ebfe

Browse files
author
Rob Sanderson
committed
Fixes for Julie, thank you!
1 parent a12d21b commit ec1ebfe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/presentation/4.0/model.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,8 +1525,8 @@ A floating point number giving the time of the point in seconds from the beginni
15251525
This property sets the strength or brightness of a Light. The `value` of the referenced Quantity indicates the desired intensity on a linear scale between 0.0 (no brightness) and 1.0 (as bright as the client will render). If this property is not specified, then the default intensity value is client-dependent.
15261526

15271527
The value of this property _MUST_ be a Quantity.
1528-
The `unit` property of the Quantity _MUST_ be `relative`.
1529-
The `value` property of the Quantity _MUST_ be between 0.0 and 1.0.
1528+
The value of the `unit` property of the Quantity _MUST_ be `relative`.
1529+
The value of the `quantityValue` property of the Quantity _MUST_ be between 0.0 and 1.0.
15301530

15311531
* A Light _SHOULD_ have the `intensity` property.<br/>
15321532
Clients _SHOULD_ process the `intensity` property on a Light.
@@ -2387,7 +2387,7 @@ The value _MUST_ be a string, and the value _MUST_ be a URI.
23872387
### spatialScale
23882388
{: #spatialScale}
23892389

2390-
A single Quantity that defines a real-world scale factor for the coordinate units of a Canvas or Scene. For a Canvas, this defines the physical distance corresponding to the length of a single Canvas coordinate unit. A Canvas with a `width` of 5000 and a `spatialScale` with `quantityValue` 0.00008 represents a physical space 0.4 meters wide. For a Scene, this defines the physical distance corresponding to the XYZ coordinate units, or in other words, the physical distance length of a unit vector in the 3D coordinate space. The value of `unit` _MUST_ be a length unit. In this specification, the only length unit defined is `m`, i.e., meters. Unless other values are defined externally as an [extension][prezi30-ldce], the value of `unit` _SHOULD_ always be `m`.
2390+
A single Quantity that defines a real-world scale factor for the coordinate units of a Canvas or Scene. For a Canvas, this defines the physical distance corresponding to the length of a single Canvas coordinate unit. A Canvas with a `width` of 5000 and a `spatialScale` with `quantityValue` of 0.00008 and a `unit` of `m` represents a physical space 0.4 meters wide. For a Scene, this defines the physical distance corresponding to the XYZ coordinate units, or in other words, the physical distance length of a unit vector in the 3D coordinate space. The value of `unit` _MUST_ be a length unit. In this specification, the only length unit defined is `m`, i.e., meters. Unless other values are defined externally as an [extension][prezi30-ldce], the value of `unit` _SHOULD_ always be `m`.
23912391

23922392
To assert a `spatialScale` for a Content Resource, the resource _MUST_ first be painted into a Container and the `spatialScale` is asserted on that Container. For example, a 3d model would be painted into a Scene, and then `spatialScale` is asserted on the Scene.
23932393

@@ -2399,10 +2399,10 @@ To assert a `spatialScale` for a Content Resource, the resource _MUST_ first be
23992399
{% include api/code_header.html %}
24002400
``` json-doc
24012401
{
2402-
"type": "Scene",
2402+
"type": "Canvas",
24032403
"spatialScale": {
24042404
"type": "Quantity",
2405-
"quantityValue": 22.0,
2405+
"quantityValue": 0.00008,
24062406
"unit": "m"
24072407
}
24082408
}
@@ -2584,7 +2584,7 @@ The value _MUST_ be an array of JSON objects.
25842584
### temporalScale
25852585
{: #temporalScale}
25862586

2587-
A single Quantity that defines a multiplier or scale factor for the `duration` property of a Container, indicating that one second in "Container time" represents some other real world duration. A Canvas with a `duration` of 450 seconds and a `temporalScale` with `quantityValue` 1000 represents a real-world duration of 450,000 seconds (5.2 days), for example a time-lapse video of a growing plant. The value of `unit` _MUST_ be a time unit. In this specification, the only time unit defined is `s`, i.e., seconds. Unless other values are defined externally as an [extension][prezi30-ldce], the value of `unit` _SHOULD_ always be `s`.
2587+
A single Quantity that defines a multiplier or scale factor for the `duration` property of a Container, indicating that one second in "Container time" represents some other real world duration. A Canvas with a `duration` of 450 seconds and a `temporalScale` with `quantityValue` of 1000 and a `unit` of `s` represents a real-world duration of 450,000 seconds (5.2 days), for example a time-lapse video of a growing plant. The value of `unit` _MUST_ be a time unit. In this specification, the only time unit defined is `s`, i.e., seconds. Unless other values are defined externally as an [extension][prezi30-ldce], the value of `unit` _SHOULD_ always be `s`.
25882588

25892589
To assert a `temporalScale` for a Content Resource, the resource _MUST_ first be painted into a Container with a `duration` and the `temporalScale` is asserted on that Container. For example, an Audio file is painted into a Timeline, and then `temporalScale` is asserted on the Timeline.
25902590

@@ -2602,7 +2602,7 @@ To assert a `temporalScale` for a Content Resource, the resource _MUST_ first be
26022602
"type": "Canvas",
26032603
"temporalScale": {
26042604
"type": "Quantity",
2605-
"quantityValue": 1000,
2605+
"quantityValue": 1000.0,
26062606
"unit": "s"
26072607
}
26082608
}

0 commit comments

Comments
 (0)