Exporting with the Cinema 4D Plugin
The Cinema 4D (also called “C4D”) plugin works for both Mac and PC.
Installing and using the Cinema 4D plugin
– Download the plugin.
– Follow the instructions below.
*Before using the Cinema 4D plugin, please follow the polygon reduction and texture optimization directions in the next section.
*Do not include spaces when naming your file, object and textures. Also, use different names for each object. Having the same name can produce an undesired effect on the model in AR.
Installing the Cinema 4D plugin:
1. Open Cinema 4D.
2. Open the Script menu, go to “User Scripts” and select “Script Folder…”
3. Copy the file AugmentUploader.py into the script folder.
4. Quit and reopen Cinema 4D.
Exporting the file from Cinema 4D using the plugin:
1. From the scene you want to export, select “Script Menu” > “User Scripts” > “Augment Uploader”.
2. The plugin window opens.
3. Log in with your Augment account, define upload settings, i.e. privacy, category.
4. Select “Upload” and you’re done! The plugin exports your 3D model directly to your Augment account.
But first.. Reduce the polygon count in Cinema 4D
Augment supports up to 1 million polygons, but optimized models should be 200,000 polygons or less. 100,000 is even better! Check your model’s polygon count in Cinema 4D.
To view the polygon count in Cinema 4D:
- “Object” menu > “Project information”
- Look for the number in parentheses after “Polygons”
*Tip: Use cmd+i or ctrl+i to view the Project information and polygon count.
*Keep in mind that the polygon count can be 2x – 4x more in Augment than in Cinema 4D, since we use triangles.
To reduce the polygon count in Cinema 4D:
1. Click the eye icon at the top right of the window to select all objects of the same kind. Then, you can select all the Subdivision surfaces in the “Objects” menu.
3. Reduce Subdivision as much as possible (zero is ideal).
4. Raise the angle of spline up to 40 degrees.
5. If your 3D model still contains too many polygons, you can use the “Polygon Reduction” tool.
Optimize Textures in Cinema 4D
Having optimum sizes, dimensions, and number of textures can prevent slow loading and lack of fluidity of your 3D models in AR.
- The total size of all textures for a model should not exceed 25MB.
- A model with fewer polygons allows for a larger number of textures with fluidity.
- A heavy model with more polygons allows for a smaller number of textures before losing fluidity.
If you have more than one texture node as shown in the screenshot below, there may be compatibility issues with Augment. We recommend baking the textures.
Using “Bake Object” from the “Objects” menu is oftentimes a good solution, although it’s not perfect and at times produces bugs.
When baking objects, we recommend that you:
- Check the “Replace Objects” box
- Pixel Border = 8
- Format = PNG
Using Cloner and Instances will reduce the number of textures baked.
Augment supports simple animation objects and bones only. We do not support controllers and any other kinds of animation.
Please also make sure the Coordinates Rotation Order is XYZ, not HPB.
Manual export from Cinema 4D
Augment supports Collada 1.4 and OBJ files. If your 3D model doesn’t have animation, use OBJ as it works better most of the time. If there is animation on your model or have issues with OBJ, you can try Collada 1.4 (.dae).
1. In Cinema 4D, open the 3D model view.
2. Then go to File > Export > Collada 1.4 or Wafefront OBJ.
For OBJ files:
- The checkbox for Texture Coords (UVs) needs to be checked
- Material should be set to “Export Materials”
3. Enter the name and location of your model and options such as include 2D geometry.
4. Find the folder containing the Collada file and textures, zip them together, and either preview your model in Augment Desktop or upload the .zip file directly to the Augment Manager.
Read the article “Adding a 3D model manually” to find out how to upload the model manually.
Preview the 3D model in Augment Desktop
Preview your model in Augment Desktop to see how it will look in AR, before uploading it to the Augment Manager. You can get Augment Desktop here:
1. Import your 3D model.
2. Check for errors and make adjustments as needed in Cinema 4D.
3. If everything looks correct, you can upload your model to Augment using the second icon at the top right of the window.