mayo icon indicating copy to clipboard operation
mayo copied to clipboard

OBJ parser bug

Open virtualritz opened this issue 8 months ago • 1 comments

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.

test.zip

virtualritz avatar Apr 19 '25 19:04 virtualritz

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

HuguesDelorme avatar Apr 28 '25 14:04 HuguesDelorme