Deformable 3D terrain in SceneKit
Objective-C
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.
TerrainMesh3D.xcodeproj
TerrainMesh3D Rename some properties for clarity Nov 8, 2016
.gitignore Remove copypasta from gitignore and fix README link Nov 9, 2016
README.md
terrainMeshDemo.gif Adding a demo gif and initial README Nov 9, 2016

README.md

TerrainMesh Demo

TerrainMesh

TerrainMesh is a SCNNode subclass which aims to simplify the creation of custom SceneKit geometry for triangle meshes. It also provides built-in support/example APIs for deformation and manipulation of the mesh.

It was created as a simple / fun exploratory demonstration of deformable SceneKit terrain.

Related Article

For a more in-depth explanation of this class and how to use custom geometry with SceneKit, see the blog post here: http://sound-of-silence.com/?article=20161108

Performance

The TerrainMesh class can be used as-is for a variety of purposes including terrain generation or manipulation, but it is by no means the most efficient or practical way of achieving this. For more links on the topic, please check out the blog post linked above.

Author

Matt Reagan - Website: http://sound-of-silence.com/ - Twitter: @hmblebee

License

Source code and related resources are Copyright (C) Matthew Reagan 2016. The source code is released under the MIT License.