MikaFil commited on
Commit
3f99615
·
verified ·
1 Parent(s): 065d11b

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +2 -2
viewer.js CHANGED
@@ -227,7 +227,7 @@ export async function initializeViewer(config, instanceId) {
227
 
228
  if(!espace_expo_bool){
229
 
230
- const grilleTex = loadImageAsTexture("https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/test_tex.jpg", app);
231
  let matSol = new pc.StandardMaterial();
232
  matSol.blendType = pc.BLEND_NONE;
233
  matSol.emissive = new pc.Color([0.1,0.5,1]);
@@ -245,7 +245,7 @@ export async function initializeViewer(config, instanceId) {
245
 
246
  const bgPlane = new pc.Entity("Plane");
247
  bgPlane.addComponent("model", { type: "plane" });
248
- bgPlane.setLocalPosition(0, 0, 0);
249
  bgPlane.setLocalScale(10, 10, 10);
250
  bgPlane.model.material = matSol1;
251
  app.root.addChild(bgPlane);
 
227
 
228
  if(!espace_expo_bool){
229
 
230
+ const grilleTex = loadImageAsTexture('https://huggingface.co/datasets/MikaFil/3D_models/resolve/main/EARCARE/images/banniere_earcare.png', app);
231
  let matSol = new pc.StandardMaterial();
232
  matSol.blendType = pc.BLEND_NONE;
233
  matSol.emissive = new pc.Color([0.1,0.5,1]);
 
245
 
246
  const bgPlane = new pc.Entity("Plane");
247
  bgPlane.addComponent("model", { type: "plane" });
248
+ bgPlane.setLocalPosition(0, 0.1, 0);
249
  bgPlane.setLocalScale(10, 10, 10);
250
  bgPlane.model.material = matSol1;
251
  app.root.addChild(bgPlane);