Hébergeur de fichiers indépendant

YR.js

À propos

Type de fichier
Fichier JS de 9 Ko (text/plain)
Confidentialité
Fichier public, envoyé le 7 octobre 2010 à 12:42, depuis l'adresse IP 90.2.x.x (France)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 3 jours
Statistiques
La présente page de téléchargement a été vue 693 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


{
	"objects": {
		"pylon": [{
			"fillColor": {
				"r": 255,
				"g": 0,
				"b": 0
			},
			"x": [35, -35, -35, 35],
			"y": [500, 500, -500, -500],
			"z": [35, 35, 35, 35]
		},
		{
			"fillColor": {
				"r": 255,
				"g": 0,
				"b": 0
			},
			"x": [-35, 35, 35, -35],
			"y": [500, 500, -500, -500],
			"z": [-35, -35, -35, -35]
		},
		{
			"fillColor": {
				"r": 255,
				"g": 0,
				"b": 0
			},
			"x": [-35, -35, -35, -35],
			"y": [500, 500, -500, -500],
			"z": [35, -35, -35, 35]
		},
		{
			"fillColor": {
				"r": 255,
				"g": 0,
				"b": 0
			},
			"x": [35, 35, 35, 35],
			"y": [500, 500, -500, -500],
			"z": [-35, 35, 35, -35]
		}],
		"light": [{
			"fillColor": {
				"r": 64,
				"g": 64,
				"b": 64
			},
			"x": [30, -30, -30, 30],
			"y": [500, 500, 450, 450],
			"z": [30, 30, 30, 30],
			"zIndexOffset": 500
		},
		{
			"fillColor": {
				"r": 64,
				"g": 64,
				"b": 64
			},
			"x": [-30, 30, 30, -30],
			"y": [500, 500, 450, 450],
			"z": [-30, -30, -30, -30],
			"zIndexOffset": 500
		},
		{
			"fillColor": {
				"r": 64,
				"g": 64,
				"b": 64
			},
			"x": [-30, -30, -30, -30],
			"y": [500, 500, 450, 450],
			"z": [30, -30, -30, 30],
			"zIndexOffset": 500
		},
		{
			"fillColor": {
				"r": 64,
				"g": 64,
				"b": 64
			},
			"x": [30, 30, 30, 30],
			"y": [500, 500, 450, 450],
			"z": [-30, 30, 30, -30],
			"zIndexOffset": 500
		},
		{
			"fillColor": {
				"r": 1024,
				"g": 1024,
				"b": 1024
			},
			"noShading": true,
			"alwaysVisible": true,
			"x": [30, -30, -30, 30],
			"y": [450, 450, 450, 450],
			"z": [30, 30, -30, -30],
			"zIndexOffset": 500
		}]
	},
	"geometry": [{
		"type": "poly",
		"fillColor": {
			"r": 64,
			"g": 64,
			"b": 64
		},
		"x": [-1500, -550, -550, -1500],
		"y": [500, 500, -500, -500],
		"z": [1500, 1500, 1500, 1500],
		"image": {
			"src": "Lava lake.jpg",
			"x": -1000,
			"y": 0,
			"z": 1500,
			"angle": -90,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-500, 500, 500, -500],
		"y": [500, 500, -500, -500],
		"z": [1500, 1500, 1500, 1500],
		"image": {
			"src": "BD0.jpg",
			"x": 0,
			"y": 0,
			"z": 1500,
			"angle": -90,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [500, 1500, 1500, 500],
		"y": [500, 500, -500, -500],
		"z": [1500, 1500, 1500, 1500],
		"image": {
			"src": "OC 5.jpg",
			"x": 1000,
			"y": 0,
			"z": 1500,
			"angle": -90,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [1500, 1500, 1500, 1500],
		"y": [500, 500, -500, -500],
		"z": [1500, 500, 500, 1500],
		"image": {
			"src": "OC 4.jpg",
			"x": 1500,
			"y": 0,
			"z": 1000,
			"angle": -180,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [1500, 1500, 1500, 1500],
		"y": [500, 500, -500, -500],
		"z": [500, -500, -500, 500],
		"image": {
			"src": "OC 2.jpg",
			"x": 1500,
			"y": 0,
			"z": 0,
			"angle": -180,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [1500, 1500, 1500, 1500],
		"y": [500, 500, -500, -500],
		"z": [-500, -1500, -1500, -500],
		"image": {
			"src": "OC 1.jpg",
			"x": 1500,
			"y": 0,
			"z": -1000,
			"angle": -180,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [1500, 500, 500, 1500],
		"y": [500, 500, -500, -500],
		"z": [-1500, -1500, -1500, -1500],
		"image": {
			"src": "B3d 7.jpg",
			"x": 1000,
			"y": 0,
			"z": -1500,
			"angle": 90,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [500, 200, 200, 500],
		"y": [500, 500, -500, -500],
		"z": [-1500, -1500, -1500, -1500]
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-200, -500, -500, -200],
		"y": [500, 500, -500, -500],
		"z": [-1500, -1500, -1500, -1500]
	},
	{
		"type": "poly",
		"href": "room-geometry-1.js",
		"fillColor": {
			"r": 0,
			"g": 0,
			"b": 0
		},
		"x": [200, -200, -200, 200],
		"y": [200, 200, -500, -500],
		"z": [-1600, -1600, -1600, -1600],
		"zIndexOffset": 500,
		"exitX": 0,
		"exitZ": -1500
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [200, -200, -200, 200],
		"y": [500, 500, 200, 200],
		"z": [-1500, -1500, -1500, -1500]
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [200, 200, 200, 200],
		"y": [200, 200, -500, -500],
		"z": [-1500, -1600, -1600, -1500],
		"zIndexOffset": -500
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-200, -200, -200, -200],
		"y": [200, 200, -500, -500],
		"z": [-1600, -1500, -1500, -1600],
		"zIndexOffset": -500
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-500, -1500, -1500, -500],
		"y": [500, 500, -500, -500],
		"z": [-1500, -1500, -1500, -1500],
		"image": {
			"src": "B3d 2.jpg",
			"x": -1000,
			"y": 0,
			"z": -1500,
			"angle": 90,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-1500, -1500, -1500, -1500],
		"y": [500, 500, -500, -500],
		"z": [-1500, -500, -500, -1500],
		"image": {
			"src": "B3d 3.jpg",
			"x": -1500,
			"y": 0,
			"z": -1000,
			"angle": 0,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-1500, -1500, -1500, -1500],
		"y": [500, 500, -500, -500],
		"z": [-500, 500, 500, -500],
		"image": {
			"src": "B3d 0.jpg",
			"x": -1500,
			"y": 0,
			"z": 0,
			"angle": 0,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-1500, -1500, -1500, -1500],
		"y": [500, 500, -500, -500],
		"z": [500, 1500, 1500, 500],
		"image": {
			"src": "Lava lake 3.jpg",
			"x": -1500,
			"y": 0,
			"z": 1000,
			"angle": 0,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "object",
		"ref": "pylon",
		"x": -280,
		"y": 0,
		"z": 280
	},
	{
		"type": "object",
		"ref": "pylon",
		"x": 280,
		"y": 0,
		"z": 280
	},
	{
		"type": "object",
		"ref": "pylon",
		"x": -280,
		"y": 0,
		"z": -280
	},
	{
		"type": "object",
		"ref": "pylon",
		"x": 280,
		"y": 0,
		"z": -280
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-500, -500, -500, -500],
		"y": [500, 500, -500, -500],
		"z": [500, 1500, 1500, 500],
		"zIndexOffset": -100,
		"image": {
			"src": "Et eggs.jpg",
			"x": -500,
			"y": 0,
			"z": 1000,
			"angle": 0,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 196,
			"g": 196,
			"b": 196
		},
		"x": [-550, -550, -550, -550],
		"y": [500, 500, -500, -500],
		"z": [1500, 500, 500, 1500],
		"zIndexOffset": -100,
		"image": {
			"src": "Lava lake 2.jpg",
			"x": -550,
			"y": 0,
			"z": 1000,
			"angle": -180,
			"distView": 400,
			"zoom": 1
		}
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 512,
			"g": 512,
			"b": 512
		},
		"x": [-550, -500, -500, -550],
		"y": [500, 500, -500, -500],
		"z": [500, 500, 500, 500]
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 0,
			"g": 0,
			"b": 0,
			"alpha": 0.1
		},
		"x": [-1500, -550, -550],
		"y": [-500, -500, -500],
		"z": [1500, 1500, 500],
		"zIndexOffset": 500,
		"noShading": true,
		"alwaysVisible": true
	},
	{
		"type": "poly",
		"fillColor": {
			"r": 0,
			"g": 0,
			"b": 0,
			"alpha": 0.1
		},
		"x": [-550, -550, -1500],
		"y": [500, 500, 500],
		"z": [500, 1500, 1500],
		"zIndexOffset": 600,
		"noShading": true,
		"alwaysVisible": true
	},
	{
		"type": "object",
		"ref": "light",
		"x": 0,
		"y": 0,
		"z": 1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": 1000,
		"y": 0,
		"z": 1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": 1000,
		"y": 0,
		"z": 0
	},
	{
		"type": "object",
		"ref": "light",
		"x": 1000,
		"y": 0,
		"z": -1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": 0,
		"y": 0,
		"z": -1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": -1000,
		"y": 0,
		"z": -1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": -1000,
		"y": 0,
		"z": 0
	},
	{
		"type": "object",
		"ref": "light",
		"x": -1000,
		"y": 0,
		"z": -1000
	},
	{
		"type": "object",
		"ref": "light",
		"x": -1000,
		"y": 0,
		"z": 1000
	},
	{
		"type": "sprite",
		"src": "sp0.gif",
		"x": 0,
		"y": 300,
		"z": 0,
		"zoom": 1,
		"code": {
			"init": "this.ki=0;",
			"run": "this.ki+=0.025;this.pc.y=400*Math.cos(this.ki);"
		}
	}
],
	"params": {
		"groundColor": "#444",
		"horizonColor": "#000",
		"ceilingColor": "#aaa",
		"imagesPath": "../images/",
		"shadingLight": 350,
		"ambientLight": 0.25,
		"startZ": -1500,
		"targetZ": -1100
	}
}


Partager le fichier

Télécharger YR.js

Télécharger le fichier (9 Ko)