Fastest way to load arrays of vertices and face indices into OpenGL-ES?

前端 未结 2 1985
借酒劲吻你
借酒劲吻你 2021-01-14 05:33

I\'m trying to load .obj files that I\'ve formatted into:

vertexX vertexY vertexZ normalX normalY normalZ

and:

index1 index         


        
2条回答
  •  鱼传尺愫
    2021-01-14 06:16

    I don't know if you've considered this, but if your .obj files won't change in your application, you can format them as objective-C arrays and compile them directly with your code.

提交回复
热议问题