From a27f600a2658c327f79440d2e7bf767dc4aaf570 Mon Sep 17 00:00:00 2001 From: Thebarda Date: Fri, 2 Dec 2016 01:30:35 +0200 Subject: [PATCH] text --- images/textCouloir1.png | Bin 0 -> 12836 bytes scripts/demo.js | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 images/textCouloir1.png diff --git a/images/textCouloir1.png b/images/textCouloir1.png new file mode 100644 index 0000000000000000000000000000000000000000..cc646e1deb04ae34c8d03b47a50474264915d849 GIT binary patch literal 12836 zcmeHtWl&pP*LJG3Xbra-(BdVyw$S3z7Wd*#a3|D&QmnW`fg%BdI|Pbbfffmpk`xOP z2pR$ek~h7dXTEv=d_UfI=KJ%_lbOt!lbmz*-q%`Zt#w^%N4?Zmp`m1<1ONauYO2p) z0{~a<000*=uU#bn@;yT_gM7H){aQs4P&vl7K|Zv>1yf1sEX`8o6+0^=AW(724 z`%P!G&7C=)g`Eo0p26a=e=9^*anOBxmk>0FE2ORsvP`~ZL zgOuPC%VR_ujoTqFYvTfq5Hn(hj)S%k>zsn2n4`7&IUN8Sl2o$GFR&m+wonU9Da^f= zBl+SZb7H=TTy<3DQyJDN<<4n0@ZC!Z8e%KQe7A@x_EBac=qrW7YJ2COnwm&tlJY%m?Agntg&<7ui} zdM^OGZ{yjRobow6tK4qXRjxuF)<2dF=1-l775n()hudlF1jwfI?pbK9(n9s*lbso= z8n!QG9b76m{@6MBHAn=9UXjie)6x%8D4Gil%`VuGhT*}CfpXeBx0b_zl8f^{t=0vr?yjs+GrV`j*ip%T7ET= zto5|7G!U;Kyw;b4u%rq!i^&+8+7;a&_DZ=?z;b6^Ea~{*lM!aaKs+&Ou7b@3Wm%$%94{pMjhclI82J(afD z)WhX37luKr0Vmh@O5W4>9vP&&^TGOJ@YV+E8r_oUqc5*>`&COO6(iEXb)e*LK_Q~1 zK`$aVGM!<%&(uoq`4+M|pq(c#)VIRZJMG|~sZv+V>h<)jDsL&eWxNeN#naY06kGOPSe}S6Zj<_^Dj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js +++ b/scripts/demo.js @@ -142,6 +142,9 @@ function createDemoScene(scene) { /*--------------COULOIR 1--------------------*/ + var textCouloir1 = new BABYLON.StandardMaterial("texture3", scene); + textCouloir1.diffuseTexture = new BABYLON.Texture("images/textCouloir1.png", scene); + var groundCouloir1 = BABYLON.Mesh.CreateGround("groundCouloir1", 10, 20, 2, scene); groundCouloir1.material = new BABYLON.StandardMaterial("gMaterial", scene); groundCouloir1.material = groundMaterial; @@ -149,10 +152,11 @@ function createDemoScene(scene) { groundCouloir1.checkCollisions = true; var mur1Couloir1 = BABYLON.Mesh.CreatePlane("mur1Couloir1", 20, scene); + mur1Couloir1.material = textCouloir1; mur1Couloir1.rotation.y = Math.PI / 2; mur1Couloir1.position.z = 35; mur1Couloir1.position.x = 5; - mur1Couloir1.visibility = 0; + mur1Couloir1.visibility = 1; mur1Couloir1.checkCollisions = true; var mur2Couloir1 = BABYLON.Mesh.CreatePlane("mur2Couloir1", 20, scene);