iPhone 에서 OpenGL 로 AR 기능을

  사용하려고 하면 필수적으로 OpenGL 의 

  모델 도형을 투명한 배경위에 보여줘야 합니다.

  그래서 설정해야 할 것들이 몇가지 있습니다.

  우선 기본 설정에서 RGBA8 로 해주고, 

  배경의 색깔을 모두 지운 후 alpha 에 투명값을 

  설정하는 겁니다. "0" 으로 말이죠.

  다시 정리하면 아래 코드를 볼 수 있습니다.

// The GL view is stored in the nib file. When it's unarchived it's sent -initWithCoder:

- (id)initWithCoder:(NSCoder*)coder {

    

    if ((self = [super initWithCoder:coder])) {

CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;

eaglLayer.opaque = NO;//no - transparent

eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:

[NSNumber numberWithBool:NO], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil];

context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];

if (!context || ![EAGLContext setCurrentContext:context]) {

[self release];

return nil;

}

animating = FALSE;

displayLinkSupported = FALSE;

animationFrameInterval = 1;

displayLink = nil;

animationTimer = nil;

// A system version of 3.1 or greater is required to use CADisplayLink. The NSTimer

// class is used as fallback when it isn't available.

NSString *reqSysVer = @"3.1";

NSString *currSysVer = [[UIDevice currentDevice] systemVersion];

if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending)

displayLinkSupported = TRUE;

[self setupView];

}

return self;

}


해당 코드는 일반적으로 제공되는 OpenGL 코드인데, eaglLayer.opaque = NO 로 설정해야 투명한 배경을


얻을 수 있습니다. 또한 도형을 그리는 부분에서는 배경화면의 색깔을 투명으로 지정해야 합니다.


        glBindFramebufferOES(GL_FRAMEBUFFER_OES, viewFramebuffer);

glClearColor(0.0f, 0.0f, 0.0f, 0.0f);

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


여기서 glClear(Red, Green, Blue, alpha) 값을 보시면 모두 0 으로 설정하면 됩니다.


그런데 이렇게 하고서 투명처리가 안되어 무지 고생을 했습니다.


알고 봤더니 인터페이스 빌더에서 해당 OpenGL 을 그리는 View 의 배경색이 흰색으로 설정되어 있었습니다.





그래서 위와 같이 View 를 선택한 뒤, 배경색 팔레트에서 Opacity 값을 0 으로 설정하면 


View 자체가 투명한 색을 가지게 됩니다.


그러면 아래와 같은 투명배경의 도형을 카메라와 같이 볼 수 있게 됩니다.




Interesting/iPhone | Posted by hyena0 2010. 3. 7. 13:16

[iPhone] iDarter v0.6 업데이트




  iDarter v0.6이 업데이트 되었습니다.

  Advanced 모드를 추가 했는데요.

  기존 모드는 Easy 모드로 변경하고

  움직이는 타겟을 맞출 수 있도록 한 것이

  추가된 내용입니다.

  수평과 수직으로 움직여야 하는 것이 

  게임의 불편한 요소일 수도 있는데,

  그 부분을 수정해야 할지는 좀 고민해야 할 것 같네요.






  Blender 로 3D 도형만들기 .. 2

  Blender 의 사용법을 좀 익히고 이 내용을 보는

  것이 무엇보다 좋을 것 같습니다.

  하지만, 이 프로그램이 기능이 많아서 단지 도형을

  포팅하는 목적이라면 전체 기능을 다 익힐 필요는 없습니다.

  원통에 대해 꼭지점과 모서리에 대한 정보를 추출하기 위해

  파이썬의 스크립트를 이용할 수 있습니다.

  그에 앞서 Blender 에서 화면을 보기 좋게 분할해 보면

  아래와 같습니다. 여기서는 간단히 단색의 텍스쳐를 입혀보았습니다.

  특정한 이미지를 덮혀씌우는 방법은 좀 까다롭습니다만, Blender 홈페이지를 

  참조하시고 그래도 잘 모르시겠다면 요청하시면 한번 다뤄보겠습니다.

  지금은 텍스쳐 설정되었다고 보고 갑니다.


  그림에서 우측의 분할된 부분은 텍스트 상자를 선택한 것인데, 거기서 파이션의 스크립트를 이용할 수 있습니다.

  스크립트 실행은 Mac 에서는 "option + p", PC 에서는 "alt + p" 버튼을 누르면 파일이 생성됨을 알 수 있습니다.
  
  좀더 자세한 내용은 JEFF LAMARCHE의 Blog를 방문하시면 찾을 수 있습니다.

  저도 여기에서 참조하여 나름대로 수정했기 때문이지요.

  스크립트는 아래와 같습니다. 사실 저도 파이썬의 문법을 잘 모르기 때문에

  기초문법의 아는 범위에서만 수정해봤습니다. C 코드나 자바에 익숙하시다면

  대강 보고도 어떻게 되는지 추측할 수 있을거라 생각됩니다.

==================================================

#!BPY


"""

Name: 'Objective-C Header (.h)'

Blender: 244

Group: 'Export'

Tooltip: 'Exports header file for use with the OpenGL ES template for iPhone available from http://iphonedevelopment.blogspot.com/'

"""

import Blender

from Blender import *

import bpy

import bpy

import os


        

