Files
artcraft/playground/3jsDemo/enginepreprocessing.js
T
ArEnSc 04ec557da1 Feature-Streaming Frames and FFMPEG (#671)
Removed FF MPEG
Added New Rendering code using web workers and zipping and uploading.
Added a New endpoint to upload a bucket of frames.
2024-08-30 19:22:37 -04:00

30 lines
916 B
JavaScript

// if (this.engine_preprocessing) {
// // Normals
// this.setNormalMap();
// this.render_composer?.render();
// const normalRenderTask = this.videoAudioPreProcessor.retrieveFrame(
// this.rawRenderer,
// );
// this.engineFrameBuffers.normalFrames[this.renderIndex] =
// await normalRenderTask;
// // Depth
// this.setRenderDepth();
// this.render_composer?.render();
// const depthRenderTask = this.videoAudioPreProcessor.retrieveFrame(
// this.rawRenderer,
// );
// this.engineFrameBuffers.depthFrames[this.renderIndex] =
// await depthRenderTask;
// // Outline
// this.setOutlineRender();
// this.render_composer?.render();
// const outlineRenderTask = this.videoAudioPreProcessor.retrieveFrame(
// this.rawRenderer,
// );
// this.engineFrameBuffers.outlineFrames[this.renderIndex] =
// await outlineRenderTask;
// this.renderIndex += 1;
// } else {