Product Documentation

Hướng dẫn DCC

Unity

Tripo3D Unity Bridge là một plugin gọn nhẹ kết nối trực tiếp Unity với trang chủ Tripo Studio. Với bridge này, bạn có thể gửi các mô hình đã tạo từ trình duyệt thẳng vào Unity Editor—không cần tải xuống, nhập thủ công hay thực hiện thêm bước nào.

Plugin được thiết kế để tinh giản quy trình làm việc cho nghệ sĩ, nghệ sĩ kỹ thuật và nhà phát triển game, giúp bạn tập trung vào việc xây dựng cảnh và tích hợp gameplay thay vì quản lý tệp.

Yêu cầu

Hệ điều hành: Windows, Mac

Unity: 2021.3 LTS trở lên (khuyến nghị 2022.3 LTS+ hoặc Unity6 LTS+)

Trình duyệt:
Hỗ trợ Google Chrome 116+, Edge 116+, Opera 102+
Không hỗ trợ các trình duyệt khác

Cài đặt nhập mặc định:

  • Tạo Collider: false
  • Nhập vật liệu: true
  • Nhập họa tiết: true
  • Điểm xoay: Chính giữa đáy
  • Độ phân giải họa tiết: Mức tối đa hiện tại

Hướng dẫn cài đặt từng bước

Bước 1: Truy cập Tripo Studio và tải tệp 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.

Bước 2: Nhập gói vào Unity. Mở dự án Unity của bạn và truy cập: Window → Package Manager

Trong cửa sổ Package Manager, nhấp vào nút “+” ở góc trên bên trái. Chọn Add package from disk…

Tìm đến thư mục plugin đã giải nén. Chọn tệp package.json.

Sau khi cài đặt, plugin sẽ xuất hiện trong danh sách Package Manager và các tệp của plugin sẽ có trong dự án.

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.

Bước 3: Sau khi cài đặt, truy cập: Tools → Tripo Bridge

Khi bảng điều khiển mở ra, dịch vụ Bridge sẽ tự động khởi chạy.

Dịch vụ Bridge phải tiếp tục chạy trong khi kết nối với trình duyệt web. Không đóng Unity hoặc bảng điều khiển Bridge trong quá trình truyền mô hình.

Trong bảng điều khiển Tripo Bridge, Render Pipeline sẽ được tự động phát hiện dựa trên dự án Unity hiện tại.

Các pipeline được hỗ trợ gồm:

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

Bạn cũng có thể theo dõi trạng thái kết nối theo thời gian thực và xem nhật ký chi tiết.

Nếu cần dừng dịch vụ theo cách thủ công, hãy nhấp vào Stop Server trong bảng điều khiển.

Tuy nhiên, để gửi hoặc nhận mô hình từ Tripo Studio, dịch vụ phải đang chạy. Nếu dịch vụ đã dừng, hãy nhấp vào Start Server trước khi bắt đầu truyền.

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.

Bước 4: Mở trang web Tripo Studio, nhấp vào nút DCC Bridge và kích hoạt plugin Unity.

Xác nhận kết nối đã được thiết lập chính xác.

Chọn một mô hình. Nhấn nút Export trong cửa sổ nhỏ.

Nhấp vào Send to Unity.

Sau khi truyền, hãy đảm bảo cửa sổ Unity đang được chọn—nhấp vào cửa sổ nếu cần—để giao diện người dùng làm mới và hiển thị mô hình vừa nhận đúng cách.

Nếu muốn xuất mô hình có hoạt ảnh, trước tiên hãy tạo hoạt ảnh trong Tripo Studio, sau đó chọn các hoạt ảnh mong muốn trong bảng Export và gửi trực tiếp đến 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.

Bước 5: Giờ đây, bạn có thể xem mô hình trong Unity từ trang web.

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.

Câu hỏi thường gặp

H: Mô hình đã nhập hiển thị màu tím trong Unity.

Đ: Vật liệu màu tím (đỏ tươi) trong Unity thường cho biết shader hoặc render pipeline không khớp.

Nếu dự án của bạn sử dụng URP hoặc HDRP:

Mở bảng điều khiển Tripo Bridge.

Đảm bảo đã chọn đúng Render Pipeline (URP / HDRP), sau đó chọn lại mô hình từ Tripo Studio.

Ngoài ra, bạn có thể tự khắc phục vật liệu bằng cách chọn vật liệu bị ảnh hưởng, đổi Shader thành Universal Render Pipeline/Lit (cho URP) hoặc HDRP/Lit (cho HDRP), thay thế các họa tiết tương ứng và, nếu sự cố vẫn tiếp diễn, đảm bảo đã chỉ định Render Pipeline Asset hợp lệ trong Project Settings → Graphics.

H: Tôi có thể truyền dữ liệu đồng thời đến nhiều phiên bản Unity không?

Đ: Không. Kết nối chỉ nhận diện phiên bản Unity được khởi chạy đầu tiên.

H: Tôi có thể gửi mô hình khi Unity đang ở chế độ Play không?

Đ: Hiện tại, việc truyền mô hình chỉ được hỗ trợ trong chế độ Unity Editor.

Bài viết này có hữu ích không?

Giúp chúng tôi cải thiện nội dung này.