def write_obj(filepath):    

    out = file(filepath, 'w')

    sce = bpy.data.scenes.active

    ob = sce.objects.active

    mesh = Mesh.New()        

    mesh.getFromObject(ob.name)


    editmode = Window.EditMode()

    if editmode: Window.EditMode(0)

    has_quads = False

    for f in mesh.faces:

        if len(f) == 4:

            has_quads = True

            break

    

    if has_quads:

        oldmode = Mesh.Mode()

        Mesh.Mode(Mesh.SelectModes['FACE'])

        

        mesh.sel = True

        tempob = sce.objects.new(mesh)

        mesh.quadToTriangle(0) # more=0 shortest length

        oldmode = Mesh.Mode(oldmode)

        sce.objects.unlink(tempob)

        

        Mesh.Mode(oldmode)

    

    objectname = ob.getData(True)

    basename = objectname.capitalize()


    out.write('#import "OpenGLCommon.h"\n\n\n')

        

    if (mesh.faceUV):

        out.write('static const TexturedVertexData3D %sVertexData[] = {\n' % basename)

        out.write('vertex\n')

        for face in mesh.faces:

            for (vert, uvert) in zip(face.verts, face.uv):

                out.write('%f, %f, %f, ' % (vert.co.x, vert.co.y, vert.co.z) )

                out.write('\n')

        out.write('};\n\n')

        out.write('normal\n')

        for face in mesh.faces:

            for (vert, uvert) in zip(face.verts, face.uv):

                out.write('%f, %f, %f, ' % (vert.no.x, vert.no.y, vert.no.z))

                out.write('\n')

        out.write('};\n\n')

        out.write('UV value \n')

        for face in mesh.faces:

            for (vert, uvert) in zip(face.verts, face.uv):

                out.write('%f, %f,' % ( uvert.x, uvert.y ) )

                out.write('\n')

        out.write('};\n\n')

        

    elif (mesh.vertexColors):

        out.write('static const ColoredVertexData3D %sVertexData[] = {\n' % basename)

        for face in mesh.faces:

            for (vert, color) in zip(face.verts, face.col):

                out.write('\t{/*v:*/{%f, %f, %f}, ' % (vert.co.x, vert.co.y, vert.co.z) )

                out.write('/*n:*/{%f, %f, %f}, ' % (vert.no.x, vert.no.y, vert.no.z))

                out.write('/*c:*/{%f, %f, %f, %f}' % ( color.r / 255.0, color.g / 255.0, color.b / 255.0, color.a / 255.0) )

                out.write('},\n')

        out.write('};\n\n')

    else:

        out.write

        out.write('static const VertexData3D %sVertexData[] = {\n' % basename)

        for face in mesh.faces:

            for vert in face.verts:

                out.write('\t{/*v:*/{%f, %f, %f}, ' % (vert.co.x, vert.co.y, vert.co.z) )

                out.write('/*n:*/{%f, %f, %f} ' % (vert.no.x, vert.no.y, vert.no.z))

                out.write('},\n')

        out.write('};\n\n')

    

    if editmode: Window.EditMode(1)

    out.write('#define k%sNumberOfVertices\t%i\n' % (basename, len(mesh.faces) * 3) )


    out.write('// Drawing Code:\n')

    out.write('// glEnableClientState(GL_VERTEX_ARRAY);\n')

    if (mesh.faceUV):

        out.write('// glEnableClientState(GL_TEXTURE_COORD_ARRAY);\n')

    elif (mesh.vertexColors):

        out.write('// glEnableClientState(GL_COLOR_ARRAY);\n')

        out.write('// glEnable(GL_COLOR_MATERIAL)\n')

    out.write('// glEnableClientState(GL_NORMAL_ARRAY);\n')

    out.write('// glVertexPointer(3, GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].vertex);\n' % basename)

    out.write('// glNormalPointer(GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].normal);\n' % basename)

    if (mesh.faceUV):

        out.write('// glTexCoordPointer(2, GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].texCoord);\n' % basename)

    elif (mesh.vertexColors):

        out.write('// glColorPointer(4, GL_FLOAT, sizeof(ColoredVertexData3D), &%sVertexData[0].color);\n' % basename)

    out.write('// glDrawArrays(GL_TRIANGLES, 0, k%sNumberOfVertices);\n' % basename)

    out.write('// glDisableClientState(GL_VERTEX_ARRAY);\n')

    if (mesh.faceUV):

        out.write('// glDisableClientState(GL_TEXTURE_COORD_ARRAY);\n')

    elif (mesh.vertexColors):

        out.write('// glDisableClientState(GL_NORMAL_ARRAY);\n')

        out.write('// glDisable(GL_COLOR_MATERIAL);\n')

    out.write('// glDisableClientState(GL_NORMAL_ARRAY);\n\n\n')

    

    out.close()



filename = os.path.splitext(Blender.Get('filename'))[0]

Blender.Window.FileSelector(write_obj, "Export", '%s.h' % filename)

==================================================

아래의 결과를 보시면 아시겠지만, header 파일 치고는 그냥 불러올 수 없게 문법적으로 안맞습니다.

out.write 구문을 적당히 고쳐보면 되는데, 좀 귀찮아서 놔뒀네요...^^

해당 스크립트 가져다가 입맛에 맞게 고쳐보시면 될 것 같네요.

#import "OpenGLCommon.h"



