Commit 0e936497 authored by MARTIN Tanguy's avatar MARTIN Tanguy
Browse files

Upload Vars

parent ae2acf21
Pipeline #5197 passed with stage
in 14 seconds
var camera, scene, renderer, picture;
var cameraControls, effectController;
var clock = new THREE.Clock();
const vShader = loadShader('vertex');
const TextureLoader = new THREE.TextureLoader();
const OBJLoader = new THREE.OBJLoader();
var ambientLight, spotLight;
const couvertsMaterial = new THREE.MeshPhongMaterial({
color: 'darkgray',
shininess: 100,
flatShading: false,
transparent: false,
opacity: 1.0,
side: THREE.DoubleSide
});
var CharacterMaterialBase;
var characters = [];
const assiettesCoords = [
[0,-100],
[400,600],
[-400,600],
[600,1200],
[-600,1200]
];
var gridX = false;
var gridY = false;
var gridZ = false;
var axes = false;
var fireLightHelper = false;
var spotLightHelper = false;
var fireIntensity = 1;
var fireRed = 192;
var fireGreen = 90;
var fireBlue = 0;
var fireMaterial;
var fireLight;
var reverberIntensity = 1;
var reverberRed = 255;
var reverberGreen = 255;
var reverberBlue = 255;
const assietteGeometry = new THREE.CylinderGeometry(150,100,20,32);
const assietteMaterial = new THREE.MeshPhongMaterial({
color: 0xaaaaaa,
shininess: 100
});
const assietteMesh = new THREE.Mesh(assietteGeometry,assietteMaterial);
var assiettes;
var assiettesAngle = 0;
var littleBerniesValues = [
"Little Bernie",
"Dog",
"Penguin",
"Giraf"
];
var littleBerniesSpritesFront = [
TextureLoader.load('characters/conny_bunny_front.png'),
TextureLoader.load('characters/conny_dog_front.png'),
TextureLoader.load('characters/conny_penguin_front.png'),
TextureLoader.load('characters/conny_giraf_front.png')
];
var littleBerniesSpritesBack = [
TextureLoader.load('characters/conny_bunny_back.png'),
TextureLoader.load('characters/conny_dog_back.png'),
TextureLoader.load('characters/conny_penguin_back.png'),
TextureLoader.load('characters/conny_giraf_back.png')
];
var interactiveStates = {
openBook: true,
littleBernie: 0,
hideDemon: true
};
var gateY = 0;
var fourchette;
var fourchetteX = 30;
var fourchetteY = 18;
var fourchetteZ = -90;
var fourchetteAngleX = 0;
var fourchetteAngleY = 309.375;
var fourchetteAngleZ = 0;
// var fourchetteAngleY = 0;
var couteau;
var couteauX = 10;
var couteauY = 20;
var couteauZ = -50;
var couteauAngleX = 0;
var couteauAngleY = 40;
var couteauAngleZ = 0;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment