-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello,
I'm amazed by this tech and would love to experiment with it on my own.
I was experimenting with your viewer and files. Thanks to the simple viewer I've managed to properly load and view using my little custom viewer in Unity still frame from 16 layers (ply files) and PNG atlas. But I couldn't get video to work.
How do I open fb file to view the series of meshes needed for video viewing? As far as I understood it's flatbuffers serialized object, and seems that to open it I would need to have a class definitions source file (which could be compiled to python, js, c# etc). Is it available?
As you've suggested I tried to play with the viewers using Chrome debug tools. I've tried to extract meshes from web video viewer by stopping code in this lines:
if (b != this.lastGopIndex_) {
if (0 == this.scene.children.length)
for (var d = 0; d < a.length; ++d) {
> var e = new THREE.Mesh(a[d].geometry,this.material_);
e.frustumCulled = !1;
this.scene.add(e)
and then using using THREE.PLYExporter on the created meshes.
Code is minified so it's kinda hard to find anything, extracted meshes are all perfectly spherical layers and have the same size. Seems like some sorts of displacement map needs to be applied, which I couldn't find. Maybe you have a tool to convert fb mesh stream to separate ply files which you could share? If so I would appreciate it.
Is the coder to create meshes and atlases is going to be released to public one day?