3D Tracking is aiming to detect and track 3D objects in natural scenes.
EasyAR now detect and track objects with rich textures. Our tracking method enables you to use only the 3D model of the object to setup trackers without any other complex configurations or registration steps beforehand. Also, there is no need to upload your model file or any other data to EasyAR or other websites.
You need a basic + Pro(trail) key for trail or basic + Pro key for release, which is described at Which Key should I use?.
Export from existing models
Use modeling tools like 3Ds Max or Maya, and some other tools to import existing FBX or other models and export to OBJ format.
Make new models from scratch
Use modeling tools like 3Ds Max or Maya to build some 3D models, and export to OBJ format.
Scan real world objects using and generate 3D models using some 3D reconstruction tools
First step to use 3D Tracking is, of course, preparing the 3D model of your target object. The 3D model should be in Wavefront OBJ format and should be shipped with the corresponding material file and at least one texture map file in JPEG or PNG format. For more details about the model format, you can go to 3D Model Specification session for further reading. Bellows are some examples and counterexamples for a quick start.
The model should have rich textures.
The first one can be detected and tracked by EasyAR. EasyAR do not detect or track the second one because there is little texture.
The model can have different shapes.
These two objects can all be detected and tracked by EasyAR.
The model file should not refer an absolute path.
The second model cannot be loaded into tracker because EasyAR cannot find the file in absolute path.
The filename and path in model file should not have spaces.
The model file should use UTF-8 encoding.
Positive orientation of face normal is defined in the right-hand rule.
The shaded face of the second cubic have negative orientation and will be considered as invisible by EasyAR. If you look from the inner side, you will see something like the third cubic. Any negative oriented faces should be avoided.
After the 3D model of your target object has been prepared, you can use it like using images for image tracking in EasyAR.
You can reference HelloARObjectTracking sample for different platforms.
Please notice you would need a basic + Pro(trail) key for trail or basic + Pro key for release, which is described at Which Key should I use?.
Also, you may want to reference HelloAR and HelloARTarget samples for different target usages. Although those samples use ImageTarget, you can easily change targets to ObjectTarget.
Here are introductions for how to use those samples for different platforms.
You would need a Pro edition of EasyAR 2.0 or later.
Here are introductions for how to use the SDK packages for different platforms.
You need ObjectTarget when using 3D object tracking.
Rotation of object under the ObjectTarget should be set to,
X: 90 y: 180 z: 0