-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] structured merge of scene files by pointer index dereferencing
- Loading branch information
Showing
11 changed files
with
841 additions
and
307 deletions.
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
source/server/__test_fixtures/documents/01_simple.svx.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"asset": { | ||
"type": "application/si-dpo-3d.document+json", | ||
"version": "1.0", | ||
"copyright": "(c) Holusion SAS, all rights reserved", | ||
"generator": "Voyager" | ||
}, | ||
"scene": 0, | ||
"scenes": [{ | ||
"nodes": [0, 1, 3], | ||
"setup": 0, | ||
"units": "cm" | ||
}], | ||
"nodes": [{ | ||
"camera": 0 | ||
}, { | ||
"name": "Lights", | ||
"children": [2] | ||
}, { | ||
"translation": [0, 0, 2], | ||
"rotation": [0.1, 0.2, 0.2, 0.8], | ||
"scale": [1, 1, 1], | ||
"name": "Key", | ||
"light": 0 | ||
}, { | ||
"name": "Model Name", | ||
"model": 0, | ||
"meta": 0 | ||
}], | ||
"cameras": [{ | ||
"type": "perspective", | ||
"perspective": { | ||
"yfov": 52, | ||
"znear": 0.1, | ||
"zfar": 100000 | ||
} | ||
}], | ||
"lights": [{ | ||
"color": [1, 0.95, 0.9], | ||
"intensity": 1, | ||
"type": "directional", | ||
"shadowEnabled": true | ||
}], | ||
"models": [{ | ||
"units": "mm", | ||
"boundingBox": { | ||
"min": [10, 10, 10], | ||
"max": [10, 10, 10] | ||
}, | ||
"derivatives": [ | ||
{ | ||
"usage": "Web3D", | ||
"quality": "High", | ||
"assets": [ | ||
{ | ||
"uri": "models/foo.glb", | ||
"type": "Model", | ||
"byteSize": 150, | ||
"numFaces": 25, | ||
"imageSize": 1 | ||
} | ||
] | ||
} | ||
] | ||
}], | ||
"metas":[ | ||
{ | ||
"collection": { | ||
"titles": { | ||
"EN": "Meta Title" | ||
} | ||
} | ||
} | ||
], | ||
"setups": [{ | ||
"units": "cm" | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.