Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been experimenting with Apple's new SceneKit for fun, but I cannot seem to figure out how to input vertex data without loading a .dae file.

Does anybody who has been testing SceneKit have any idea how to set or modify vertex data?

share|improve this question
up vote 1 down vote accepted

SceneKit is primarily a scene graph API and it isn't designed to be a complete solution for all your rendering needs; it's designed to augment existing APIs such as GLKit and CoreAnimation.

Primarily the focus of the API is loading serialized geometry assets (.dae files) and organizing them in a scene graph. There aren't very many robust alternative methods to get geometry into the API.

However, you may find SCNGeometry's geometryWithSources: selector to be what you need. Here's an example in practice.

share|improve this answer
Thank you very much. – Justin Jan 21 '13 at 17:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.