Add a new class to the specification, Scene, to model 3D space (and also 3D space with a duration).
We need a new class, rather than adding a dimension (and new properties) to the existing Canvas class, because:
- 3D on the web uses an origin at the center of the world, extending infinitely in all directions: the coordinate space is not bounded, unlike the Canvas.
- 3D on the web uses floating point coordinates, not integers.
- The user’s viewpoint (mediated by the Presentation API and rendered by a client, typically in a browser) is in the Scene, whereas the user looks at the Canvas. This is so fundamentally different at the Presentation level that we need a new class.
The items property of a Manifest therefore can contain Canvases and/or Scenes.
A Scene has the same properties as a Canvas, except for height and width. (Therefore a Scene may have duration).
Add a new class to the specification,
Scene, to model 3D space (and also 3D space with a duration).We need a new class, rather than adding a dimension (and new properties) to the existing
Canvasclass, because:The
itemsproperty of a Manifest therefore can contain Canvases and/or Scenes.A Scene has the same properties as a Canvas, except for
heightandwidth. (Therefore a Scene may haveduration).