# 3D Scanning of Real Objects

Luma AI is a user-friendly software designed for beginners, eliminating the need for a background in 3D modeling or graphic programming. It allows users to generate 3D digital models by directly scanning real objects. Below is a guide on how to use Luma AI to create 3D digital model assets that can be uploaded to the Unity SDK.

## Download and Installation

Download and install the Luma AI app on your mobile device. Currently, it only supports the iOS system. Here are the requirements for mobile devices:

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F0mCtW9K2CTigTL3XliXQ%2F01.png?alt=media&#x26;token=36f31296-f937-412a-9b84-6e1edd7e9596" alt=""><figcaption></figcaption></figure>

## Register and Log in on the Mobile App and Official Website

## **Create**

There are two ways to create a 3D model:

### **AI Generation**

* After logging in, click on the "Create" button on the right side of the home screen to enter the AI generation page.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FCGZQFHxeVgzhXxCNvwcG%2F02.png?alt=media&#x26;token=ac7ff90f-1aa1-4f14-a04b-503750cba86c" alt=""><figcaption></figcaption></figure>

* In the text box below, enter a description of the model you want to generate, such as "A pink cup".
* Then click on the generate button on the right side of the input box and wait for the corresponding model to be generated.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FKcLED1HjyjBgkdIZboul%2F03.png?alt=media&#x26;token=9f3ed4a9-9deb-40e3-a367-c5b93d6b153d" alt=""><figcaption></figcaption></figure>

* Click on the model you want.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FYBicKIJfb1TtiRrATiGY%2F04.png?alt=media&#x26;token=ada22db3-7df8-4093-aae5-37f069a9460a" alt=""><figcaption></figcaption></figure>

### Create Your Own

1. After logging in, click on the "+" in the middle of the bottom of the screen to enter the creation page. Choose the method of creating your project. There are three ways in total:

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FGUiHdyLkU7MMIIDCdVEn%2F05.png?alt=media&#x26;token=97f5fe3f-17ec-47f8-94d0-319d6dd9942e" alt=""><figcaption></figcaption></figure>

**3.1** Method One: UPLOAD (upload a local video) - Automatically recognize the model object by uploading a local video.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FTiBwROkxBIUmGvEtOouL%2F06.png?alt=media&#x26;token=2a75e5db-7d99-4c8c-93af-f80a337b834a" alt=""><figcaption></figcaption></figure>

**3.2 Method Two: OBJECT**

Capture the model by moving your phone. The steps are as follows:

* Complete the tutorial as prompted;
* Click on the "Confirm" button to start capturing the model.；

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FkNlJMOLGZ4rfeTJuMpwt%2F07.png?alt=media&#x26;token=ace4f9e9-816c-49f6-8a0f-0e7d79b48adb" alt=""><figcaption></figcaption></figure>

* Take note of the following during the capture process:

&#x20;     **Capture Orientation:** Rotate the capture from three different heights:  &#x20;

a. Align the phone with your chest, looking straight ahead.&#x20;

b. Position the phone slightly above the head, pointing towards the center of the scene.

c. Finally, capture from just above knee level. &#x20;

&#x20;    **Capture Speed:** Motion blur significantly reduces the quality of reconstruction. To achieve the best effect, move the phone slowly and avoid rapid movements, especially rotations. &#x20;

&#x20;   **Scene Coverage:** For optimal results, capture the model or scene from as many unique viewpoints as possible. Also, move the phone in 3D space during capture, rather than rotating the model from a stationary position. Guided capture mode is a good choice to ensure sufficient coverage.&#x20;

&#x20;    **Model Size:** For guided captures, the more comprehensive the coverage of the model from all angles (including top and bottom), the better the results. Therefore, capturing larger models may not yield perfect results. &#x20;

&#x20;    **Model Distance:** For best results, try to keep the entire model within the frame during scanning. This provides the app with more information about reflections and model shape for more accurate reconstruction. &#x20;

&#x20;    **Model Material:** Currently, the app struggles with complex reflections (like curved mirrors), transparent models (like car windows or plastic bottles), and very large textureless surfaces (like white walls). Most other materials work well. &#x20;

&#x20;    **Capture Environmental Lighting:** The app can capture models in most lighting conditions as long as the texture remains recognizable (i.e., not colorless or completely dark).  &#x20;

&#x20;    **Moving Models:** Any movement in the scene during capture can reduce the quality of the final result. For example, leaves swaying in the wind may cause loss of detail, while moving people in the background may introduce artifacts. Be careful not to extend fingers/arms/legs into the frame while shooting.

* After completing the model capture, click "Finish" on the top right corner.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FHYVfGBgbCUd27w6SYWYQ%2F08.png?alt=media&#x26;token=edbd362a-0e1e-4779-b5b5-b2c7cc3f4ead" alt=""><figcaption></figcaption></figure>

**3.3 Method Three: SCENE**

Capture the model using your phone's camera to record a video. The steps are as follows:

