> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-ko/3d/3d-models.md).

# 3D 모델

외부 3D 모델에서 지원되는 에셋과 컴포넌트를 알아보고, Decentraland로 가져오기 전에 이를 어떻게 설정하는지 알아봅니다.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-5367cb41c363e65a52e8beaf39559643751a7b1f%2F01-3d-essentials-banner%20\(1\).png?alt=media)

Decentraland에 3D 모델을 가져올 때는 모델이 glTF 형식인지 확인하는 것이 중요합니다. 이러한 모델에는 다양한 지원 기능이 포함될 수 있습니다. 이 섹션에서는 이를 Decentraland와 호환되게 만드는 방법과 모범 사례를 다룹니다.

{% hint style="info" %}
**💡 팁**: 설치하세요 [Decentraland Tools Blender 플러그인](https://extensions.blender.org/add-ons/decentraland-tools/). 여기에는 3D 모델, 착용 아이템, 이모트를 편집하고 내보내는 데 도움이 되는 여러 유용한 기능이 포함되어 있습니다.
{% endhint %}

모든 모델, 셰이더, 텍스처는 다음을 준수해야 합니다: [**씬 제한 사항**](https://docs.decentraland.org/creator/scenes-sdk7/optimizing/scene-limitations/).

## **지원되는 3D 모델 형식**

Decentraland의 모든 3D 모델은 glTF 형식이어야 합니다. [**glTF**](https://www.khronos.org/gltf) (GL Transmission Format)은 Khronos의 오픈 프로젝트로, 효율적이고 현대 웹 기술과의 상호운용성이 뛰어난 3D 자산용 공통 확장 가능 형식을 제공합니다.

glTF 모델은 다음 중 하나를 가질 수 있습니다: *.gltf* 나 *.glb* 확장자입니다. glTF 파일은 사람이 읽을 수 있어 텍스트 편집기에서 열어 JSON 파일처럼 읽을 수 있습니다. 예를 들어 애니메이션이 올바르게 연결되었는지 확인하고 이름을 확인하는 데 유용합니다. glb 파일은 바이너리이므로 읽을 수는 없지만 크기가 훨씬 작아 씬의 성능에 좋습니다.

다음을 사용하는 것을 권장합니다: *.gltf* 씬 작업 중에는 이를 사용하다가, *.glb* 업로드할 때는 다음으로 전환합니다.

3D 모델의 다음 요소들은 다음에 내장할 수도 있습니다: *glTF* 파일 또는 외부 참조:

* 텍스처는 내장할 수도 있고 외부 이미지 파일에서 참조할 수도 있습니다.
* 기하 정보, 애니메이션 및 모델의 기타 버퍼 관련 요소에 대한 바이너리 데이터는 내장하거나 외부 *.bin* 파일을 추가할 수 있습니다.

{% hint style="warning" %}
**📔 참고**: 애니메이션 *반드시* 안에 내장될 수 있습니다 *glTF* 파일에 포함되어 Decentraland에서 사용할 수 있습니다. 또한 각 모델은 UV 맵을 1개만 가질 수 있습니다.
{% endhint %}

## **glTF를 사용하는 이유**

우리가 glTF를 사용하는 이유는 다음과 같은 강력한 기능을 제공하기 때문입니다:

* 계층적 객체
* 스켈레탈 구조와 애니메이션
* 머티리얼과 셰이더를 위한 견고한 파이프라인
* 광원과 카메라 같은 씬 정보(향후 개발에 활용될 수 있음).

다음과 비교했을 때 *COLLADA*, 지원되는 기능은 매우 유사합니다. 그러나 glTF는 편집기 형식이 아니라 ‘전송 형식’을 제공하는 데 중점을 두기 때문에 웹 기술과의 상호운용성이 더 뛰어납니다.

## **glTF 내보내기 및 변환**

### **Blender에서 glTF로 내보내기**

Blender에는 기본 glTF 내보내기 기능이 있습니다.

내보내려면 .glb 파일에 포함할 모델을 선택한 다음 File - Export - glTF 2.0으로 이동하세요.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-30e38513ce59831ac027cf1787af061bfdb7c267%2F02-export-glt-from-blender%20\(1\).png?alt=media) ![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-86db9dd94033fbf82446265353dce37915351452%2F03-exporting-options%20\(1\).png?alt=media)

*측면 패널에서 씬의 선택한 오브젝트만 내보내려면 “Selected Objects”를 선택하세요. 또한 Mesh 드롭다운에서 Apply Modifiers(적용된 경우)를 선택한 다음 Export를 클릭하세요.*

### **3D Studio Max에서 glTF로 내보내기**

3D Studio Max는 기본적으로 glTF 내보내기를 지원하지 않지만, 플러그인을 설치해 활성화할 수 있습니다.

1. 플러그인을 다운로드하려면 [이 링크를](https://github.com/BabylonJS/Exporters/tree/master/3ds%20Max).
2. 다음 안내를 따라 플러그인을 설치하세요 [이 지침을](http://doc.babylonjs.com/resources/3dsmax#how-to-install-the-3ds-max-plugin).
3. 플러그인을 사용해 glTF 파일을 내보내려면 다음을 따르세요 [이 지침을](http://doc.babylonjs.com/resources/3dsmax_to_gltf).

### **Maya에서 glTF로 내보내기**

Maya는 기본적으로 glTF 내보내기를 지원하지 않지만, 플러그인을 설치해 활성화할 수 있습니다.

1. 다음 안내를 따라 플러그인을 설치하세요 [이 지침을](http://doc.babylonjs.com/resources/maya).
2. 플러그인을 사용해 glTF 파일을 내보내려면 다음을 따르세요 [이 지침을](http://doc.babylonjs.com/resources/maya_to_gltf#pbr-materials).

{% hint style="warning" %}
**📔 참고**: 대안으로 다음을 시도해 볼 수 있습니다 [이 다른 플러그인](https://github.com/WonderMediaProductions/Maya2glTF) 도.
{% endhint %}

### **Unity에서 glTF로 내보내기**

Unity는 기본적으로 glTF 내보내기를 지원하지 않지만, 플러그인을 설치해 활성화할 수 있습니다.

플러그인을 다운로드하려면 [이 링크를](https://github.com/sketchfab/Unity-glTF-Exporter).

{% hint style="warning" %}
**📔 참고**: 대안으로 다음을 시도해 볼 수 있습니다 [이 다른 플러그인](https://assetstore.unity.com/packages/tools/utilities/collada-exporter-for-unity2017-99793) 도.
{% endhint %}

### **SketchUp에서 glTF로 내보내기**

SketchUp는 기본적으로 glTF 내보내기를 지원하지 않지만, 플러그인을 설치해 활성화할 수 있습니다.

플러그인을 다운로드하려면 [이 링크를](https://extensions.sketchup.com/en/content/gltf-exporter).

### **FBX를 glTF로 변환**

*.fbx* .fbx는 3D 모델을 위한 매우 널리 사용되는 표준입니다. 우리 엔진에서는 지원하지 않지만, 쉽게 *.fbx* 모델을 *.gltf* 형식으로.

다음 도구를 사용하는 것을 권장합니다:

* [**Blender**](https://www.blender.org/download/): .fbx를 glTF로 변환하는 쉬운 방법은 Blender로 .fbx를 씬에 가져온 다음 그곳에서 내보내는 것입니다.
* [**Facebook의 CLI 도구**](https://github.com/facebookincubator/FBX2glTF): 가장 견고한 대안이지만, 명령줄 사용이 필요합니다.
* [**Blackthread**](https://blackthread.io/gltf-converter): 가장 완전한 웹 기반 도구입니다. CLI보다 덜 견고하지만 훨씬 사용하기 쉽습니다.
* [**Modelconverter**](https://modelconverter.com/convert.html): 또 다른 사용하기 쉬운 웹 기반 도구입니다.

## **glTF 모델 미리보기**

glTF 모델의 내용을 씬에 가져오기 전에 빠르고 쉽게 미리보는 방법은 다음을 사용하는 것입니다 [**Babylon.js Sandbox**](https://sandbox.babylonjs.com/). glTF 파일(및 해당 *.bin* 파일이 있다면)을 캔버스에 끌어다 놓기만 하면 모델을 볼 수 있습니다.

Sandbox에서는 모델에 내장된 애니메이션도 미리 볼 수 있으며, 드롭다운 메뉴에서 선택해 표시할 애니메이션을 고를 수 있습니다.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-bf9bd765a4a99705f7649909c74acd6dddb860d1%2F04-preview-gltf%20\(1\).png?alt=media)

## **glTF 분석**

glTF를 분석하는 데 유용한 도구 중 하나는 다음을 사용하는 것입니다 [**glTF Sample Viewer**](https://github.khronos.org/glTF-Sample-Viewer-Release/). 이 도구를 사용하면 채널, 텍스처, 다양한 조명 환경에 대한 반응을 살펴보고, 애니메이션을 미리 보는 등 훨씬 더 많은 작업을 할 수 있습니다! 단일 모델에 이상적입니다.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-9d1b28696f55191432bb5c9c315c7497f91b970c%2F05-gltf-sample-viewer%20\(1\).png?alt=media)

또 다른 유용한 도구는 [**gltf.report/**](https://gltf.report/). 모델을 웹사이트에 끌어다 놓기만 하면 glTF 패키지의 내용을 확인하고 모델의 어떤 부분을 최적화할 수 있는지 평가할 수 있습니다.

이 도구는 여러 모델, 텍스처, 애니메이션이 포함된 큰 파일에서 특히 유용할 수 있습니다. 예를 들어 텍스처를 크기별로 정리하면 어떤 텍스처가 가장 많은 리소스를 사용하는지 쉽게 확인할 수 있습니다.

![](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-ca94129743df645c2e758d463f7837dea3dd03d0%2F05-gltf-report%20\(1\).png?alt=media)

## **glTF 최적화**

다음 도구는 3D 모델을 더 가볍게 만들어 씬의 플레이어가 더 빠르게 다운로드할 수 있도록 하는 몇 가지 최적화를 제공합니다.

[glTF 파이프라인](https://github.com/AnalyticalGraphicsInc/gltf-pipeline)

그중에서도 다음을 변환합니다 *.gltf* 형식을 다음으로 *.glb*, 이는 바이너리이므로 훨씬 적은 공간을 차지합니다. 또한 텍스처 파일을 3D 모델 밖에 두어 여러 모델에서 같은 텍스처를 사용할 수 있게 합니다.

{% hint style="warning" %}
**📔 참고**: *.glb* 형식은 기본적으로 항상 텍스처가 파일 안에 내장되어 있습니다. 엔진은 내장된 두 텍스처를 동일한 것으로 인식할 수 없으며, 동일한 해시를 공유하는 외부 파일이어야 합니다.
{% endhint %}

## 또한 참조하세요

다음 페이지들도 Decentraland의 3D 모델 관련 주제를 다룹니다:

* [메시](/creator/content-creator-ko/3d/meshes.md)
* [재질](/creator/content-creator-ko/3d/materials.md)
* [텍스처](/creator/content-creator-ko/3d/textures.md)
* [콜라이더](/creator/content-creator-ko/3d/colliders.md)
* [애니메이션](/creator/content-creator-ko/3d/animations.md)
* [유용한 자료](/creator/content-creator-ko/sdk7/getting-started/useful-resources.md): 3D 워크플로를 가속하는 Blender 애드온, 에셋 라이브러리 및 AI 도구


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-ko/3d/3d-models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
