Hello!
If you can, please help me. I’ve read some paper about triangle strip generation and realized that the way of triangulation affect the succeeding triangle strip generation. Is it right? As I experienced, some type of triangulation generates such triangle meshes what are not really usable for opengl TRIANGLE_STRIP.
Q1: is there any triangulation method definetly for SGI triangle strip generation algorithm?
Q2: there are some object in my meshes what I can describe easily as a TRIANGLE_FAN(for example a half circle), but generally the object meshes could describe as TRIANGLE_STRIPs. I could write a display function with an argument which specify how to handle incoming data stream(TRIANGLE_STRIP or TRIANGLE_FAN) for drawing. But if I do this way can a many times executed
[ code ] "if (triangle_strip_handling) draw_trifaces_like_a_strip();
else draw_trifaces_like_a_fan(); [ /code]
slow down the performance? Do you have any idea to handle this?
Thank You in advance!