Hi,
I don’t know if this is the right forum to ask this, but here goes.
A friend sent me an extracted data of a triangle strip and ask me to write a Wavefront OBJ converter for it. Currently I’m at loss of how to interpret the face indices cos there’s many consecutive indices to the vertex array. Here’s a sample of the indices:
0, 1, 2, 3, 4, 5, 5, 6, 6, 0, 7, 2, 8, 4, 4, 9, 9, 9, 10, 7, 11, 8, 12, 4, 13, 5, 14, 14, 15, 15, 14, 16, 13, 12, 12, 17,...
AFAIK in a strip, except the 1st face, each face shares two vertices with the previous. So by that asumption, the face list should be:
(0, 1, 2), (1, 2, 3), (2, 3, 4), (3, 4, 5), (4, 5, 5), ...
Notice the last face which have it’s 2 vertices the same. It’s been verified that the the data come from a single strip.
Can anybody help me?
Thanks
PS: the friend is currently incommunicado.