static const TexturedVertexData3D Cylinder.001VertexData[] = {

vertex

0.000000, 0.000000, -0.500000

0.707107, 0.707107, -0.500000

0.831470, 0.555570, -0.500000

0.000000, 0.000000, 0.500000

0.831471, 0.555569, 0.500000

0.707108, 0.707105, 0.500000

0.000000, 0.000000, -0.500000

0.831470, 0.555570, -0.500000

0.923880, 0.382683, -0.500000

0.000000, 0.000000, 0.500000

0.923880, 0.382682, 0.500000

0.831471, 0.555569, 0.500000

0.000000, 0.000000, -0.500000

0.923880, 0.382683, -0.500000

0.980785, 0.195090, -0.500000

0.000000, 0.000000, 0.500000

0.980786, 0.195088, 0.500000

0.923880, 0.382682, 0.500000

0.000000, 0.000000, -0.500000

0.980785, 0.195090, -0.500000

1.000000, 0.000000, -0.500000

0.000000, 0.000000, 0.500000

1.000000, -0.000002, 0.500000

0.980786, 0.195088, 0.500000

0.000000, 0.000000, -0.500000

1.000000, 0.000000, -0.500000

0.980785, -0.195090, -0.500000

0.000000, 0.000000, 0.500000

0.980785, -0.195092, 0.500000

1.000000, -0.000002, 0.500000

0.000000, 0.000000, -0.500000

0.980785, -0.195090, -0.500000

0.923880, -0.382683, -0.500000

0.000000, 0.000000, 0.500000

0.923879, -0.382685, 0.500000

0.980785, -0.195092, 0.500000

0.000000, 0.000000, -0.500000

0.923880, -0.382683, -0.500000

0.831470, -0.555570, -0.500000

0.000000, 0.000000, 0.500000

0.831469, -0.555571, 0.500000

0.923879, -0.382685, 0.500000

0.000000, 0.000000, -0.500000

0.831470, -0.555570, -0.500000

0.707107, -0.707107, -0.500000

0.000000, 0.000000, 0.500000

0.707106, -0.707107, 0.500000

0.831469, -0.555571, 0.500000

0.000000, 0.000000, -0.500000

0.707107, -0.707107, -0.500000

0.555570, -0.831470, -0.500000

0.000000, 0.000000, 0.500000

0.555570, -0.831470, 0.500000

0.707106, -0.707107, 0.500000

0.000000, 0.000000, -0.500000

0.555570, -0.831470, -0.500000

0.382683, -0.923880, -0.500000

0.000000, 0.000000, 0.500000

0.382684, -0.923880, 0.500000

0.555570, -0.831470, 0.500000

0.000000, 0.000000, -0.500000

0.382683, -0.923880, -0.500000

0.195090, -0.980785, -0.500000

0.000000, 0.000000, 0.500000

0.195091, -0.980785, 0.500000

0.382684, -0.923880, 0.500000

0.000000, 0.000000, -0.500000

0.195090, -0.980785, -0.500000

-0.000000, -1.000000, -0.500000

0.000000, 0.000000, 0.500000

0.000001, -1.000000, 0.500000

0.195091, -0.980785, 0.500000

0.000000, 0.000000, -0.500000

-0.000000, -1.000000, -0.500000

-0.195091, -0.980785, -0.500000

0.000000, 0.000000, 0.500000

-0.195089, -0.980786, 0.500000

0.000001, -1.000000, 0.500000

0.000000, 0.000000, -0.500000

-0.195091, -0.980785, -0.500000

-0.382684, -0.923879, -0.500000

0.000000, 0.000000, 0.500000

-0.382682, -0.923880, 0.500000

-0.195089, -0.980786, 0.500000

0.000000, 0.000000, -0.500000

-0.382684, -0.923879, -0.500000

-0.555571, -0.831469, -0.500000

0.000000, 0.000000, 0.500000

-0.555568, -0.831471, 0.500000

-0.382682, -0.923880, 0.500000

0.000000, 0.000000, -0.500000

-0.555571, -0.831469, -0.500000

-0.707107, -0.707106, -0.500000

0.000000, 0.000000, 0.500000

-0.707105, -0.707109, 0.500000

-0.555568, -0.831471, 0.500000

0.000000, 0.000000, -0.500000

-0.707107, -0.707106, -0.500000

-0.831470, -0.555570, -0.500000

0.000000, 0.000000, 0.500000

-0.831468, -0.555573, 0.500000

-0.707105, -0.707109, 0.500000

0.000000, 0.000000, -0.500000

-0.831470, -0.555570, -0.500000

-0.923880, -0.382683, -0.500000

0.000000, 0.000000, 0.500000

-0.923878, -0.382686, 0.500000

-0.831468, -0.555573, 0.500000

0.000000, 0.000000, -0.500000

-0.923880, -0.382683, -0.500000

-0.980785, -0.195089, -0.500000

0.000000, 0.000000, 0.500000

-0.980785, -0.195094, 0.500000

-0.923878, -0.382686, 0.500000

0.000000, 0.000000, -0.500000

-0.980785, -0.195089, -0.500000

-1.000000, 0.000001, -0.500000

0.000000, 0.000000, 0.500000

-1.000000, -0.000004, 0.500000

-0.980785, -0.195094, 0.500000

0.000000, 0.000000, -0.500000

-1.000000, 0.000001, -0.500000

-0.980785, 0.195091, -0.500000

0.000000, 0.000000, 0.500000

-0.980786, 0.195086, 0.500000

-1.000000, -0.000004, 0.500000

0.000000, 0.000000, -0.500000

-0.980785, 0.195091, -0.500000

-0.923879, 0.382684, -0.500000

0.000000, 0.000000, 0.500000

-0.923881, 0.382679, 0.500000

-0.980786, 0.195086, 0.500000

0.000000, 0.000000, -0.500000

-0.923879, 0.382684, -0.500000

-0.831469, 0.555571, -0.500000

0.000000, 0.000000, 0.500000

-0.831473, 0.555566, 0.500000

-0.923881, 0.382679, 0.500000

0.000000, 0.000000, -0.500000

-0.831469, 0.555571, -0.500000

-0.707106, 0.707108, -0.500000

0.000000, 0.000000, 0.500000

-0.707111, 0.707103, 0.500000

-0.831473, 0.555566, 0.500000

0.000000, 0.000000, -0.500000

-0.707106, 0.707108, -0.500000

-0.555569, 0.831470, -0.500000

0.000000, 0.000000, 0.500000

-0.555575, 0.831466, 0.500000

-0.707111, 0.707103, 0.500000

0.000000, 0.000000, -0.500000

-0.555569, 0.831470, -0.500000

-0.382682, 0.923880, -0.500000

0.000000, 0.000000, 0.500000

-0.382689, 0.923877, 0.500000

-0.555575, 0.831466, 0.500000

0.000000, 0.000000, -0.500000

-0.382682, 0.923880, -0.500000

-0.195089, 0.980786, -0.500000

0.000000, 0.000000, 0.500000

-0.195097, 0.980784, 0.500000

-0.382689, 0.923877, 0.500000

0.000000, 0.000000, -0.500000

-0.195089, 0.980786, -0.500000

0.000002, 1.000000, -0.500000

0.000000, 0.000000, 0.500000

-0.000007, 1.000000, 0.500000

-0.195097, 0.980784, 0.500000

0.000000, 0.000000, -0.500000

0.000002, 1.000000, -0.500000

0.195092, 0.980785, -0.500000

0.000000, 0.000000, 0.500000

0.195083, 0.980787, 0.500000

-0.000007, 1.000000, 0.500000

0.000000, 0.000000, -0.500000

0.195092, 0.980785, -0.500000

0.382685, 0.923879, -0.500000

0.000000, 0.000000, 0.500000

0.382676, 0.923883, 0.500000

0.195083, 0.980787, 0.500000

0.000000, 0.000000, -0.500000

0.382685, 0.923879, -0.500000

0.555572, 0.831469, -0.500000

0.000000, 0.000000, 0.500000

0.555563, 0.831474, 0.500000

0.382676, 0.923883, 0.500000

0.555572, 0.831469, -0.500000

0.707107, 0.707107, -0.500000

0.000000, 0.000000, -0.500000

0.000000, 0.000000, 0.500000

0.707108, 0.707105, 0.500000

0.555563, 0.831474, 0.500000

0.707108, 0.707105, 0.500000

0.707107, 0.707107, -0.500000

0.555572, 0.831469, -0.500000

0.707108, 0.707105, 0.500000

0.555572, 0.831469, -0.500000

0.555563, 0.831474, 0.500000

0.382685, 0.923879, -0.500000

0.382676, 0.923883, 0.500000

0.555563, 0.831474, 0.500000

0.382685, 0.923879, -0.500000

0.555563, 0.831474, 0.500000

0.555572, 0.831469, -0.500000

0.195092, 0.980785, -0.500000

0.195083, 0.980787, 0.500000

0.382676, 0.923883, 0.500000

0.195092, 0.980785, -0.500000

0.382676, 0.923883, 0.500000

0.382685, 0.923879, -0.500000

0.000002, 1.000000, -0.500000

-0.000007, 1.000000, 0.500000

0.195083, 0.980787, 0.500000

0.000002, 1.000000, -0.500000

0.195083, 0.980787, 0.500000

0.195092, 0.980785, -0.500000

-0.195089, 0.980786, -0.500000

-0.195097, 0.980784, 0.500000

-0.000007, 1.000000, 0.500000

-0.195089, 0.980786, -0.500000

-0.000007, 1.000000, 0.500000

0.000002, 1.000000, -0.500000

-0.382682, 0.923880, -0.500000

-0.382689, 0.923877, 0.500000

-0.195097, 0.980784, 0.500000

-0.382682, 0.923880, -0.500000

-0.195097, 0.980784, 0.500000

-0.195089, 0.980786, -0.500000

-0.555569, 0.831470, -0.500000

-0.555575, 0.831466, 0.500000

-0.382689, 0.923877, 0.500000

-0.555569, 0.831470, -0.500000

-0.382689, 0.923877, 0.500000

-0.382682, 0.923880, -0.500000

-0.707106, 0.707108, -0.500000

-0.707111, 0.707103, 0.500000

-0.555575, 0.831466, 0.500000

-0.707106, 0.707108, -0.500000

-0.555575, 0.831466, 0.500000

-0.555569, 0.831470, -0.500000

-0.831469, 0.555571, -0.500000

-0.831473, 0.555566, 0.500000

-0.707111, 0.707103, 0.500000

-0.831469, 0.555571, -0.500000

-0.707111, 0.707103, 0.500000

-0.707106, 0.707108, -0.500000

-0.923879, 0.382684, -0.500000

-0.923881, 0.382679, 0.500000

-0.831473, 0.555566, 0.500000

-0.923879, 0.382684, -0.500000

-0.831473, 0.555566, 0.500000

-0.831469, 0.555571, -0.500000

-0.980785, 0.195091, -0.500000

-0.980786, 0.195086, 0.500000

-0.923881, 0.382679, 0.500000

-0.980785, 0.195091, -0.500000

-0.923881, 0.382679, 0.500000

-0.923879, 0.382684, -0.500000

-1.000000, 0.000001, -0.500000

-1.000000, -0.000004, 0.500000

-0.980786, 0.195086, 0.500000

-1.000000, 0.000001, -0.500000

-0.980786, 0.195086, 0.500000

-0.980785, 0.195091, -0.500000

-0.980785, -0.195089, -0.500000

-0.980785, -0.195094, 0.500000

-1.000000, -0.000004, 0.500000

-0.980785, -0.195089, -0.500000

-1.000000, -0.000004, 0.500000

-1.000000, 0.000001, -0.500000

-0.923880, -0.382683, -0.500000

-0.923878, -0.382686, 0.500000

-0.980785, -0.195094, 0.500000

-0.923880, -0.382683, -0.500000

-0.980785, -0.195094, 0.500000

-0.980785, -0.195089, -0.500000

-0.831470, -0.555570, -0.500000

-0.831468, -0.555573, 0.500000

-0.923878, -0.382686, 0.500000

-0.831470, -0.555570, -0.500000

-0.923878, -0.382686, 0.500000

-0.923880, -0.382683, -0.500000

-0.707107, -0.707106, -0.500000

-0.707105, -0.707109, 0.500000

-0.831468, -0.555573, 0.500000

-0.707107, -0.707106, -0.500000

-0.831468, -0.555573, 0.500000

-0.831470, -0.555570, -0.500000

-0.555571, -0.831469, -0.500000

-0.555568, -0.831471, 0.500000

-0.707105, -0.707109, 0.500000

-0.555571, -0.831469, -0.500000

-0.707105, -0.707109, 0.500000

-0.707107, -0.707106, -0.500000

-0.382684, -0.923879, -0.500000

-0.382682, -0.923880, 0.500000

-0.555568, -0.831471, 0.500000

-0.382684, -0.923879, -0.500000

-0.555568, -0.831471, 0.500000

-0.555571, -0.831469, -0.500000

-0.195091, -0.980785, -0.500000

-0.195089, -0.980786, 0.500000

-0.382682, -0.923880, 0.500000

-0.195091, -0.980785, -0.500000

-0.382682, -0.923880, 0.500000

-0.382684, -0.923879, -0.500000

-0.000000, -1.000000, -0.500000

0.000001, -1.000000, 0.500000

-0.195089, -0.980786, 0.500000

-0.000000, -1.000000, -0.500000

-0.195089, -0.980786, 0.500000

-0.195091, -0.980785, -0.500000

0.195090, -0.980785, -0.500000

0.195091, -0.980785, 0.500000

0.000001, -1.000000, 0.500000

0.195090, -0.980785, -0.500000

0.000001, -1.000000, 0.500000

-0.000000, -1.000000, -0.500000

0.382683, -0.923880, -0.500000

0.382684, -0.923880, 0.500000

0.195091, -0.980785, 0.500000

0.382683, -0.923880, -0.500000

0.195091, -0.980785, 0.500000

0.195090, -0.980785, -0.500000

0.555570, -0.831470, -0.500000

0.555570, -0.831470, 0.500000

0.382684, -0.923880, 0.500000

0.555570, -0.831470, -0.500000

0.382684, -0.923880, 0.500000

0.382683, -0.923880, -0.500000

0.707107, -0.707107, -0.500000

0.707106, -0.707107, 0.500000

0.555570, -0.831470, 0.500000

0.707107, -0.707107, -0.500000

0.555570, -0.831470, 0.500000

0.555570, -0.831470, -0.500000

0.831470, -0.555570, -0.500000

0.831469, -0.555571, 0.500000

0.707107, -0.707107, -0.500000

0.831469, -0.555571, 0.500000

0.707106, -0.707107, 0.500000

0.707107, -0.707107, -0.500000

0.923880, -0.382683, -0.500000

0.923879, -0.382685, 0.500000

0.831470, -0.555570, -0.500000

0.923879, -0.382685, 0.500000

0.831469, -0.555571, 0.500000

0.831470, -0.555570, -0.500000

0.980785, -0.195090, -0.500000

0.980785, -0.195092, 0.500000

0.923880, -0.382683, -0.500000

0.980785, -0.195092, 0.500000

0.923879, -0.382685, 0.500000

0.923880, -0.382683, -0.500000

1.000000, 0.000000, -0.500000

1.000000, -0.000002, 0.500000

0.980785, -0.195090, -0.500000

1.000000, -0.000002, 0.500000

0.980785, -0.195092, 0.500000

0.980785, -0.195090, -0.500000

0.980785, 0.195090, -0.500000

0.980786, 0.195088, 0.500000

1.000000, 0.000000, -0.500000

0.980786, 0.195088, 0.500000

1.000000, -0.000002, 0.500000

1.000000, 0.000000, -0.500000

0.923880, 0.382683, -0.500000

0.923880, 0.382682, 0.500000

0.980785, 0.195090, -0.500000

0.923880, 0.382682, 0.500000

0.980786, 0.195088, 0.500000

0.980785, 0.195090, -0.500000

0.831470, 0.555570, -0.500000

0.831471, 0.555569, 0.500000

0.923880, 0.382683, -0.500000

0.831471, 0.555569, 0.500000

0.923880, 0.382682, 0.500000

0.923880, 0.382683, -0.500000

0.707107, 0.707107, -0.500000

0.707108, 0.707105, 0.500000

0.831470, 0.555570, -0.500000

0.707108, 0.707105, 0.500000

0.831471, 0.555569, 0.500000

0.831470, 0.555570, -0.500000

};