1. Click the red start button in the middle at the bottom of the screen to shoot a video circling around the model.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FFNrVA9fMun26MrwZUxeH%2F09.png?alt=media&#x26;token=ac93244f-d8bc-4f45-8e9e-2f6ff4cf991a" alt=""><figcaption></figcaption></figure>

2. After completing the shooting, click on the "Finish" button on the top right corner.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F00QOOJRYQAkoWow17lrv%2F10.png?alt=media&#x26;token=f52ec506-c7fb-486a-9cf8-c35ba36bc335" alt=""><figcaption></figcaption></figure>

Take note of the following for video capture:

**Video Setting:**  When using video capture, it is best to turn off the "HDR Video" option.

**Exposure:** t is recommended to use fixed exposure as much as possible.

## **Upload**

After completing the above steps, you will be redirected to the upload page.&#x20;

1. Click on the "Upload" button at the bottom of the screen, which will pop up a window to edit the model name.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FVZLfoiX3JSO7HqqMVijp%2F11.png?alt=media&#x26;token=f3358dcf-55b6-4392-bc2b-abfaa440d874" alt=""><figcaption></figcaption></figure>

2. Edit the model name and click "Upload" to start the upload process.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FkUso3FYHFPxXevatrWiY%2F12.png?alt=media&#x26;token=8c51ecce-7b34-48f0-ba1e-8929adafafcf" alt=""><figcaption></figcaption></figure>

## **Rendering**

After the upload is complete, wait for the rendering process (this step requires no action, just wait for the rendering to be completed).

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FOf2PDu4sxwkG6S2HNaC6%2F13.png?alt=media&#x26;token=2ad33127-9a15-4d24-9d1a-f05b68560934" alt=""><figcaption></figcaption></figure>

## **Download**

The steps are as follows:

### Mobile APP:

1. After rendering is complete, pull up the details page from the bottom.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FKm5hiQ5xLWt8QAocPvmR%2F14.png?alt=media&#x26;token=61bf5c1a-9daf-4339-8d78-894cebccc590" alt=""><figcaption></figcaption></figure>

2. Select "Assets ---> OBJ ---> Low-Poly Diffuse".

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FeVaV3Ra4jCmE27ZLs6l0%2F15.png?alt=media&#x26;token=0f2fdb9b-959a-4185-b8e4-68ec9d7ce6d1" alt=""><figcaption></figcaption></figure>

3. A confirmation pop-up will appear, click on "Proceed" to download.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F8cEXDLMt7kXMdGmJWHHW%2F16.png?alt=media&#x26;token=91932a66-4afc-4317-b7ee-6a5890bbe4ed" alt=""><figcaption></figcaption></figure>

4. After the download is complete, select the location to store the compressed file.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F2k20FeUg9Cl9qO2EvX7j%2F17.png?alt=media&#x26;token=cbba51df-b3ee-440d-8628-f7e1bc68c34b" alt=""><figcaption></figcaption></figure>

### **PC：**

1. Login and go to the homepage.
2. Click on the "Captures" button in the top right corner to navigate to the Fields Dashboard page.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FObfPhBOfPmoTGd1TFqA9%2F18.png?alt=media&#x26;token=b600e74b-7e9a-4d4b-aafb-ac18f3a1c75a" alt=""><figcaption></figcaption></figure>

3. On the Fields Dashboard page, select the model you want to download under Your Captures.
4. Hover over the model you want to download, and a download button will appear.
5. Click the download button, a page for selecting download parameters will appear.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F9uidjX5LjQ86qSjFNTmc%2F19.png?alt=media&#x26;token=1e00a919-41b9-4d2d-b8d3-62b8157b5f3c" alt=""><figcaption></figcaption></figure>

6. Select "Object ---> OBJ ---> low poly" for the download.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2FU4ZCgOtg3HqovboQQB4M%2F20.png?alt=media&#x26;token=a0412f57-3d90-4875-b9c3-94937d6d979d" alt=""><figcaption></figcaption></figure>

## Uploading Models Downloaded from Luma AI

Before uploading models downloaded from Luma AI, it's necessary to convert the type of the model:

1. Drag the entire model folder into your project folder.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F7q8nH46stj87H5UpU6NC%2F21.png?alt=media&#x26;token=fc9ee770-15c8-4561-a1ba-aa0d21c0f13b" alt=""><figcaption></figcaption></figure>

2. Directly drag and drop the model into the scene.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F4PqDEmEfIsd5fdSQlGTE%2F22.png?alt=media&#x26;token=8c7c355c-6d79-4003-901d-ca2feda933a0" alt=""><figcaption></figcaption></figure>

3. Drag it down and click on “Original Prefab” to generate a prefab type model, which can then be uploaded as a prefab type model.

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F42w3AkZJGqjOYovNJXoO%2F23.png?alt=media&#x26;token=700f8fe4-08a8-4f04-9c29-aeab514ace17" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3130563785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrVdUcaH53vO66ubVk8a%2Fuploads%2F0bT7NaWOFgtU4wY2PiSl%2F24.png?alt=media&#x26;token=19c2b20c-6426-4ef2-b787-5cd24f40e147" alt=""><figcaption></figcaption></figure>
