Almost there! I need to figure out how it seperates triangle strips. Heres a snippet of how some of the data looks. Colors added so its easier for me to see.
Seg: 0
glColor3ub: 255, 0, 0
glVertex3f: -0.000037, -0.608202, 0.081231
glNormal3f: 0.000000, -0.964665, -0.263480
glColor3ub: 255, 3, 15
glVertex3f: -0.032418, -0.628641, 0.168047
glNormal3f: -0.486626, -0.869009, -0.089545
glColor3ub: 255, 6, 30
glVertex3f: -0.000037, -0.639352, 0.165360
glNormal3f: -0.000000, -0.994484, -0.104884
glColor3ub: 255, 9, 45
glVertex3f: -0.000037, -0.632022, 0.292810
glNormal3f: 0.023657, -0.978470, 0.205027
glColor3ub: 255, 12, 60
glVertex3f: 0.032344, -0.628641, 0.168047
glNormal3f: 0.486626, -0.869009, -0.089545
glColor3ub: 255, 15, 75
glVertex3f: 0.032344, -0.620568, 0.288912
glNormal3f: 0.485757, -0.855460, 0.179521
glColor3ub: 255, 18, 90
glVertex3f: 0.061969, -0.606039, 0.174220
glNormal3f: 0.818140, -0.572090, -0.057962
glColor3ub: 255, 21, 105
glVertex3f: 0.062988, -0.596447, 0.288289
glNormal3f: 0.811773, -0.571966, 0.117813
No comments:
Post a Comment