Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small drag-and-drop browser interface in the NPM package #20

Open
zellski opened this issue Oct 22, 2017 · 7 comments
Open

Small drag-and-drop browser interface in the NPM package #20

zellski opened this issue Oct 22, 2017 · 7 comments
Milestone

Comments

@zellski
Copy link
Contributor

zellski commented Oct 22, 2017

It would be immensely useful for artist workflows to be able to drag an FBX into a browser window and have it immediately available as a glTF file & a live preview. The NPM package already has a little API for executing the binaries in a cross-platform way. Adding the rest of the functionality should be relatively simple. We may be able to usefully harness the power of https://github.com/donmccurdy/three-gltf-viewer for effort-saving purposes.,

@zellski zellski added this to the 1.0 milestone Oct 25, 2017
@FreakTheMighty
Copy link
Contributor

I realize this is an old issue, but FWIW, I've switched from that three.js viewer to this babylon.js viewer. It is a pretty full featured 3D viewer that has many debug options.

@zellski
Copy link
Contributor Author

zellski commented Apr 30, 2019

It's an old issue, but the urge remain (mostly) undimmed. I do wish we could get the FBX SDK source so we could compile it into a completely in-browser experience (though it might be too slow, not sure). Until then it will rely on a local binary install (although that can be automated with NPM.)

And you're right, Babylon is an excellent glTF loader & general engine, and I often prefer the look of its PBR implementation (and/or its default lighting setup.)

@FreakTheMighty
Copy link
Contributor

Have you seen the debug window, it's sort of hidden away? That's been the killer feature for me.
image

@zellski
Copy link
Contributor Author

zellski commented Apr 30, 2019

Yeah, agreed. The only "problem" with great debug tooling in the viewer is that it makes it even more clear how nice it would be if such an interface was looped back to FBX2glTF conversion parameters -- convert, eyeball result, tweak setting, reconvert, ...

... but that's a pretty sad argument to have to make. :-)

@FreakTheMighty
Copy link
Contributor

@zellski rather than attempting to run it entirely client side, perhaps the project can be building a minimal dockerized client + server. I think its very reasonable then to provide a UI that allows the user to tweak setting and reconvert.

@zellski
Copy link
Contributor Author

zellski commented May 2, 2019

This is an aside from the Docker question, but if you haven't yet, please take a look at the ./npm subdirectory. There's already a installable NPM module that contains the three binaries and executes the right one, behind the scenes, behind a JavaScript interface. So little new work needs doing there.

@FreakTheMighty
Copy link
Contributor

I saw the npm directory, but for some reason I thought those were old binaries from the last github release. Are those in sync with the source code?

@zellski zellski modified the milestones: 1.0, 1.1 May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants