Step 1 - Scene

This page provides details about scene.json and its underlying validation rules along with a sample scene.json file of a Bowling Alley VR Scene for your review.

Here is the scene.json template that is to be used for filling the scene requirement specifications.

{
   "_scenename":"",
   "_sid":"",
   "_slabel":"",
      "_playarea":{
      "#pid":"",
      "#length_playarea":"",
      "#breadth_playarea":"",
      "#height_playarea":"",
	  "#comment":"",
	  "#x_scenecenter":"",
      "#y_scenecenter":"",
      "#z_scenecenter":""
   
	  },   
   "_camera":
  { 
     "IsSceneObject":"",
     "trackingorigin":""
   },
   "_initialcamerapos":{
      "#x_initialcamerapos":"0",
      "#y_initialcamerapos":"5",
      "#z_initialcamerapos":"0"
   },
   "_viewport":{
      "#x_viewport":"",
      "#y_viewport":"",
      "#w_viewport":"",
	  "#h_viewport":""
	 },
	"_clippingplane":{
	"near_cp":"",
	"far_cp":""
	}, 
   "_horizon":"",
   "_dof":"",
   "_skybox":"",
   "_controllers":
	{
		"type":"", 
		"raycast":"", 
		"raydistance":"", 
		"raythinkness":"", 
		"raycolor":"", 
		"raytype":""
		},
   "_gravity":{
     "value":""
   },
   "_interaction":"",
   "_nestedscene":{
      "#value":"",
      "#scenecount":"",
      "#sid_order":""
   },
   "_audio":"",
   "_timeline":"",
   "_Opttxt1":"",
   "@context_mock":"",
   "usertype":[
   {
	 "type": "",
	 "uplayarea":{
	 "#length_uplayarea":"",
     "#breadth_uplayarea":"",
	 "#height_uplayarea":""
	},
	"initialupos":{
      "#x_initialupos":"",
      "#y_initialupos":"",
      "#z_initialupos":""
		},
		"uplayareacenter":{
	  "#x_uplayareacenter":"",
      "#y_uplayareacenter":"",
      "#z_uplayareacenter":""
	  }
   },
	  {
	 "type": "",
	 "uplayarea":{
	 "#length_uplayarea":"",
     "#breadth_uplayarea":"",
	 "#height_uplayarea":""
	},
	"initialupos":{
      "#x_initialupos":"",
      "#y_initialupos":"",
      "#z_initialupos":""
		},
		"uplayareacenter":{
	  "#x_uplayareacenter":"",
      "#y_uplayareacenter":"",
      "#z_uplayareacenter":""
	  }
	  }
	]
}

Here is the scenevalidator.json with details about each specification along with its usage

Here is a sample scene.json file for a Bowling Alley VR Scene.

Last updated