normal

0.000000, 0.000000, -1.000000

0.498764, 0.498764, -0.708792

0.675375, 0.484054, -0.556322

0.000000, 0.000000, 1.000000

0.705679, 0.438704, 0.556322

0.631825, 0.631825, 0.448927

0.000000, 0.000000, -1.000000

0.675375, 0.484054, -0.556322

0.756828, 0.342998, -0.556322

0.000000, 0.000000, 1.000000

0.777703, 0.292611, 0.556322

0.705679, 0.438704, 0.556322

0.000000, 0.000000, -1.000000

0.756828, 0.342998, -0.556322

0.809198, 0.188757, -0.556322

0.000000, 0.000000, 1.000000

0.819849, 0.135258, 0.556322

0.777703, 0.292611, 0.556322

0.000000, 0.000000, -1.000000

0.809198, 0.188757, -0.556322

0.830500, 0.027253, -0.556322

0.000000, 0.000000, 1.000000

0.830500, -0.027253, 0.556322

0.819849, 0.135258, 0.556322

0.000000, 0.000000, -1.000000

0.830500, 0.027253, -0.556322

0.819849, -0.135258, -0.556322

0.000000, 0.000000, 1.000000

0.809198, -0.188757, 0.556322

0.830500, -0.027253, 0.556322

