From f09b8ef4683831979054c296d301969a33ed6d9f Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Wed, 28 May 2025 17:26:32 -0700 Subject: [PATCH] Replace furry logo --- examples/assets.json | 8 ++------ examples/hello-world/carousel.html | 10 +--------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/examples/assets.json b/examples/assets.json index 473a6c9..871ad02 100644 --- a/examples/assets.json +++ b/examples/assets.json @@ -83,12 +83,8 @@ "url": "https://forge.dev/assets/images/butterfly.png", "directory": "images" }, - "furry.spz": { - "url": "https://forge.dev/assets/splats/furry.spz", - "directory": "splats" - }, - "pedestal.spz": { - "url": "https://forge.dev/assets/splats/pedestal.spz", + "furry-logo-pedestal.spz": { + "url": "https://forge.dev/assets/splats/furry-logo-pedestal.spz", "directory": "splats" }, "cat.spz": { diff --git a/examples/hello-world/carousel.html b/examples/hello-world/carousel.html index 5895f47..44e6efa 100644 --- a/examples/hello-world/carousel.html +++ b/examples/hello-world/carousel.html @@ -43,18 +43,11 @@ const ASSETS = [ { file: "butterfly.spz", scale: 1.2 }, - { file: "furry.spz", scale: 0.45 }, + { file: "furry-logo-pedestal.spz", scale: 0.45 }, { file: "forge.spz", scale: 1 }, ]; const assets = []; - const pedestalURL = await getAssetFileURL("pedestal.spz"); - const pedestalSplat = new SplatMesh({ url: pedestalURL }); - pedestalSplat.scale.set(0.4, 0.4, 0.4); - pedestalSplat.position.set(0, -2.25, -3); - pedestalSplat.opacity = 0.0; - scene.add(pedestalSplat); - for (let asset of ASSETS) { const splatURL = await getAssetFileURL(asset.file); const splat = new SplatMesh({ url: splatURL }); @@ -99,7 +92,6 @@ // fade in if (fadeIn !== null) { fadeIn += dt; - pedestalSplat.opacity = ASSETS[current].file === "furry.spz" ? 1 : 0; if (fadeIn < FADE_TIME) { assets[current].opacity = easeInOutSine(fadeIn / FADE_TIME); } else {