Sign inSign up

jodurpar/christmas2

By jodurpar

•Updated almost 5 years ago

Image
0

126

jodurpar/christmas2 repository overview

#If needed, you can ask to me any cuestions about this configuration file in @JoseDuranPareja twitter user.

#Usage: {server}/?virtualWorldUrl={configuration file name}

⁠VirtualWorld JSON examples

⁠Debug

"debug":
{
	"active": false,
	"popup": false,
	"initialTab": 0
  }

⁠Title

"title": "Merry Cristmas!"

⁠Back texture

"backTexture": {
	"active": false,
	"imageUrl": "http://nginx:33800/christmas/assets/textures/galaxy2.jpg"
}

⁠SceneOptimization

"sceneOptimization": {
	"active": true,
	"type": "low",
	"fps": 30
}

⁠Camera

"camera": {
	"name": "Camera",
	"alpha": 0,
	"beta": 1,
	"radius": 450,
	"vector": {
		"x": 0,
		"y": 0,
		"z": 0
	}
}

⁠Visitors Book

"visitorsBook": {
	"active": true,
	"backgroundImage": "http://server/christmas/assets/logos/arrow.png"
}

⁠User interface

"userInterface": {
	"type": "interface",
	"active": true,
	"lines": [
		{
			"name": "Merry",
			"active": true,
			"text": "This is a test",
			"fontFamily": "Merry Christmas Star",
			"fontSize": 80,
			"top": 330,
			"color": "#3393ff",
			"alpha": 1
		},
		{
			"name": "Merry2",
			"active": true,
			"text": "text message",
			"fontFamily": "Dickensian Christmas",
			"fontSize": 80,
			"top": 420,
			"color": "yellow",
			"alpha": 1,
			"flipText": [
				"first message text",
				"second message text"
			],
			"interval": 10000
		}
	]
}

⁠Effects

⁠fireworks
	{
		"type": "fireworks",
		"active": true,
		"model": 1,
		"texture": "http://server/christmas/assets/textures/flare.png",
		"particleTexture": "http://server/christmas/assets/textures/flare.png",
		"scaling": {
				"scale": 10
			},
		"position": {
				"x": 100,
				"y": 100,
				"z": 100
			}
		}
⁠warpEffect
		{
			"type": "warpEffect",
			"active": false,
			"data": {
				"name": "meshName",
				"size": 200,
				"rotate": {
					"z": "0.19",
					"y": "0.19"
				},
				"position": {
					"x": 100,
					"y": 100,
					"z": 100
				},
				"updateTime": 0.001,
				"texture": "http://server/christmas/assets/textures/warpbase.png"
			}
		}
⁠starwarsWarpEffect
 {
  "type": "starwarsWarpEffect",
  "active": false,
  "data": {
  "name": "starwarswarprainEffect",
  "linesSystemName": "starwarswarpEffect",
  "dropNb": 500,
  "maxDropSize": 12.0,
  "area": 200.0,
  "altitude": 30.0,
  "minSpeed": 3.0,
  "maxSpeed": 6.0,
  "rotate": {
    "x": 45,
    "y": 15,
    "z": 0,
    "amount": 1
    }
  }
}

⁠World 3D

"active": true,
"showAxis": {
  "active" :false,
  "size" : 512
},
⁠HemisphericLight
	"HemisphericLight": {
		"name": "Hemi0",
		"move": {
			"position": 0,
			"value": 0.01,
			"min": -5,
			"max": 5
		},
		"direction": {
			"x": 0,
			"y": 1,
			"z": 1
		},
		"diffuse": {
			"x": 1,
			"y": 1,
			"z": 1
		},
		"specular": {
			"x": 1,
			"y": 1,
			"z": 1
		},
		"groundColor": {
			"x": 0,
			"y": 0,
			"z": 0
		}
	}
⁠Skybox
	"skyBox": {
		"active": true,
		"name": "sky",
		"size": 520,
		"texture": "http://server/christmas/assets/skybox/tropical/tropical"
	}
⁠SphericSky
	"sphericSky": {
		"active": true,
		"name": "sky",
		"size": 1534,
		"alpha": 0.8,
		"sideOrientation" : 2,
		"texture": "http://server/christmas/assets/skybox/tropical/tropical"
	}
⁠Ground
	"ground": {
		"active": false,
		"name": "myground",
		"type": "box",
		"texture": "http://server/christmas/assets/textures/snow.jpg",
		"useAutoRotationBehavior": true,
		"data": {
			"width": 512,
			"height": 8,
			"depth": 512,
			"quality": 10
		},
		"position": {
			"x": 0,
			"y": 0,
			"z": 0
		}
	}
⁠Ground from height map
	"groundFromHeightMap": {
		"active": false,
		"name": "SueloRelieve",
		"heightMap": "http://server/christmas/assets/HeightMaps/mallorcaUp.png",
		"subdivisions": 500,
		"texture": "http://server/christmas/assets/textures/ground.jpg",
		"useAutoRotationBehavior": true,
		"width": 512,
		"height": 512,
		"minHeight": 1,
		"maxHeight": 100,
		"specularColor": {
			"r": 0,
			"g": 0,
			"b": 0
		},
		"position": {
			"x": 0,
			"y": -18
		}
	}