0.000000, 0.000000, -1.000000

0.819849, -0.135258, -0.556322

0.777703, -0.292611, -0.556322

0.000000, 0.000000, 1.000000

0.756828, -0.342998, 0.556322

0.809198, -0.188757, 0.556322

0.000000, 0.000000, -1.000000

0.777703, -0.292611, -0.556322

0.705679, -0.438704, -0.556322

0.000000, 0.000000, 1.000000

0.675375, -0.484054, 0.556322

0.756828, -0.342998, 0.556322

0.000000, 0.000000, -1.000000

0.705679, -0.438704, -0.556322

0.631825, -0.631825, -0.448927

0.000000, 0.000000, 1.000000

0.498764, -0.498764, 0.708792

0.675375, -0.484054, 0.556322

0.000000, 0.000000, -1.000000

0.631825, -0.631825, -0.448927

0.438704, -0.705679, -0.556322

0.000000, 0.000000, 1.000000

0.484054, -0.675375, 0.556322

0.498764, -0.498764, 0.708792

0.000000, 0.000000, -1.000000

0.438704, -0.705679, -0.556322

0.292611, -0.777703, -0.556322

0.000000, 0.000000, 1.000000

0.342998, -0.756828, 0.556322

0.484054, -0.675375, 0.556322

0.000000, 0.000000, -1.000000

