Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I export my 3D geometry from a 3D authoring application. It is possible to export the vertex coordinates as full triangle arrays.

On ther other hand, triangle strips are more efficient for the OpengGL to render. This is especially true for OpenGL ES, which is very sensitive for performance.

Is it therefore possible to convert GL_TRIANGLES arrays into GL_TRIANGLE_STRIP, please?

Could anybody provide me with working algorithm? Thank you.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Looks like you may have an answer here: http://www.gamedev.net/topic/456455-convert-triangle-list-to-triangle-strip/

share|improve this answer
    
+1 for good link. Hi Byte, thanks for this link. To my surprise, many people in that thread concluded that using triangle strips is much less performance efficient than triangle lists. It is not worth of implementing them because of small memory savings. –  Bunkai.Satori May 13 '11 at 23:20
    
Makes the job that much easier then! –  Byte56 May 14 '11 at 2:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.