Models

CAD / 3D files are converted into Aura™ 3D Models – see the below specification on how an Aura™ model is structured.

Components

Any Aura™ 3D model consists of these parts:

Assets

  • BOM file

  • Mesh

  • Textures

  • Lightmaps

Meta Information

  • model.json – inventory of model components, like object tree and material list

  • scene.json – inventory of interactive scene components, see here: Framework » Components

  • meta.json – see here: Metadata

  • manifest.json – A list of all assets used in the model (Textures, Meshes, Cubemaps, Animations) with meta-data

  • stats.json – quick overview of model metadata

model.json - Model Inventory

scene.json - Scene Inventory

Example

{
	"lighting_color": "0,0,0", // deprecated, use lights instead
	"lighting_type": "dynamic", // deprecated, use lights instead
	"lighting_direction": "(0.0,0.0,0.0)", // deprecated, use lights instead
	"lighting_intensity": "0", // deprecated, use lights instead
	"background_color": "rgba(1.000, 1.000, 1.000, 1.000)", // deprecated, use background instead
	"background": {
		"type": "color",
		"color": "rgba(1.000, 1.000, 1.000, 1.000)"
	},
	"lights": [
		{
			"type": "lightmap",
			"intensity": 1.0
		},
		{
			"type": "ambient",
			"color": "20,55,55",
			"intensity": 0.5
		},
		{
			"type": "directional",
			"color": "255,200,200",
			"intensity": 1.0,
			"direction": "0.5,0.5,0.5"
		}
	]
	"layouts": 
			[
				"root"
			],
	"materials": 
		[
			"floor 1",
			"cloth_1",
			"base_material"
		],
	"objects": 
		[
			"/sofa-scene",
			"/Plane",
			"/sofa_4",
			"/sofa_4/back",
			"/sofa_4/back 1",
			"/sofa_4/back 2",
			"/sofa_4/base",
			"/sofa_4/left",
			"/sofa_4/legs",
			"/sofa_4/right",
			"/sofa_4/seat",
			"/sofa_4/seat 1",
			"/sofa_4/seat 2"
		],
	"triggers": 
		[],
	"tours": 
		[],
	"external_materials": 
		[],
	"surfaces": // deprecated, use external_textures instead
		[],
	"external_textures": 
		[],
	"variations": 
		[],
	"external_objects": 
		[],
}

stats.json

Last updated