GLTFSceneKit icon indicating copy to clipboard operation
GLTFSceneKit copied to clipboard

Add point cloud support to GLTFSceneKit

Open chetan-set opened this issue 4 years ago • 0 comments

Hello,

Currently, GLTFSceneKit only supports the .triangles primitive. Consequently it is not possible to render point clouds using GLTFSceneKit. The change needed for that support is relatively minor and only affects one file. Furthermore, the change is quite isolated because to enter the point cloud code path, there is an explicit:

if element.primitiveType == .point

statement, with everything else remaining the same.

This change has been extensively tested and has been shown to work well.

chetan-set avatar Oct 18 '21 06:10 chetan-set