Product Documentation

Посібник із DCC

Unity

Tripo3D Unity Bridge — це легкий плагін, який безпосередньо з’єднує Unity із головною сторінкою Tripo Studio. За допомогою цього мосту ви можете надсилати згенеровані моделі з браузера просто до редактора Unity — без ручного завантаження, імпорту чи додаткових дій.

Він допомагає оптимізувати робочі процеси художників, технічних художників і розробників ігор, щоб ви могли зосередитися на створенні сцен та інтеграції ігрового процесу, а не на керуванні файлами.

Вимоги

ОС: Windows, Mac

Unity: 2021.3 LTS або новіша версія (рекомендовано 2022.3 LTS+ або Unity6 LTS+)

Браузер:
Підтримуються Google Chrome 116+, Edge 116+, Opera 102+
Інші браузери не підтримуються

Параметри імпорту за замовчуванням:

  • Створювати колайдери: false
  • Імпортувати матеріали: true
  • Імпортувати текстури: true
  • Опорна точка: знизу по центру
  • Роздільна здатність текстури: поточне максимальне значення

Покрокове встановлення

Крок 1: Перейдіть на Tripo Studio і завантажте ZIP-файл Tripo3D Unity Bridge.

The image shows Tripo Studio’s 3D Workspace interface. On the left are tabs for model, segmentation, topology, and texture, with the “Model” tab currently selected. The “Generate Model” area displays the “HD Model” and “Smart Mesh” options, with an “Upload” button below. The center shows a 3D model preview of a character wearing a red cape and armor. On the right is the DCC Bridge tab, listing various 3D software applications such as Blender and 3ds Max, with “Install” buttons for some applications. This image relates to “Step 4” in the documentation and shows the interface for selecting a model in Tripo Studio and preparing to send it to Unity.

Крок 2: Імпортуйте пакет у Unity. Відкрийте проєкт Unity і перейдіть до: Window → Package Manager

У вікні Package Manager натисніть кнопку «+» у верхньому лівому куті. Виберіть Add package from disk…

Перейдіть до розпакованої папки плагіна. Виберіть файл package.json.

Після встановлення плагін з’явиться у списку Package Manager, а його файли будуть доступні в проєкті.

This image shows the Unity software interface and corresponds to Step 2 of the export integration process in the documentation. The Window menu in the Unity interface is expanded, with Package Manager selected. The Package Manager window below lists installed packages, including the Core Coverage package at version 1.5.0. The interface guides the user through importing the Tripo3D Unity Bridge plugin into a Unity project, following the documented instruction to add the corresponding plugin through Package Manager.
This image shows the Unity Package Manager window as part of the Unity plugin installation process. The list on the left contains installed or available plugins, with the “Code Coverage” plugin selected at version 1.2.6. An operation menu is open in the upper left of the window, listing options such as “Add package from disk...” and “Add package from tarball...”. This corresponds to the instruction in Step 2 of the documentation to select “Add package from disk…” when importing the plugin, allowing the user to select the plugin’s package.json file from disk.
This image shows Unity’s “Add package from disk” interface, corresponding to the plugin package import step in Step 2 of the documentation. On the left is a file directory tree, with the Tripo3d_Unity_Bridge folder selected under the local disk (F:). The folder contains an Editor folder and a package.json file, which is a 1KB JSON source file. The filename field at the bottom displays the selected package.json file, and the “Open” button in the lower right can be used to complete the package selection. This is a key visual step in importing the Tripo3D Unity Bridge plugin.
The image shows Unity’s Package Manager interface. In the list on the left, the Tripo Bridge plugin is selected, with version 1.0.0 and status Local. The details panel on the right states that the plugin was developed by Tripo AI and describes it as a WebSocket-based plugin for receiving and importing 3D models from the Tripo3D web frontend. Its version history, dependencies, and other information are listed below. This image relates to “Step 2” in the documentation and shows that the Tripo3D Unity Bridge plugin appears and is available in Package Manager after installation.

Крок 3: Після встановлення перейдіть до: Tools → Tripo Bridge

Після відкриття панелі служба Bridge запускається автоматично.

Служба Bridge має працювати, поки ви підключаєтеся до веббраузера. Не закривайте Unity або панель Bridge під час передавання моделі.

На панелі Tripo Bridge конвеєр рендерингу визначається автоматично відповідно до поточного проєкту Unity.

Підтримуються такі конвеєри:

  • Standard (Built-in Render Pipeline)
  • URP
  • HDRP

Також можна стежити за станом з’єднання в реальному часі та переглядати докладний журнал.

Якщо потрібно зупинити службу вручну, натисніть Stop Server на панелі.

Однак для надсилання моделей у Tripo Studio або отримання моделей звідти служба має працювати. Якщо її зупинено, натисніть Start Server, перш ніж починати передавання.

