Hello,
Having some difficult to understand the FBX PolygonVertexIntex function.
For instance a plane with 2 triangles gives the following :
PolygonVertexIndex: *6 {
a: 0,3,-3,0,1,-4
}
But I was more waiting about index from 0 to 3 (vertex count = 4)
I understand the negative value is the last index of a polygon and can be considered as positive value.
What is 4 is doing here?
Also the first 3 integers are 0,3,-3 and that should give 0,3,3 but a polygon looping on the same vertex sounds weird O_o...
I was more waiting for the something like :
PolygonVertexIndex: *6 {a: 0,1,2,0,2,3}
Does someone know more about the FBX format?
Also opened a thread on tech-artist :
http://tech-artists.org/forum/showthread.php?p=13624&posted=1#post13624
Replies
negativeIndex = (index * -1) - 1