From 47f0961e222c4149dd248b89b1dae40eaf1c2458 Mon Sep 17 00:00:00 2001 From: yinsx Date: Mon, 5 Jan 2026 18:04:30 +0800 Subject: [PATCH] 1 --- examples/global-demo.html | 2 +- index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/global-demo.html b/examples/global-demo.html index 860ade3..c0b1936 100644 --- a/examples/global-demo.html +++ b/examples/global-demo.html @@ -20,7 +20,7 @@ env: { hdrPath: '/hdr/my.env', intensity: 1.2, rotationY: 0.3 }, }; - console.log(window.faceSDK, window.faceSDK && window.faceSDK.kernel); + const kernel = window.faceSDK && window.faceSDK.kernel; if (!kernel) { diff --git a/index.html b/index.html index c5acf87..39a5825 100644 --- a/index.html +++ b/index.html @@ -44,8 +44,8 @@ const config = { container: document.querySelector('#renderDom'), - modelUrlList: ['/public/model/model.glb'], - env: { envPath: '/public/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 }, + modelUrlList: ['https://sdk.zguiy.com/resurces/model/model.glb'], + env: { envPath: 'https://sdk.zguiy.com/resurces/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 }, }; kernel.init(config);