wonderunit / storyboarder

✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
https://wonderunit.com/storyboarder
3.19k stars 297 forks source link

GLTF output from shot generator #1807

Open j2l opened 5 years ago

j2l commented 5 years ago

Is your feature request related to a problem? Please describe. kind of. My problem is to decide between Storyboarder and Blender fountain import script for an animation movie workflow (only for 2.79, it is getting abandoned). Blender 2.80 is mandatory in our workflow, but first steps could be done in Storyboarder. Actually, IMHO, your tool is better than blender itself to setup a scene.

Describe the solution you'd like File > Save scene as GLTF

Additional context AFAIU, "Open as VR" button starts a local threeJS server with the 3D model (FF only). And .storyboarder file is a JSON including the 3D characters with rotations info (GLTF style),

So it should be trivial if it's not against your strategical roadmap (muahahaha). Well I think you would get the blender community even more behind you and add new users to Storyboarder. Did I mention strategy?

P.S: Also File > export as ThreeJS project locally 😄 if it's not "possible", feel free to be honest.

setpixel commented 5 years ago

Dude - GLTF export of the scene is very possible actually. I think we should do it, and it will actually not be hard at all.

j2l commented 5 years ago

Sounds great Charles! Fantastic! Once updated, I'll write about this and I think others will do too.

Blender 2.8 has ONE major issue I think cannot be fixed: You can't add too many meshes anymore in the viewport. It becomes cluttered. I discovered that when working on a 4min animation movie with just 286 objects (285'000 visible vertices). Blender is now on its knees at 5 fps in blocking stage (no animation, no texture, solid render) in the viewport, forget about AV sync. So the global timeline of the movie could not be managed into blender as it is for now. Storyboarder to the rescue! (Baywatch intro)

About the threeJS server: Could you please communicate where the served files are located locally? And no cache segmented files 😸 BTW the IP address selected by default when open as VR is not the right one on my PC (it selected an IP for Virtualbox I think), and we should be able to change it.

audionerd commented 5 years ago

Could you please communicate where the served files are located locally?

IIRC They’ll be bundled with the Storyboarder binary in Electron’s using ASAR format. It’s possible to extract them but probably easier to download them from GitHub. Are you looking for the model files? If so, theres a separate models repo for those.

BTW the IP address selected by default when open as VR is not the right one on my PC (it selected an IP for Virtualbox I think)

Working on a fix for this in the next release.

j2l commented 5 years ago

Oh, I see. I wanted to see the threeJS + scene data setup for future use, not the Storyboarder models (I already know your other repo with the blend files). But getting gLTF scene export is already enough to rebuild using ThreeJS or BabylonJS.

Thanks again for your brilliant communication. It changes from some coders with some "communication disorder".

j2l commented 3 years ago

Hey guys, First, I wanted to let you know that my college pre-install storyboarder on PCs in Cinema classroom now!

I tried to export to GLTF but got no error message, nor GLB or GLTF file near the storyboarder file. I'm getting many errors like: image

Thanks!

audionerd commented 3 years ago

First, I wanted to let you know that my college pre-install storyboarder on PCs in Cinema classroom now!

Excellent!

Can you send us a ZIP of an example project which fails to export to GLTF? We can take a look.

j2l commented 3 years ago

EDIT : I found that when the developper window is present, it does export to GLB a scene with characters without any pose, props or weight, And mesh is made of triangles not quads.