Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -234,7 +234,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 234 |
if(!espace_expo_bool){
|
| 235 |
//const grilleTex = await loadImageAsTexture('https://huggingface.co/datasets/MikaFil/3D_models/resolve/main/EARCARE/textures/emit_map_1k.png', app);
|
| 236 |
const grilleTex = new window.Image();
|
| 237 |
-
grilleTex.src = "https://huggingface.co/datasets/MikaFil/
|
| 238 |
let matSol = new pc.StandardMaterial();
|
| 239 |
matSol.blendType = pc.BLEND_NONE;
|
| 240 |
matSol.emissive = new pc.Color(color_bg);
|
|
|
|
| 234 |
if(!espace_expo_bool){
|
| 235 |
//const grilleTex = await loadImageAsTexture('https://huggingface.co/datasets/MikaFil/3D_models/resolve/main/EARCARE/textures/emit_map_1k.png', app);
|
| 236 |
const grilleTex = new window.Image();
|
| 237 |
+
grilleTex.src = "https://huggingface.co/datasets/MikaFil/viewer_gs/resolve/main/ressources/textures/grille_cadrillee_4k.jpg";
|
| 238 |
let matSol = new pc.StandardMaterial();
|
| 239 |
matSol.blendType = pc.BLEND_NONE;
|
| 240 |
matSol.emissive = new pc.Color(color_bg);
|