Skip to content

36. 使用 LumaSplatsThree 加载 splat 模型 ​

loading

使用 LumaSplatsThree 加载 splat 模型:

ts
const splat = new LumaSplatsThree({
    source: "https://lumalabs.ai/capture/da82625c-9c8d-4d05-a9f7-3367ecab438c",
});
splat.scale.set(110, 75, 110);
splat.position.copy(centerPosition).add(new THREE.Vector3(0, 123, 0));
splat.renderOrder = 10;
viewer.scene.add(splat);
图片1描述图片2描述
图片1描述图片2描述
图片1描述图片2描述
图片1描述图片2描述

Released under the MIT License.