0.292611, -0.777703, -0.556322

0.135258, -0.819849, -0.556322

0.000000, 0.000000, 1.000000

0.188757, -0.809198, 0.556322

0.342998, -0.756828, 0.556322

0.000000, 0.000000, -1.000000

0.135258, -0.819849, -0.556322

-0.027253, -0.830500, -0.556322

0.000000, 0.000000, 1.000000

0.027253, -0.830500, 0.556322

0.188757, -0.809198, 0.556322

0.000000, 0.000000, -1.000000

-0.027253, -0.830500, -0.556322

-0.188757, -0.809198, -0.556322

0.000000, 0.000000, 1.000000

-0.135258, -0.819849, 0.556322

0.027253, -0.830500, 0.556322

0.000000, 0.000000, -1.000000

-0.188757, -0.809198, -0.556322

-0.342998, -0.756828, -0.556322

0.000000, 0.000000, 1.000000

-0.292611, -0.777703, 0.556322

-0.135258, -0.819849, 0.556322

0.000000, 0.000000, -1.000000

-0.342998, -0.756828, -0.556322

-0.484054, -0.675375, -0.556322

0.000000, 0.000000, 1.000000

-0.438704, -0.705679, 0.556322

-0.292611, -0.777703, 0.556322

0.000000, 0.000000, -1.000000

-0.484054, -0.675375, -0.556322

-0.606525, -0.567949, -0.556322

0.000000, 0.000000, 1.000000

-0.567949, -0.606525, 0.556322

-0.438704, -0.705679, 0.556322

0.000000, 0.000000, -1.000000

-0.606525, -0.567949, -0.556322

-0.705679, -0.438704, -0.556322

0.000000, 0.000000, 1.000000

-0.675375, -0.484054, 0.556322

-0.567949, -0.606525, 0.556322

0.000000, 0.000000, -1.000000

-0.705679, -0.438704, -0.556322

-0.777703, -0.292611, -0.556322

0.000000, 0.000000, 1.000000

-0.756828, -0.342998, 0.556322

-0.675375, -0.484054, 0.556322

0.000000, 0.000000, -1.000000

-0.777703, -0.292611, -0.556322

-0.819849, -0.135258, -0.556322

0.000000, 0.000000, 1.000000

-0.809198, -0.188757, 0.556322

-0.756828, -0.342998, 0.556322

0.000000, 0.000000, -1.000000

-0.819849, -0.135258, -0.556322

-0.830500, 0.027253, -0.556322

0.000000, 0.000000, 1.000000

-0.830500, -0.027253, 0.556322

-0.809198, -0.188757, 0.556322

0.000000, 0.000000, -1.000000

-0.830500, 0.027253, -0.556322

-0.809198, 0.188757, -0.556322

0.000000, 0.000000, 1.000000

-0.819849, 0.135258, 0.556322

-0.830500, -0.027253, 0.556322

0.000000, 0.000000, -1.000000

-0.809198, 0.188757, -0.556322

-0.756828, 0.342998, -0.556322

0.000000, 0.000000, 1.000000

-0.777703, 0.292611, 0.556322

-0.819849, 0.135258, 0.556322

0.000000, 0.000000, -1.000000

-0.756828, 0.342998, -0.556322

-0.675375, 0.484054, -0.556322

0.000000, 0.000000, 1.000000

-0.705679, 0.438704, 0.556322

-0.777703, 0.292611, 0.556322

0.000000, 0.000000, -1.000000

-0.675375, 0.484054, -0.556322

-0.567949, 0.606525, -0.556322

0.000000, 0.000000, 1.000000

-0.606525, 0.567949, 0.556322

-0.705679, 0.438704, 0.556322

0.000000, 0.000000, -1.000000

-0.567949, 0.606525, -0.556322

