Removed unused sdf files and no_image.png

This commit is contained in:
yanzexuan
2022-11-04 19:00:07 +08:00
parent 69900fcc5e
commit 0298c08a6e
4 changed files with 2 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -61,7 +61,7 @@
import { VRViewer } from "./demo/libs/gemini-viewer.esm.min.js";
const viewpointIds = ["viewpoint_1"];
const panoramaIds = ["panorama_1", "panorama_2", "panorama_3"];
const panoramaIds = ["panorama_1", "panorama_2"];
let activePanoramaIdIndex = 0; // used to switch between panoramas
// in order of right, left, up/top, down/bottom, front, back
const viewpoints = [{
@ -69,10 +69,6 @@
id: panoramaIds[0],
images: ["./demo/images/vr/vr_4/vr_1.jpg"],
thumbnails: [],
}, {
id: panoramaIds[2],
images: ["./demo/images/vr/no_image.png"],
thumbnails: [],
}],
id: viewpointIds[0],
name: "视点1",
@ -123,7 +119,7 @@
// there can be a better way to distinguish if a hotpoint is a viewpoint!
if (hotpoint.usedForSwitchingPanoramas) {
// find the target panoramaId
const targetPanoramaIdIndex = (++activePanoramaIdIndex) % 3;
const targetPanoramaIdIndex = (++activePanoramaIdIndex) % 2;
const panoramaId = panoramaIds[targetPanoramaIdIndex];
if (!viewer.findPanorama(viewpointIds[0], panoramaId)) {
viewer.addPanorama(viewpointIds[0], panoramaNoDecoration);

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB