mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
Removed FF MPEG Added New Rendering code using web workers and zipping and uploading. Added a New endpoint to upload a bucket of frames.
30 lines
916 B
JavaScript
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 {
|