Product Documentation

Руководство по DCC

Unity

Tripo3D Unity Bridge — это лёгкий плагин, который напрямую подключает Unity к главной странице Tripo Studio. С его помощью можно отправлять сгенерированные модели из браузера прямо в редактор Unity — без ручного скачивания, импорта и дополнительных действий.

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

Требования

ОС: Windows, Mac

Unity: 2021.3 LTS или новее (рекомендуется 2022.3 LTS+ или Unity 6 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 и получения моделей из 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.

Была ли эта статья полезна?

Помогите нам улучшить этот материал.