jannessm / quadric-mesh-simplification

Fast python implementation of the quadric mesh simplification algorithm from http://mgarland.org/files/papers/quadrics.pdf
MIT License
103 stars 10 forks source link

Clarification on Documentation #16

Closed tjrichmond907 closed 1 year ago

tjrichmond907 commented 1 year ago

Hello thanks for working on this project, it is quite timely for my own project. For the arguments of positions and faces are the positions expected to be in any sort of order, i.e. should the positions be ordered to match their reference in the faces array? example: faces = [[1,4,5], [0,2,3]] should the positions then be: [[x,yz] (1), [x,y,z] (4), [x,y,z] (5),...] or is it [[x,z,y] (0), [x,y,z] (1), [x,y,z] (2),...]

tjrichmond907 commented 1 year ago

For anyone using after me, the positions should be ordered according to their original order. For my purposes, that was a node ID and they were originally ordered: [[x,y,z] (0), [x,y,z] (1), [x,y,z] (2),...].