Skip to content

Commit

Permalink
Merge pull request #213 from AnalyticalGraphicsInc/no-tile-extension
Browse files Browse the repository at this point in the history
Remove tile extension restriction
  • Loading branch information
pjcozzi authored Apr 27, 2017
2 parents 9f9f4ef + 77ec35c commit fb494ad
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ The `refine` property is a string that is either `"replace"` for replacement ref

The `content` property is an object that contains metadata about the tile's content and a link to the content. `content.url` is a string that points to the tile's contents with an absolute or relative url. In the example above, the url, `2/0/0.b3dm`, has a TMS tiling scheme, `{z}/{y}/{x}.extension`, but this is not required; see the [roadmap Q&A](#How-do-I-request-the-tiles-for-Level-n).

The file extension of `content.url` defines the [tile format](#tileFormats). The url can be another tileset.json file to create a tileset of tilesets. See [External tilesets](#external-tilesets)
The url can be another tileset.json file to create a tileset of tilesets. See [External tilesets](#external-tilesets).

A file extension is not required for `content.url`. A content's [tile format](#tile-formats) can be identified by the `magic` field in its header, or otherwise as an external tileset if the content is JSON.

`content.boundingVolume` defines an optional bounding volume similar to the top-level `boundingVolume` property. But unlike the top-level `boundingVolume` property, `content.boundingVolume` is a tightly fit bounding volume enclosing just the tile's contents. This is used for replacement refinement; `boundingVolume` provides spatial coherence and `content.boundingVolume` enables tight view frustum culling. The screenshot below shows the bounding volumes for the root tile for [Canary Wharf](http://cesiumjs.org/CanaryWharf/). `boundingVolume`, shown in red, encloses the entire area of the tileset; `content.boundingVolume` shown in blue, encloses just the four features (models) in the root tile.

Expand Down
2 changes: 2 additions & 0 deletions TileFormats/Batched3DModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ Although not strictly required, clients may find the glTF [CESIUM_RTC](https://g

`.b3dm`

The file extension is optional. Valid implementations ignore it and identify a content's format by the `magic` field in its header.

## MIME Type

_TODO, [#60](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/60)_
Expand Down
2 changes: 2 additions & 0 deletions TileFormats/Composite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Refer to the spec for each tile format for more details.

`.cmpt`

The file extension is optional. Valid implementations ignore it and identify a content's format by the `magic` field in its header.

## MIME Type

_TODO, [#60](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/60)_
Expand Down
2 changes: 2 additions & 0 deletions TileFormats/Instanced3DModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ If the glTF asset is embedded, it must be 8-byte aligned so that glTF's byte-ali

`.i3dm`

The file extension is optional. Valid implementations ignore it and identify a content's format by the `magic` field in its header.

## MIME Type

_TODO, [#60](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/60)_
Expand Down
2 changes: 2 additions & 0 deletions TileFormats/PointCloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ See the [Batch Table](../BatchTable/README.md) reference for more information.

`.pnts`

The file extension is optional. Valid implementations ignore it and identify a content's format by the `magic` field in its header.

## MIME Type

_TODO, [#60](https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/60)_
Expand Down

0 comments on commit fb494ad

Please sign in to comment.