-
Notifications
You must be signed in to change notification settings - Fork 304
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
Normal index 12868 is out of bounds #243
Comments
@congtong can you upload the obj model so we can help debug? |
@congtong there's a few
Are you using Vectorworks? I saw a similar bug report in assimp: assimp/assimp#2428 |
It looks like assimp decided to coerce NaNs to 0s: assimp/assimp#2429 |
I'm also facing the same with but with a bit different message 'Normal index 47 is out of bounds' |
edsu
added a commit
to sul-dlss-labs/3d-eval
that referenced
this issue
Nov 7, 2023
There were a few obj files that contained some instructions which obj2gtfl was not able to recognize, which then through off the vertex indexing and caused the conversion to fail with an error: "Normal index ___ is out of bound" - hs903fr5133 - kn073qt9437 - pr756nc2659 - vr966cz0421 - vx600rw8369 - yg363gd9984 I found some information about it at CesiumGS/obj2gltf#243 To remediate the converter first creates a copy of the original .obj file, and edits "nan" values to "0.0" in the copy. This copy is then used to run the obj2gltf program.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I execute this command node obj2gltf/bin/obj2gltf.js -i model.obj -o box.gltf
An error like this occurs: Normal index 12868 is out of bounds
The text was updated successfully, but these errors were encountered: