AR Code AR Face Filter

VIDEO TUTORIAL: How to make a 3D Model optimized for Augmented Reality with AR Code?


Tutorials | 12/06/2024 |


Augmented Reality is a way to bring digital content into the real world. However, preparing 3D models for AR can be challenging. This post will guide you in getting your 3D model ready for AR using Blender, a free 3D modeling tool.

Center Your 3D Model in the 3D Scene

First, ensure that your 3D model is located at the center of your scene. If it's not, it may appear too far away in the AR view. Here's how to center it:

  • Import your model into Blender.
  • Select your model.
  • Set the origin of your model to its geometry. This ensures that the center of your model is truly the center.
  • Use the position parameters to place your model at the coordinates (0,0,0).
  • Save your 3D model.

perseverance nasa 3d AR Code

Reduce Your 3D Model File Size: Textures

To improve the loading speed of your 3D model, you can decrease the size of its texture image files. Here's how:

  • Import your 3D model into Blender.
  • Export your model in .gltf + .bin + textures format.
  • Open the texture files in GIMP, a free image editor.
  • Resize the images to 1024x1024 or smaller.
  • Save the textures as .jpg files with a resolution of 90 or lower.
  • Replace the textures in Blender, or edit your .gltf file and change the texture formats (e.g., from ".png" to ".jpg").
  • Save the file.

Reduce Your 3D Model File Size: Vertices

Another way to improve the loading speed of your model is by reducing its complexity. This involves reducing the number of vertices in the model. Here's how:

  • Import your 3D model into Blender.
  • Select a mesh to decimate.
  • Decimate the mesh, aiming for less than 50,000 faces. Check the 3D rendering to ensure that it still looks good.
  • If your model doesn't have any moving parts, you can decimate multiple meshes at once by joining them first.
  • Export your model in .glb format, choosing "Apply modifiers" but not "Compress".
  • Upload your model to AR Code.

Donut demo

Export Your 3D Model in the Appropriate 3D File Format

When using Augmented Reality services, it is essential to export your 3D model in the correct file format.

When uploading your 3D files on AR Code, you can automatically upload formats such as .GLB, .USDZ, .PLY, .STL, .FBX, .OBJ, .X3D, .GLTF, or .ZIP with 3D file and texture paths. For other formats like .DAE, .ABC, .IFC, .STEP, .IGES, .3DM, .BREP, and .JT it is recommended to seek assistance through dedicated support.

To provide the best user experience, it is recommended to keep the total size of your uploaded 3D files below 15MB. Larger files can cause loading delays for end users.

Scale Your 3D Model

Once you've compressed the textures and reduced the complexity of your 3D model, you can upload it to AR Code. It is recommended to use a model that is no larger than 15MB for smooth AR display. Larger models may have higher definition but can cause slowdowns during AR display.

Next, ensure that your model is at the correct scale. You can check the model scale when uploading it to AR Code. If you need to resize your model, you can do so in Blender:

  • Select your model.
  • Press and hold S (for "scale").
  • Move your cursor away from or towards the object to make it bigger or smaller, respectively.
  • Click to confirm the new size.
  • Export your model in .glb format.

AR 3D Concept Car black

Conclusion

Adapting a 3D model for AR display requires careful optimization to ensure quick loading and good performance on various devices. By compressing textures and reducing complexity, you can create engaging AR experiences without performance issues. Remember, balancing visual quality and performance is key to a successful AR experience.

For a more detailed guide with step-by-step instructions on reducing the size of a 3D model, you can read the tutorial Reduce the size of a 3D model with Blender and GIMP. Advanced users working with industrial CAD models may find this tutorial helpful: How to compress/reduce the size of an industrial 3D CAD model with MeshLab and Blender?

Frequently Asked Questions

Why do I need to center my 3D model in the scene?

Centering your 3D model in the scene is essential for an optimal AR view. If the model isn't centered, it may appear too far away in the AR display. To center the model in Blender, set the origin to its geometry and adjust its position parameters to the coordinates (0,0,0).

How can I reduce the file size of my 3D model?

You can reduce the file size of a 3D model by decreasing the size of its texture image files and simplifying its complexity. To decrease texture image file size, export the model in .gltf + .bin + textures format, resize the images, and save them as .jpg files. To simplify the model's complexity, decimate the mesh to have less than 50,000 faces.

What is the recommended file format for uploading a 3D model on AR Code?

When uploading your 3D files on AR Code, you can automatically upload formats such as .GLB, .USDZ, .PLY, .STL, .FBX, .OBJ, .X3D, .GLTF, or .ZIP with 3D file and texture paths. For other formats like .DAE, .ABC, .IFC, .STEP, .IGES, .3DM, .BREP, and .JT it is recommended to seek assistance through dedicated support.

What is the recommended size of a 3D model for AR display?

To provide an optimal user experience, it is advised to keep the total size of your uploaded 3D files below 15MB. Larger files can cause loading delays for end users, resulting in a disrupted AR experience. Although larger models may have higher definition, they could slow down the AR display.

Powering
107,888 AR experiences
Serving
305,497 Scans per day
Trusted by
85186 Creators



Get Started

Start creating, managing, and tracking your AR Code experiences.
Start creating and managing your Augmented Reality Code experiences.

Get Started

AR Code Object Capture
Create AR Codes instantly for any object with 3D scans from your iPhone Pro or iPad Pro.
AR Code Object Capture


Latest Blog Posts

AI Code
AI Code, prompts users to take a photo, which is then analyzed by AI to provide personalized responses or advice, creating an individualized augmented reality experience.
AI Code


Create, manage, edit, and monitor your AR experiences with our advanced features.

Get Started

AR Logo
The AR Logo feature enables the creation of 3D versions of logos from .SVG image files for enhanced brand representation.
AR Logo


facebook twitter instagram linkedin youtube tiktok