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

PropertyDescription

objects

materials

meshes

scene.json - Scene Inventory

PropertyDescription

layouts

materials

❌ deprecated, see model.json instead

objects

❌ deprecated, see model.json instead

triggers

tours

external_materials

surfaces

❌ deprecated, use external_textures instead

external_textures

external_objects

variations

tours

background_color

❌ deprecated, use background instead

lighting_*

❌ deprecated, use lights instead

background

Setup of the background effect

lights

Array of lights

effects

Array of effects, e.g. Ambient Occlusion

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

PropertyDescription

objects

number of objects

rendered_objects

number of rendered objects

rendered_instances

number of objects that use the same mesh

hierarchy_depth

deepest nesting level of objects

materials

number of materials

textures

number of textures

cubemaps

numbers of cubemaps

meshes

number of meshes

animations

number of animation clips

texels

pixels of all textures (including cubemaps)

texels_2d

pixels of 2D textures only (excluding cubemaps)

vertices

number of vertices

triangles

number of triangles

lightmaps

number of lightmaps

mesh_filesize

total size of all meshes in bytes

texture_filesize

total size of all textures (including cubemaps) in bytes

Last updated