-
Notifications
You must be signed in to change notification settings - Fork 311
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
Not working when used as a library inside an existing Node.js app #29
Comments
Can you try it out with a smaller obj? I totally agree that 25MB should be quick, but we have some optimization issues in https://github.com/AnalyticalGraphicsInc/gltf-pipeline which this project uses. |
@triceam any update here?
|
The speed should be significantly faster once I finish the obj2gltf cleanup and use the |
I have not had an opportunity to try with the latest... I'll have to revist this once I'm done updating the photogrammetry rendering server to the latest. |
Fixed in #49 Speeds should improve since |
I have a project that generates models using OpenDroneMap, and I'm trying to convert those .obj models to be viewable on the web. I can view the .obj models using meshlab without any issues. When I try to use
obj2gltf
to convert them as part of my workflow inside of a Node.js app, it does nothing. I never get any response from the promise (no success, no error), and no console output. It just hangs. I left it running for about 20 minutes to see if it was just taking a really long time, but finally killed it when nothing happened.My code looks like this:
My output only shows the file names, nothing else:
I assume this is just failing silently - there are no other indications of an error, and no stack trace. The .obj file is about 25 MB, which isn't tiny, but again, it also is not huge so I wouldn't expect it to take this long.
The text was updated successfully, but these errors were encountered: