added new skybox images

This commit is contained in:
Quicksticks-oss committed 2024-03-21 22:56:56 -04:00
1 parent 4afebbf5cf
commit 6fa93886b8
13 files changed
-18

No files matched your search

-18
View File
@@ -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.
Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB