Hi, (answer at bottom)

David Speyrer <[EMAIL PROTECTED]> said :

> This code assumes that every vertex in the solid can be referred to
> by a unique index, so a rectangular solid would have 8 verts with
> indices from 0 to 7. CreatePointIndexList fills out an array with the
> indices of verts on the given face in clockwise winding order.
> GetConnectionVertex returns the vertex between the two given edges.
> The code for CreatePointIndexList is below.

OK, I don't understand two things :( Now, I've managed to add the triangular
faces that are not referenced in the.map file and I only need to get the
"CreatePointIndexList" loop working...

As I've understood, all the vertices have an unique ID (set arbitrarly).
Then, the CreatePointIndexList returns the indexes of the vertices on the
face in clockwise winding order.

I've two questions...
        - how do I set the indexes of the vertices ? Is there a specifical
order ?
        - why is there a "GetConnectionVertex" function ?? As I've
understood, the edges are the extremity of the face. So, they are vertices
too ! And why would it be vertices BETWEEN them ?

Thanks for your answer(s) ;)

     - Cortex : HL Albator coder and mapper ( www.hlalbator.fr.st )
     - email : [EMAIL PROTECTED]  &  ICQ : 71548738



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to