开发者

Papervision Render to Movie or Film Strip

开发者 https://www.devze.com 2022-12-14 08:57 出处:网络
I am looking BitmapViewport3D for rendering to a texture, and I am won开发者_如何学运维dering if there is a way to render to a movie or film strip for later viewing. Anything like that built into Pape

I am looking BitmapViewport3D for rendering to a texture, and I am won开发者_如何学运维dering if there is a way to render to a movie or film strip for later viewing. Anything like that built into PaperVision?


import org.papervision3d.materials.MovieAssetMaterial;
var material:MovieAssetMaterial = new MovieAssetMaterial("material",false,true);
plane = new Plane(material,500,500); scene.addChild(plane);

"material" is the linkage ID from the asset in the library that you want to apply as the material.


There is a way to do this... someone made a really cool library called FilmStrip.

I haven't tried it yet myself, but essentially it outputs each frame to a jpeg and you can turn it into a movie with ffmpeg etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号