This class is a demonstration of the extracted camera feature in the iOS SDK. The ARExtractedCameraTexture is a texture that takes its data directly from the camera stream. This can be used during rendering to deform the camera texture. In this example, we will deform the camera feed in a region defined by a marker in order to create a heartbeat effect which appears to protrude from the marker. We start with an animated model of a heartbeat and then add the extracted camera texture.
Instructions: (1) Download the Kudan AR iOS SDK here: https://www.kudan.eu/download-kudan-ar-sdk/ (2) Drop the KudanAR.framework into your project
You will need to download the Lego marker, which can be downloaded on this page: https://www.kudan.eu/demo/