I draw a sphere in the Scene Kit and everything works fine. I draw it like this:
...
let g = SCNSphere(radius: radius)
geometria.firstMaterial?.diffuse.contents = myColor
let node = SCNNode(geometry: g)
node.position = SCNVector3(x: x, y: y, z: z)
scene.rootNode.addChildNode(node)
This paints the sphere with a smooth surface (see image). I'd
What I'm trying to accomplish is to prevent the sphere from being “smooth” like in the photo, but I want to have it so that it displays the skeleton ... so maybe you can control how many triangles it uses to draw the surface spheres, but the triangles should be empty, so I just see the sides of the triangles ...
Any suggestion?
So, here is an image of what I'm trying to make a sphere:

source
share