-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello,
I am using threejs to render animation and i want to export this animation to video mp4.
When i want to use threecap library, i got an error :
TypeError: threecap__WEBPACK_IMPORTED_MODULE_7___default.a is not a constructor
And this is my code :
import THREEcap from 'threecap';
var threecap = new THREEcap({});
threecap.record({
width: 640,
height: 480,
fps: 25,
time: 10,
format: 'mp4',
//canvas: canvasDomElement, // optional, slowest
composer: this.renderer.domElement // optional, fastest
}).then(function(video) {
video.saveFile('myVideo.mp4');
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels