Sample code for my blog post about Custom SceneKit Geometry
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CustomGeometry.xcodeproj
CustomGeometry
.gitignore
README.md

README.md

blogpost-codesample-CustomGeometry

About

This is very small sample project showing how to create custom geometry for SceneKit. The generated geometry is a cube with proper surface normals. The cube is put in a simple scene with a single spot light. Everything of interest for the geometry creation is inside CustomGeometryView.m under the big comment “Custom geometry starts here ...“.

Blog post

This sample code is the code behind my blog post about creating custom geometry for SceneKit.

License

All sample code is put under MIT license.