Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Changes are grouped as follows:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## TBD

### Added

- The (alpha) scene data model which is used for storing 3D scenes

## [0.4.9] - 2025-02-20

No changes to templates.
Expand Down
7 changes: 7 additions & 0 deletions cdf.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ run = true
purge = true
dump = true

[[my_resource_folders]]
[scene]
space = "scene"
externalId = "scene_data_model"
version = "1"
type = "datamodel"

[modules]
# This is the version of the modules. It should not be changed manually.
# It will be updated by the 'cdf modules upgrade' command.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
space: {{ schemaSpace }}
externalId: Cdf3dRevisionProperties
name: Cdf3dRevisionProperties
properties:
revisionId:
type:
list: false
type: int64
immutable: false
nullable: false
autoIncrement: false
name: revisionId
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
space: {{ schemaSpace }}
externalId: EnvironmentMap
name: EnvironmentMap
properties:
isSpherical:
type:
list: false
type: boolean
immutable: false
nullable: false
autoIncrement: false
name: isSpherical
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
space: {{ schemaSpace }}
externalId: Image360CollectionProperties
name: Image360CollectionProperties
properties:
image360CollectionExternalId:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: false
autoIncrement: false
name: image360CollectionExternalId
image360CollectionSpace:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: false
autoIncrement: false
name: image360CollectionSpace
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
space: {{ schemaSpace }}
externalId: Image360CollectionScene
name: Image360CollectionScene
properties:
model3d:
type:
list: false
type: direct
immutable: false
nullable: true
autoIncrement: false
name: model3d
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
space: {{ schemaSpace }}
externalId: SceneConfiguration
name: SceneConfiguration
properties:
name:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: false
autoIncrement: false
name: name
description:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: true
autoIncrement: false
name: description
cameraTranslationX:
type:
list: false
type: float64
immutable: false
nullable: false
autoIncrement: false
name: cameraTranslationX
cameraTranslationY:
type:
list: false
type: float64
immutable: false
nullable: false
autoIncrement: false
name: cameraTranslationY
cameraTranslationZ:
type:
list: false
type: float64
immutable: false
nullable: false
autoIncrement: false
name: cameraTranslationZ
cameraEulerRotationX:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: cameraEulerRotationX
cameraEulerRotationY:
type:
list: false
type: float64
immutable: false
nullable: false
autoIncrement: false
name: cameraEulerRotationY
cameraEulerRotationZ:
type:
list: false
type: float64
immutable: false
nullable: false
autoIncrement: false
name: cameraEulerRotationZ
cameraTargetX:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: cameraTargetX
cameraTargetY:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: cameraTargetY
cameraTargetZ:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: cameraTargetZ
latitude:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: latitude
longitude:
type:
list: false
type: float64
immutable: false
nullable: true
autoIncrement: false
name: longitude
createdBy:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: true
autoIncrement: false
name: createdBy
updatedAt:
type:
list: false
type: timestamp
immutable: false
nullable: true
autoIncrement: false
name: updatedAt
updatedBy:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: true
autoIncrement: false
name: updatedBy
thumbnailFile:
type:
list: false
type: file
immutable: false
nullable: true
autoIncrement: false
name: file
skybox:
type:
list: false
type: direct
immutable: false
nullable: true
autoIncrement: false
name: skybox
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
space: {{ schemaSpace }}
externalId: TexturedMap
name: TexturedMap
properties:
label:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: false
autoIncrement: false
name: label
file:
type:
list: false
type: file
immutable: false
nullable: true
autoIncrement: false
name: file
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
space: {{ schemaSpace }}
externalId: TexturedPlane
name: TexturedPlane
properties:
wrapping:
type:
list: false
collation: ucs_basic
type: text
immutable: false
nullable: true
autoIncrement: false
name: wrapping
repeatU:
type:
list: false
type: int64
immutable: false
nullable: true
autoIncrement: false
name: repeatU
repeatV:
type:
list: false
type: int64
immutable: false
nullable: true
autoIncrement: false
name: repeatV
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
space: {{ schemaSpace }}
description: Space for storing 3D scene data model and instances
name: {{ schemaSpace }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
space: {{ schemaSpace }}
externalId: scene_data_model
name: SceneConfiguration
description: This is the data model used for storing 3D scenes
version: '1'
views:
- space: {{ schemaSpace }}
externalId: SceneConfiguration
version: v1
type: view
- space: {{ schemaSpace }}
externalId: Image360CollectionProperties
version: v1
type: view
- space: {{ schemaSpace }}
externalId: RevisionProperties
version: v1
type: view
- space: {{ schemaSpace }}
externalId: EnvironmentMap
version: v1
type: view
- space: {{ schemaSpace }}
externalId: TexturedMap
version: v1
type: view
- space: {{ schemaSpace }}
externalId: TexturedPlane
version: v1
type: view
- space: {{ schemaSpace }}
externalId: Image360CollectionScene
version: v1
type: view
- space: cdf_3d_schema
externalId: Cdf3dModel
version: '1'
type: view
- space: cdf_3d_schema
externalId: Cdf3dEntity
version: '1'
type: view
- space: cdf_3d_schema
externalId: Cdf3dConnectionProperties
version: '1'
type: view
- space: cdf_360_image_schema
externalId: Image360
version: v1
type: view
- space: cdf_360_image_schema
externalId: Image360Collection
version: v1
type: view
- space: cdf_360_image_schema
externalId: Station360
version: v1
type: view
- space: cdf_3d_schema
externalId: Transformation3d
version: v1
type: view
- space: cdf_3d_schema
externalId: CubeMap
version: v1
type: view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
space: {{ schemaSpace }}
externalId: EnvironmentMap
name: EnvironmentMap
implements:
- space: {{ schemaSpace }}
externalId: TexturedMap
version: v1
type: view
version: v1
properties:
label:
container:
space: {{ schemaSpace }}
externalId: TexturedMap
type: container
containerPropertyIdentifier: label
file:
container:
space: {{ schemaSpace }}
externalId: TexturedMap
type: container
containerPropertyIdentifier: file
isSpherical:
container:
space: {{ schemaSpace }}
externalId: EnvironmentMap
type: container
containerPropertyIdentifier: isSpherical
Loading