mayo
mayo copied to clipboard
OBJ parser bug
See attached OBJ file. The parser complains:
Warning: invalid OBJ syntax at line 11996: Normal index is specified but no Normals nodes are defined
[...]
The first part is a lie, the 2nd is true.
The entire OBJ file only contains f vertex elements of the format f <index>// [...] where <index> is the vertex index and the two slashes indicate absence of any UV of normal data. I.e. there is no normal index specified anywhere.
This is an OBJ file exported from Wings3D. It opens fine anywhere else I tried.
After investigation, this appears to be an OpenCascade bug I've created this issue in OCCT GitHub repo: https://github.com/Open-Cascade-SAS/OCCT/issues/510