-0.438704, 0.705679, -0.556322

0.000000, 0.000000, 1.000000

-0.484054, 0.675375, 0.556322

-0.606525, 0.567949, 0.556322

0.000000, 0.000000, -1.000000

-0.438704, 0.705679, -0.556322

-0.292611, 0.777703, -0.556322

0.000000, 0.000000, 1.000000

-0.342998, 0.756828, 0.556322

-0.484054, 0.675375, 0.556322

0.000000, 0.000000, -1.000000

-0.292611, 0.777703, -0.556322

-0.135258, 0.819849, -0.556322

0.000000, 0.000000, 1.000000

-0.188757, 0.809198, 0.556322

-0.342998, 0.756828, 0.556322

0.000000, 0.000000, -1.000000

-0.135258, 0.819849, -0.556322

0.027253, 0.830500, -0.556322

0.000000, 0.000000, 1.000000

-0.027253, 0.830500, 0.556322

-0.188757, 0.809198, 0.556322

0.000000, 0.000000, -1.000000

0.027253, 0.830500, -0.556322

0.188757, 0.809198, -0.556322

0.000000, 0.000000, 1.000000

0.135258, 0.819849, 0.556322

-0.027253, 0.830500, 0.556322

0.000000, 0.000000, -1.000000

0.188757, 0.809198, -0.556322

0.342998, 0.756828, -0.556322

0.000000, 0.000000, 1.000000

0.292611, 0.777703, 0.556322

0.135258, 0.819849, 0.556322

0.000000, 0.000000, -1.000000

0.342998, 0.756828, -0.556322

0.484054, 0.675375, -0.556322

0.000000, 0.000000, 1.000000

0.438704, 0.705679, 0.556322

0.292611, 0.777703, 0.556322

0.484054, 0.675375, -0.556322

0.498764, 0.498764, -0.708792

0.000000, 0.000000, -1.000000

0.000000, 0.000000, 1.000000

0.631825, 0.631825, 0.448927

0.438704, 0.705679, 0.556322

0.631825, 0.631825, 0.448927

0.498764, 0.498764, -0.708792

0.484054, 0.675375, -0.556322

0.631825, 0.631825, 0.448927

0.484054, 0.675375, -0.556322

0.438704, 0.705679, 0.556322

0.342998, 0.756828, -0.556322

0.292611, 0.777703, 0.556322

0.438704, 0.705679, 0.556322

0.342998, 0.756828, -0.556322

0.438704, 0.705679, 0.556322

0.484054, 0.675375, -0.556322

0.188757, 0.809198, -0.556322

0.135258, 0.819849, 0.556322

0.292611, 0.777703, 0.556322

0.188757, 0.809198, -0.556322

0.292611, 0.777703, 0.556322

0.342998, 0.756828, -0.556322

0.027253, 0.830500, -0.556322

-0.027253, 0.830500, 0.556322

0.135258, 0.819849, 0.556322

0.027253, 0.830500, -0.556322

0.135258, 0.819849, 0.556322

0.188757, 0.809198, -0.556322

-0.135258, 0.819849, -0.556322

-0.188757, 0.809198, 0.556322

-0.027253, 0.830500, 0.556322

-0.135258, 0.819849, -0.556322

-0.027253, 0.830500, 0.556322

0.027253, 0.830500, -0.556322

-0.292611, 0.777703, -0.556322

-0.342998, 0.756828, 0.556322

-0.188757, 0.809198, 0.556322

-0.292611, 0.777703, -0.556322

-0.188757, 0.809198, 0.556322

-0.135258, 0.819849, -0.556322

-0.438704, 0.705679, -0.556322

-0.484054, 0.675375, 0.556322

-0.342998, 0.756828, 0.556322

-0.438704, 0.705679, -0.556322

-0.342998, 0.756828, 0.556322

-0.292611, 0.777703, -0.556322

-0.567949, 0.606525, -0.556322

-0.606525, 0.567949, 0.556322

-0.484054, 0.675375, 0.556322

-0.567949, 0.606525, -0.556322

-0.484054, 0.675375, 0.556322

-0.438704, 0.705679, -0.556322

-0.675375, 0.484054, -0.556322

-0.705679, 0.438704, 0.556322

-0.606525, 0.567949, 0.556322

-0.675375, 0.484054, -0.556322

-0.606525, 0.567949, 0.556322

-0.567949, 0.606525, -0.556322

-0.756828, 0.342998, -0.556322

-0.777703, 0.292611, 0.556322

-0.705679, 0.438704, 0.556322

-0.756828, 0.342998, -0.556322

-0.705679, 0.438704, 0.556322

-0.675375, 0.484054, -0.556322

-0.809198, 0.188757, -0.556322

-0.819849, 0.135258, 0.556322

-0.777703, 0.292611, 0.556322

-0.809198, 0.188757, -0.556322

-0.777703, 0.292611, 0.556322

-0.756828, 0.342998, -0.556322

-0.830500, 0.027253, -0.556322

-0.830500, -0.027253, 0.556322

-0.819849, 0.135258, 0.556322

-0.830500, 0.027253, -0.556322

-0.819849, 0.135258, 0.556322

-0.809198, 0.188757, -0.556322

-0.819849, -0.135258, -0.556322

-0.809198, -0.188757, 0.556322

-0.830500, -0.027253, 0.556322

-0.819849, -0.135258, -0.556322

-0.830500, -0.027253, 0.556322

-0.830500, 0.027253, -0.556322

-0.777703, -0.292611, -0.556322

-0.756828, -0.342998, 0.556322

-0.809198, -0.188757, 0.556322

-0.777703, -0.292611, -0.556322

