Update app.py
Browse files
app.py
CHANGED
@@ -664,8 +664,6 @@ async(c, o, p, d, n, m)=>{
|
|
664 |
BABYLON.Engine.LastCreatedScene.meshes[BABYLON.Engine.LastCreatedScene.meshes.length-1].rotation.y = coords[o_[j]].heading / 180 * Math.PI;
|
665 |
BABYLON.Engine.LastCreatedScene.meshes[BABYLON.Engine.LastCreatedScene.meshes.length-1].rotation.z = -coords[o_[j]].pitch / 180 * Math.PI;
|
666 |
}*/
|
667 |
-
alert(document.getElementById("output_video").getElementsByTagName("video")[0].src);
|
668 |
-
alert(document.getElementById("depth_video").getElementsByTagName("video")[0].src);
|
669 |
|
670 |
const videoDome = new BABYLON.VideoDome(
|
671 |
"videoDome",
|
@@ -1007,7 +1005,9 @@ window.stop_recording = stop_recording;
|
|
1007 |
mesh.position.z = coords[counter].lat;
|
1008 |
mesh.position.x = coords[counter].lng;
|
1009 |
mesh.rotation.y = coords[counter].heading / 180 * Math.PI;
|
1010 |
-
mesh.rotation.z = coords[counter].pitch / 180 * Math.PI;
|
|
|
|
|
1011 |
|
1012 |
return mesh;
|
1013 |
}
|
|
|
664 |
BABYLON.Engine.LastCreatedScene.meshes[BABYLON.Engine.LastCreatedScene.meshes.length-1].rotation.y = coords[o_[j]].heading / 180 * Math.PI;
|
665 |
BABYLON.Engine.LastCreatedScene.meshes[BABYLON.Engine.LastCreatedScene.meshes.length-1].rotation.z = -coords[o_[j]].pitch / 180 * Math.PI;
|
666 |
}*/
|
|
|
|
|
667 |
|
668 |
const videoDome = new BABYLON.VideoDome(
|
669 |
"videoDome",
|
|
|
1005 |
mesh.position.z = coords[counter].lat;
|
1006 |
mesh.position.x = coords[counter].lng;
|
1007 |
mesh.rotation.y = coords[counter].heading / 180 * Math.PI;
|
1008 |
+
mesh.rotation.z = -coords[counter].pitch / 180 * Math.PI;
|
1009 |
+
|
1010 |
+
alert(mesh.position.z +" "+ mesh.position.x);
|
1011 |
|
1012 |
return mesh;
|
1013 |
}
|