This commit is contained in:
@ -20,7 +20,7 @@
|
|||||||
env: { hdrPath: '/hdr/my.env', intensity: 1.2, rotationY: 0.3 },
|
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;
|
const kernel = window.faceSDK && window.faceSDK.kernel;
|
||||||
if (!kernel) {
|
if (!kernel) {
|
||||||
|
|||||||
@ -44,8 +44,8 @@
|
|||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
container: document.querySelector('#renderDom'),
|
container: document.querySelector('#renderDom'),
|
||||||
modelUrlList: ['/public/model/model.glb'],
|
modelUrlList: ['https://sdk.zguiy.com/resurces/model/model.glb'],
|
||||||
env: { envPath: '/public/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
|
env: { envPath: 'https://sdk.zguiy.com/resurces/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
|
||||||
};
|
};
|
||||||
|
|
||||||
kernel.init(config);
|
kernel.init(config);
|
||||||
|
|||||||
Reference in New Issue
Block a user