⁠Water
	"water": {
		"active": false,
		"name": "water",
		"render": "ground",
		"width": 512,
		"height": 512,
		"subdivisions": 16,
		"texture": "http://server/christmas/assets/textures/waterbump.png",
		"type": "Water",
		"windForce": -10,
		"waveHeight": 0.1,
		"bumpHeight": 0.3,
		"windDirection": {
			"x": 1,
			"y": 1
		},
		"waterColor": {
			"r": 37,
			"g": 109,
			"b": 123
		},
		"colorBlendFactor": 0.0
	}
⁠Objects
⁠Meshes
[
		{
			"type": "meshes",
			"active": true,
			"meshes": [
				{
					"name": "meshtree",
					"active": true,
					"url": "http://server/christmas/assets/objetos/",
					"meshName": "mallorcacatedral.gltf.glb",
					"scaling": {
						"x": 0.1,
						"y": 0.1,
						"z": 0.1
					},
					"position": {
						"x": 0,
						"y": 8,
						"z": 0
					},
					"rotate": {
						"x": 45,
						"y": -35,
						"z": 56,
						"amount": 1
					}
				}
			]
		}
	]
⁠Running asteroid
	{
		"type": "runningasteroid",
		"active": true,
		"name": "sun",
		"diameter": 4,
		"segments": 8,
		"texture": "http://server/christmas/assets/textures/sun2.jpg",
		"particleTexture": "http://server/christmas/assets/textures/flare.png",
		"scaling": {
			"x": 2.5,
			"y": 2.5,
			"z": 2.5
		},
		"initialPosition": {
			"x": 240,
			"y": 100
		},
		"runningPosition": {
			"movex": 0.1,
			"leftx": -240,
			"rightx": 240
		}
	}
⁠Running custom asteroid
	{
		"type": "runningcustomasteroid",
		"active": true,
		"name": "sun",
		"mesh": "sphere",
		"diameter": 4,
		"segments": 8,
		"capacity": 500,
		"minEmitBox": {
			"x": 0,
			"y": 0,
			"z": 0
		},
		"maxEmitBox": {
			"x": 1,
			"y": 0,
			"z": 0
		},
		"minSize": 0.5,
		"maxSize": 1,
		"minLifeTime": 0.03,
		"maxLifeTime": 0.05,
		"emitRate": 1500,
		"minEmitPower": 1,
		"maxEmitPower": 3,
		"updateSpeed": 0.005,
		"runningPosition": {
			"movex": 0.1,
			"leftx": -240,
			"rightx": 240
		},
		"rotate": 0.01,
		"texture": "http://server/christmas/assets/textures/sun2.jpg",
		"particleTexture": "http://server/christmas/assets/textures/flare.png",
		"scaling": {
			"x": 2.5,
			"y": 2.5,
			"z": 2.5
		},
		"initialPosition": {
			"x": 240,
			"y": 100
		},
		"runningPosition": {
			"movex": 0.1,
			"leftx": -240,
			"rightx": 240
		}
	}
⁠Rain
		{
			"type": "rain",
			"active": false,
			"scaling": {
				"x": 25,
				"y": 25,
				"z": 25
			},
			"position": {
				"x": -100,
				"y": -300,
				"z": -100
			}
		}
⁠Snow
		{
			"type": "snow",
			"active": false,
			"autostart": true,
			"imageName": "http://server/christmas/assets//textures/flare.png",
			"minEmitBox": {
				"x": -250,
				"y": 250,
				"z": 250
			},
			"maxEmitBox": {
				"x": 250,
				"y": 200,
				"z": -250
			},
			"emitRate": 50,
			"speed": {
				"minEmitPower": 1,
				"maxEmitPower": 3,
				"updateSpeed": 0.1
			}
⁠Explosion
		{
			"type": "explosion",
			"active": true,
			"scaling": {
				"x": 25,
				"y": 25,
				"z": 25
			},
			"position": {
				"x": -100,
				"y": -300,
				"z": -100
			}
		}
⁠Ribbon
		{
			"type": "ribbon",
			"active": true,
			"scaling": {
				"x": 25,
				"y": 25,
				"z": 25
			},
			"position": {
				"x": 0,
				"y": 0,
				"z": 0
			}
		}
⁠Ambient music
		{
			"type": "music",
			"active": false,
			"name": "Music1",
			"file": "http://server/christmas/assets/sounds/ande-ande.mp3",
			"files": [
				"http://server/christmas/assets/sounds/ande-ande.mp3",
				"http://server/christmas/assets/sounds/25-de-diciembre-fam.mp3"
			],
			"loop": false,
			"autoplay": true
		}

Tag summary

Content type

Image

Digest

Size

290.3 MB

Last updated

almost 5 years ago

docker pull jodurpar/christmas2:v433