-0.809198, -0.188757, 0.556322

-0.819849, -0.135258, -0.556322

-0.705679, -0.438704, -0.556322

-0.675375, -0.484054, 0.556322

-0.756828, -0.342998, 0.556322

-0.705679, -0.438704, -0.556322

-0.756828, -0.342998, 0.556322

-0.777703, -0.292611, -0.556322

-0.606525, -0.567949, -0.556322

-0.567949, -0.606525, 0.556322

-0.675375, -0.484054, 0.556322

-0.606525, -0.567949, -0.556322

-0.675375, -0.484054, 0.556322

-0.705679, -0.438704, -0.556322

-0.484054, -0.675375, -0.556322

-0.438704, -0.705679, 0.556322

-0.567949, -0.606525, 0.556322

-0.484054, -0.675375, -0.556322

-0.567949, -0.606525, 0.556322

-0.606525, -0.567949, -0.556322

-0.342998, -0.756828, -0.556322

-0.292611, -0.777703, 0.556322

-0.438704, -0.705679, 0.556322

-0.342998, -0.756828, -0.556322

-0.438704, -0.705679, 0.556322

-0.484054, -0.675375, -0.556322

-0.188757, -0.809198, -0.556322

-0.135258, -0.819849, 0.556322

-0.292611, -0.777703, 0.556322

-0.188757, -0.809198, -0.556322

-0.292611, -0.777703, 0.556322

-0.342998, -0.756828, -0.556322

-0.027253, -0.830500, -0.556322

0.027253, -0.830500, 0.556322

-0.135258, -0.819849, 0.556322

-0.027253, -0.830500, -0.556322

-0.135258, -0.819849, 0.556322

-0.188757, -0.809198, -0.556322

0.135258, -0.819849, -0.556322

0.188757, -0.809198, 0.556322

0.027253, -0.830500, 0.556322

0.135258, -0.819849, -0.556322

0.027253, -0.830500, 0.556322

-0.027253, -0.830500, -0.556322

0.292611, -0.777703, -0.556322

0.342998, -0.756828, 0.556322

0.188757, -0.809198, 0.556322

0.292611, -0.777703, -0.556322

0.188757, -0.809198, 0.556322

0.135258, -0.819849, -0.556322

0.438704, -0.705679, -0.556322

0.484054, -0.675375, 0.556322

0.342998, -0.756828, 0.556322

0.438704, -0.705679, -0.556322

0.342998, -0.756828, 0.556322

0.292611, -0.777703, -0.556322

0.631825, -0.631825, -0.448927

0.498764, -0.498764, 0.708792

0.484054, -0.675375, 0.556322

0.631825, -0.631825, -0.448927

0.484054, -0.675375, 0.556322

0.438704, -0.705679, -0.556322

0.705679, -0.438704, -0.556322

0.675375, -0.484054, 0.556322

0.631825, -0.631825, -0.448927

0.675375, -0.484054, 0.556322

0.498764, -0.498764, 0.708792

0.631825, -0.631825, -0.448927

0.777703, -0.292611, -0.556322

0.756828, -0.342998, 0.556322

0.705679, -0.438704, -0.556322

0.756828, -0.342998, 0.556322

0.675375, -0.484054, 0.556322

0.705679, -0.438704, -0.556322

0.819849, -0.135258, -0.556322

0.809198, -0.188757, 0.556322

0.777703, -0.292611, -0.556322

0.809198, -0.188757, 0.556322

0.756828, -0.342998, 0.556322

0.777703, -0.292611, -0.556322

0.830500, 0.027253, -0.556322

0.830500, -0.027253, 0.556322

0.819849, -0.135258, -0.556322

0.830500, -0.027253, 0.556322

0.809198, -0.188757, 0.556322

0.819849, -0.135258, -0.556322

0.809198, 0.188757, -0.556322

0.819849, 0.135258, 0.556322

0.830500, 0.027253, -0.556322

0.819849, 0.135258, 0.556322

0.830500, -0.027253, 0.556322

0.830500, 0.027253, -0.556322

0.756828, 0.342998, -0.556322

0.777703, 0.292611, 0.556322

0.809198, 0.188757, -0.556322

0.777703, 0.292611, 0.556322

0.819849, 0.135258, 0.556322

0.809198, 0.188757, -0.556322

0.675375, 0.484054, -0.556322

0.705679, 0.438704, 0.556322

0.756828, 0.342998, -0.556322

0.705679, 0.438704, 0.556322

0.777703, 0.292611, 0.556322

0.756828, 0.342998, -0.556322

0.498764, 0.498764, -0.708792

0.631825, 0.631825, 0.448927

0.675375, 0.484054, -0.556322

0.631825, 0.631825, 0.448927

0.705679, 0.438704, 0.556322

0.675375, 0.484054, -0.556322

};


UV value 

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

0.000000, 0.000000,

1.000000, 0.000000,

1.000000, 1.000000,

};


#define kCylinder.001NumberOfVertices 384

// Drawing Code:

// glEnableClientState(GL_VERTEX_ARRAY);

// glEnableClientState(GL_TEXTURE_COORD_ARRAY);

// glEnableClientState(GL_NORMAL_ARRAY);

// glVertexPointer(3, GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].vertex);

// glNormalPointer(GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].normal);

// glTexCoordPointer(2, GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].texCoord);

// glDrawArrays(GL_TRIANGLES, 0, kCylinder.001NumberOfVertices);

// glDisableClientState(GL_VERTEX_ARRAY);

// glDisableClientState(GL_TEXTURE_COORD_ARRAY);

// glDisableClientState(GL_NORMAL_ARRAY);