Examples
The following examples should give you an overview of the capabilities offered by the Wikitude SDK. Each sample is capable of running without modifications on all supported platforms.
Each of the included examples is structured as following:
index.html
: entry point for the experiencejs/*
: includes the necessary JavaScript filescss/*
: css style sheets requiredassets/*
: contains images, 3D models and tracker files
Inside the js/
folder the main JavaScript file is named like the example. (the example Image Recognition has its JavaScript code in the js/clientrecognition.js
file). Code which is mentioned in the description of the examples can be found in this file, if not explicitly stated otherwise.
Samples on GitHub
If you are just interested in browsing through the code of the augmented reality experience you can also find the entire source code of the samples on GitHub
Examples Application
This section describes the SDKExamples
application in detail and highlights the main features and use-cases of the Wikitude SDK.
Usage
To run the application, open the Xcode project and click Run
.
Examples
The SDKExamples
application is structured as a table view where each cell launches an individual ARchitect World, describing a specific feature of the SDK.
The application uses an UINavigationViewController
and pushes each example with a WT*ARViewController
. In most cases, a generic UIViewController
titled WTStandardARViewController
is used. If an example requires a more sophisticated WT*ARViewController
, it loads a custom WT*ARViewController
where specific functionality for this example is implemented.