Comments (5)
@emackey This issue has been popping up and we have an issue open for this CesiumGS/gltf-pipeline#242. I think this should get fixed in the near future.
from obj2gltf.
I believe this is because you have a vertex normal that has a magnitude of 0 on line 13.
from obj2gltf.
Perhaps the converter could do something more useful than throw an uncaught DeveloperError? Can it explain to the user what problem was found, and where?
Better yet, can't the converter just print out a warning and work around the problem with UNIT_Z or something? Real-world data is lumpy and has minor problems sprinkled around. Ordinary users want tools that can tolerate a few bad vectors. You could print a warning, you could put UNIT_Z or UNIT_Y, or you could even copy the zero-length normal through to the output along with the warning. Sure the model won't be perfect but the user will appreciate having it much more than a stack trace. The user would load the bad model into something else, see the misdirected normal vectors, and go fix their model instead of filing bug reports like this one. OK, rant over now, thanks for reading this far 😄
from obj2gltf.
This converts correctly once #49 is in, and mostly in part due to this fix: CesiumGS/cesium#5032
from obj2gltf.
Fixed in #49
from obj2gltf.
Related Issues (20)
- UV index 278144 is out of bounds HOT 2
- Blob is not defined at configureWebWorker HOT 5
- Loss of precision due to 32 bit floating point numbers
- Unlock cesium npm package from 1.84.0 HOT 2
- textures not loaded via mtl file HOT 2
- How can i use in Core PHP or LARAVEL?
- How to use obj2gltf at vite2?
- SyntaxError: Unexpected token '.' HOT 1
- losing colors when converting Obj->Glb/glTF HOT 1
- Install Error HOT 1
- include .mtl and textures in node js? HOT 1
- Add network path support
- JavaScript heap out of memory HOT 3
- Normal index 303 is out of bounds -causing socket hung and memory issue HOT 1
- Override texture flags not having any effect
- [suggestion] In obj2gltf, create a flag --doubleSidedMaterial to allow materials to be doubleSided regardless of transparency
- SyntaxError: Unexpected token '.' HOT 1
- glib? HOT 1
- Unpin mime and update to v4 or latest
- Emissive and base colors are incorrectly converted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obj2gltf.