|
@@ -97,7 +97,7 @@ class Panorama extends THREE.EventDispatcher{
|
|
|
1 ifShowMarker(marker显示开关) unvisible
|
|
1 ifShowMarker(marker显示开关) unvisible
|
|
|
0 pointcloudVisi(隐藏了数据集) unvisible
|
|
0 pointcloudVisi(隐藏了数据集) unvisible
|
|
|
*/
|
|
*/
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.panosData = o
|
|
this.panosData = o
|
|
|
|
|
|
|
|
this.originPosition = new THREE.Vector3().copy(o.pose.translation)
|
|
this.originPosition = new THREE.Vector3().copy(o.pose.translation)
|
|
@@ -192,7 +192,7 @@ class Panorama extends THREE.EventDispatcher{
|
|
|
loadTex(){
|
|
loadTex(){
|
|
|
if(this.skyboxTex || this.texLoading)return
|
|
if(this.skyboxTex || this.texLoading)return
|
|
|
this.texLoading = true
|
|
this.texLoading = true
|
|
|
- let src = `${Potree.settings.urls.prefix1}/images/${this.originID}.jpg` //`server\test\SS-t-P1d6CwREny2\${this.id}.jpg` //`${Potree.settings.urls.prefix1}/${Potree.settings.webSite}/${this.pointcloud.sceneCode}/data/${this.pointcloud.sceneCode}/depthmap/${this.originID}.png`
|
|
|
|
|
|
|
+ let src = this.panoData.imageSrc || `${Potree.settings.urls.prefix1}/images/${this.originID}.jpg` //`server\test\SS-t-P1d6CwREny2\${this.id}.jpg` //`${Potree.settings.urls.prefix1}/${Potree.settings.webSite}/${this.pointcloud.sceneCode}/data/${this.pointcloud.sceneCode}/depthmap/${this.originID}.png`
|
|
|
//console.log('开始下载depthImg', this.id)
|
|
//console.log('开始下载depthImg', this.id)
|
|
|
|
|
|
|
|
let startLoad = (src)=>{
|
|
let startLoad = (src)=>{
|