This image shows the Unity software interface as used in the workflow after installing the Tripo3D Unity Bridge plugin. The top menu bar includes the “Window” option. The Scene view in the center shows Unity’s default scene, including the sky, ground, and directional light. The Inspector panel on the right displays the scene’s Lighting settings, while the Project panel at the bottom shows project files and the plugin folder. Overall, the interface presents the Unity environment used with Tripo3D Unity Bridge after installation is complete.
The image shows the Unity interface after the Tripo Bridge plugin has been installed and run. On the left are the Hierarchy and Project windows, while the Game window in the center displays a blue background. The Inspector window on the right shows Lighting settings. In the Tripo Bridge panel that opens in the center, Status is “Connected,” Render Pipeline is “Standard,” Render Type is “Standard,” Progress is “0.0%,” and the Message Log displays information such as “WebSocket server started.” This image corresponds to Step 3 in the documentation and directly presents the Bridge service starting automatically and its real-time connection status after installation.
The image shows the Unity interface after the Tripo Bridge plugin has been installed and run. On the left are the Unity editor’s Hierarchy and Project views. In the center is the Tripo Bridge panel, displaying information such as Status, Port, and Render Pipeline, along with the Message Log area. On the right is the Inspector panel, showing settings such as Lighting and Lighting Settings. This image corresponds to “Step 3” in the documentation and directly presents the interface after opening the Tripo Bridge panel in Unity to view the real-time connection status and log output.

Крок 4: Відкрийте вебсайт Tripo Studio, натисніть кнопку DCC Bridge і активуйте плагін Unity.

Переконайтеся, що з’єднання налаштовано правильно.

Виберіть модель. Натисніть кнопку Експорт у міні-вікні.

Натисніть Надіслати в Unity.

Після передавання переконайтеся, що вікно Unity активне — за потреби клацніть його, — щоб інтерфейс оновився та належним чином відобразив отриману модель.

Щоб експортувати модель з анімаціями, спочатку створіть анімації в Tripo Studio, а потім виберіть потрібні анімації на панелі експорту та надішліть їх безпосередньо в Unity.

The image shows the interface for transferring a model to Unity using Tripo Bridge. The Hierarchy and Project windows on the left display elements such as SampleScene. The Game window in the center shows the Tripo model. The Inspector window on the right displays settings such as Lighting and Lightmap. The Tripo Bridge panel, located toward the lower middle, shows Status as Connected, Port as 40610, Render Pipeline as Standard, and Progress as 0%. The Message Log records information such as the WebSocket server starting. This image relates to the “Step-by-Step Installation” section of the documentation and illustrates the interface after transferring a model in Unity.
This image shows the Tripo Studio platform interface in a model export workflow related to Unity. On the left is an asset selection panel with the “ASSETS” label, displaying various model resources available for export. The center shows a generated character model, a sci-fi-style female figure holding a large weapon. On the right is the “DCC Bridge” panel, labeled as supporting export to Unity, Blender, and other software, with the Unity option currently highlighted. The interface is used to select resources and prepare their transfer before exporting the model to Unity.
The image shows the “Assets” interface in Tripo Studio. At the top are the “Featured” and “My Assets” tabs, with “My Assets” currently selected. Multiple model assets, such as weapons and characters, are displayed below, with yellow download icons beside some models. The “LOG” area at the bottom shows “File transfer success” and “File transfer (Progress: 82%),” while the right side shows the “Connected” status and “Credits: 165.” The image relates to the “Step-by-Step Installation” section of the documentation and shows the model assets and file transfer status.
This image shows the model export interface. In the export panel on the left, the filename is “futuristic soldier 3d model,” the format is set to GLB, and the expanded send options show “Send To Unity” highlighted with its switch turned on. The “Choose Animations” panel on the right shows that animations to send must be selected; “afraid” is currently checked, and “agree” and “flip” are also available. At the bottom are the yellow “Send To” and “Export” buttons. This interface corresponds to the documented steps for exporting and sending a model with animations to Unity.

Крок 5: Тепер ви можете побачити модель із вебсайту в Unity.

The image shows a Tripo Studio model imported into Unity. The model is previewed in the scene against a light-colored ground and blue sky background. It is a female character wearing purple clothing and holding a weapon. On the right, the Inspector panel has the Material, Rig, Animation, and Materials tabs selected, displaying information about the model. The Project panel at the bottom lists the imported model files. This image corresponds to “Step 5:You can now see the model in Unity from the website.” in the documentation and directly shows how the model appears in Unity.

Поширені запитання

З: Імпортована модель у Unity відображається фіолетовою.

В: Фіолетовий (пурпуровий) матеріал у Unity зазвичай свідчить про невідповідність шейдера або конвеєра рендерингу.

Якщо у вашому проєкті використовується URP або HDRP:

Відкрийте панель Tripo Bridge.

Переконайтеся, що вибрано правильний конвеєр рендерингу (URP / HDRP), а потім знову виберіть модель у Tripo Studio.

Також можна виправити матеріали вручну: виберіть потрібний матеріал, змініть його шейдер на Universal Render Pipeline/Lit (для URP) або HDRP/Lit (для HDRP), замініть відповідні текстури та, якщо проблема не зникне, переконайтеся, що в Project Settings → Graphics призначено дійсний ресурс конвеєра рендерингу.

З: Чи можна передавати дані одночасно до кількох екземплярів Unity?

В: Ні. З’єднання розпізнає лише перший запущений екземпляр Unity.

З: Чи можна надсилати моделі, коли Unity перебуває в режимі Play?

В: Наразі передавання моделей підтримується лише в режимі Unity Editor.

Чи була ця стаття корисною?

Допоможіть нам покращити цей матеріал.