warrenm / GLTFKit2

A glTF 2.0 asset loader and exporter for Objective-C and Swift.
MIT License
156 stars 27 forks source link

Adjust primitive indices for primitive types unsupported by SceneKit #4

Closed jmousseau closed 3 years ago

jmousseau commented 3 years ago

Rendering of line loop, line strip, and triangle fan models from glTF-Asset-Generator:

Mesh_PrimitiveMode_09 Mesh_PrimitiveMode_10 Mesh_PrimitiveMode_12

As mentioned in the TODO, geometry sources will have to be adjusted for models without indices.