1 /********************************************************************/
2 /* STRIPE: converting a polygonal model to triangle strips
5 Advisors: Steven Skiena and Amitabh Varshney
7 /********************************************************************/
9 /*---------------------------------------------------------------------*/
11 -----------------------------------------------------------------------*/
17 #define MAGNITUDE 1000000
19 void Output_Tri(int id1, int id2, int id3,FILE *bands, int color1,
20 int color2, int color3,BOOL end);
22 int Polygon_Output(P_ADJACENCIES temp,int face_id,int bucket,
23 ListHead *pListHead, BOOL first, int *swaps,
24 FILE *bands,int color1,int color2,int color3,
25 BOOL global, BOOL end);
27 void Extend_Backwards();
28 int Finished(int *swap, FILE *output, BOOL global);
29 int Extend_Face(int face_id,int e1,int e2,int *swaps,FILE *bands,
30 int color1,int color2,int color3,int *vert_norm, int normals,
31 int *vert_texture, int texture);