diff --git a/app/pages/PageEnigma/js/editor.js b/app/pages/PageEnigma/js/editor.js index 18b56409ce..dbbf2a6553 100644 --- a/app/pages/PageEnigma/js/editor.js +++ b/app/pages/PageEnigma/js/editor.js @@ -356,7 +356,6 @@ class Editor { async stopPlayback() { this.render_mode(); - let ffmpeg = createFFmpeg({ log: true }); await ffmpeg.load(); for (let index = 0; index < this.frame_buffer.length; index++) { @@ -364,15 +363,11 @@ class Editor { await ffmpeg.FS('writeFile', `image${index}.png`, await fetchFile(element)); } await ffmpeg.run('-framerate', ''+this.cap_fps, '-i', 'image%d.png', 'output.mp4'); - let output = await ffmpeg.FS('readFile', 'output.mp4'); - //await ffmpeg.FS('unlink', 'output.mp4') // Create a Blob from the output file for downloading const blob = new Blob([output.buffer], { type: 'video/mp4' }); const url = URL.createObjectURL(blob); - await this.api_manager.uploadMedia(blob, "output.mp4"); - // Create a link to download the file const downloadLink = document.createElement('a'); downloadLink.href = url; @@ -382,9 +377,6 @@ class Editor { // Clean up URL.revokeObjectURL(url); document.body.removeChild(downloadLink); - //await ffmpeg.FS('unlink', 'input.mp4'); - //await ffmpeg.FS('unlink', 'output.mp4'); - } startPlayback() { @@ -421,16 +413,6 @@ class Editor { _initialize_recording() { this.frame_buffer = []; this.render_timer = 0; - //this.capturer = new CCapture({ - // verbose: true, - // display: true, - // framerate: this.cap_fps, - // quality: 100, - // format: 'webm', - // frameLimit: 0, - // autoSaveTime: 0 - //}); - //this.capturer.start(); } // Debug stats using ThreJS built in FPS and MS counter. diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_0_FrontZ.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_0_FrontZ.png new file mode 100644 index 0000000000..92acc93dec Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_0_FrontZ.png differ diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_1_Back-Z.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_1_Back-Z.png new file mode 100644 index 0000000000..cf2d1bab23 Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_1_Back-Z.png differ diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_2_LeftX.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_2_LeftX.png new file mode 100644 index 0000000000..37b59aca33 Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_2_LeftX.png differ diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_3_Right-X.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_3_Right-X.png new file mode 100644 index 0000000000..2f7a17cf79 Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_3_Right-X.png differ diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_4_UpY.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_4_UpY.png new file mode 100644 index 0000000000..6fca514668 Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_4_UpY.png differ diff --git a/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_5_Down-Y.png b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_5_Down-Y.png new file mode 100644 index 0000000000..24bcc5722e Binary files /dev/null and b/public/resources/skybox/gray/Sky_AllSky_Overcast4_Low_Cam_5_Down-Y.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_0_FrontZ.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_0_FrontZ.png new file mode 100644 index 0000000000..b818ec33a6 Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_0_FrontZ.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_1_Back-Z.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_1_Back-Z.png new file mode 100644 index 0000000000..e2ee89ea07 Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_1_Back-Z.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_2_LeftX.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_2_LeftX.png new file mode 100644 index 0000000000..f5ed79da91 Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_2_LeftX.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_3_Right-X.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_3_Right-X.png new file mode 100644 index 0000000000..cd6ff8c1f8 Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_3_Right-X.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_4_UpY.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_4_UpY.png new file mode 100644 index 0000000000..f51a3043de Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_4_UpY.png differ diff --git a/public/resources/skybox/night/Night_Moon_Burst_Cam_5_Down-Y.png b/public/resources/skybox/night/Night_Moon_Burst_Cam_5_Down-Y.png new file mode 100644 index 0000000000..dd77068493 Binary files /dev/null and b/public/resources/skybox/night/Night_Moon_Burst_Cam_5_Down-Y.png differ