VerticesStartIndex to each vertex index

  • Thread starter Thread starter Gromtar
  • Start date Start date
Status
Not open for further replies.
G

Gromtar

Guest
Hiho,

again i have some litle question  ;D

The thing is my english is not the best so im not sure if i understood the Wiki correct.

Im currently working on the p file and need to get the vertices.
The wiki says this "you have to add group.VerticesStartIndex to each vertex index".
does this means i have to add the group.VerticesStartIndex to each index i get from the polygon.VertexIndex?

Somthing like this
Code: [Select]
Code:
v1.x = vertices[groups[x].VerticesStartIndex + polygons[y].vi_1].x;


EDIT:
------------------------------------------------
Ok now its "half" working  ::)
Her face is just a hole  :?

tifa_head.jpg
 
Last edited:
Your polygons are inside-out. Flip your normals.
Backface culling is done on the winding and not the normals. So you may need to change the vertex order. An easy test is switching the backface culling off.
It could be that the face is intersecting the near clipping plane, so moving it back a bit may work.
 
Last edited:
Now i looks good  :)
ff7_heads.jpg


But the face groups are messed up
ff7_heads_faces.jpg


The heads are working but why does the faces look so broken  :o any ideas ?  ;)
 
Status
Not open for further replies.
Back
Top