Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -232,6 +232,8 @@ export async function initializeViewer(config, instanceId) {
|
|
| 232 |
app.root.addChild(presentoirEntity);
|
| 233 |
|
| 234 |
if(!espace_expo_bool){
|
|
|
|
|
|
|
| 235 |
let matSol = new pc.StandardMaterial();
|
| 236 |
matSol.blendType = pc.BLEND_NONE;
|
| 237 |
matSol.emissive = new pc.Color(color_bg);
|
|
|
|
| 232 |
app.root.addChild(presentoirEntity);
|
| 233 |
|
| 234 |
if(!espace_expo_bool){
|
| 235 |
+
|
| 236 |
+
const grilleTex = loadImageAsTexture("https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg", app);
|
| 237 |
let matSol = new pc.StandardMaterial();
|
| 238 |
matSol.blendType = pc.BLEND_NONE;
|
| 239 |
matSol.emissive = new pc.Color(color_bg);
|