Next Gen XR SDK for iOS
3D + Interactive AR & VR

Emcore3D Documentation





The Emcore3D Framework is designed to be a fast, lightweight, optimized engine to render 3D objects, with augmented reality as one of its core components. It also extends to virtual reality, machine learning and multimedia playback. This makes the experience to develop this kind of content really accessible thanks to its easy to use controls and interaction capabilities.


Quick Start Guide - get up and running with 5 lines of code


The first step is to create an instance of T3DRenderController which is the main class of the Framework and then add its view to your own.

//1
T3DRenderController *renderVC = [[T3DRenderController alloc] initWithSessionName:@"Session Name" withGraphicsAPIType:T3DGraphicsAPITypeOpenGL andLicenseKey:@"License Key"];
//2
[self.view addSubview:renderVC.view];

Then to load a model you need to create a T3DObject instance with a class method that requires a relative path to the folder in which the model assets are (Emcore3D will search for compatible files and load them accordingly) and specify the source where the model is (it can be main bundle, temporary folder and documents folder).

//3
T3DObject *newObject = [T3DObject initWithModelRelativePath:@"Relative Path" andLoadFromSource:T3DResourcePathMainBundle];

After that you just have to add it to the T3DRenderController.

//4
[renderVC addT3DObject:newObject];

That's all, this will display the model in normal mode, if you want to see it in AR you only need to call the next method and add the object to the T3DRenderController inside the completion block.


//5
[renderVC startARKitWithConfiguration:T3DARConfigurationWorldTracking withCompletion:^{
   [renderVC addT3DObject:newObject];
}];



API Headers


T3DRenderController ... Main Class for the Emcore3D Framework.
T3DObject ... Parent Class for each 3D model.
T3DAnchor ... Class to hold all the relevant information for an anchor to the 3D World.
T3DAnimationProperties ... Class to perform animations in any T3DObject.
T3DAnimationStack ... Class with all the information of a FBX animation.
T3DDataStructs ... Definition for the T3DControlDelegate.
T3DGeometryObject ... Class with all the information necessary to render a Geometry shape.
T3DLight ... Class to hold all the relevant information for a Light object in the 3D World.
T3DMaterialProps ... Class with all the properties for a material.
T3DMaterialTrigger ... Class to handle all the trigger types for materials.