libigl icon indicating copy to clipboard operation
libigl copied to clipboard

writeOBJ can take an arbitrary number of dimensions for vertices, but readOBJ can't

Open yig opened this issue 8 years ago • 2 comments

I can call writeOBJ on a vertex matrix which stores an arbitrary number of dimensions for each vertex, and it will write every dimension out to the OBJ file. However, readOBJ doesn't match this behavior and only supports vertices with three dimensions.

yig avatar Jan 26 '17 22:01 yig

I do not think libigl can draw more than 3 dimensions model

penghao94 avatar Feb 18 '17 09:02 penghao94

libigl is more than a mesh viewer, so I'm not too concerned whether the viewer can handle them.

I don't see a reason why not to load these objs (except that they're obviously non-standard so we're encouraging files that may crash/fail to read in other apps). A PR for this would be merged.

alecjacobson avatar Feb 24 '17 14:02 alecjacobson