Random code snippets while learning ARKit - the iOS Augmented Reality framework.
Go to ... Snippets/RotatingEarth
- Uses a custom 3D model of Earth created in Blender (an open-source 3D modeling suite) using NASA's Earth at Night imagery as a model texture.
- Adds the 3D model of Earth to the AR scene.
- Positions and Rotates the 3D model of the Earth in the AR scene.
- Adds a particle system to the AR scene to simulate space.
Design & Development notes can be viewed here.
Go to ... Snippets/ARTouchGesture
- Uses a custom 3D model of fire wood creatd in Blender and exported in Collada (.dae) format.
- Adds the fire wood to the AR scene.
- If User touches the 3D model of fire wood, a fire particle system is added to the AR scene.
- An audio file (mp3) of fire burning & crackling is played.
... more on the way ...
- Twitter: @clintcabanero
- GitHub: ccabanero