Skip to content

OBJ parser bug #341

@virtualritz

Description

@virtualritz

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions