> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/glb-characters-for-convai.md).

# Convai 的 GLB 角色

了解如何在 Convai 的 Web 插件中使用 GLB 角色，打造沉浸式虚拟体验。

### RPM 角色

在 ReadyPlayer 上创建角色：

ReadyPlayer.me 是一个允许你创建自定义 3D 化身或角色的平台。以下是通常的步骤：

1. 前往 <https://readyplayer.me/> 网站。
2. 点击“创建化身”或类似按钮开始角色创建流程。
3. 通过选择身体类型、服装、发型、面部特征和其他属性来自定义角色外观。
4. 在进行更改时，以 3D 预览角色。
5. 当你对角色的外观满意后，可以保存或下载角色文件（通常为 .glb 或 .glTF 等格式）。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FuP9q7y5vNMzRBPam0Xq6%2FScreenshot%20(23).png?alt=media&amp;token=17c74ff7-1d36-493f-9d66-ce0871660d8a" alt=""><figcaption><p>RPM glb URL</p></figcaption></figure>

使用 Morphs 搭配 ReadyPlayer.me 角色：

Morphs（也称为混合形状或变形目标）是一种对 3D 模型网格进行变形或动画处理的方法，可用于创建不同的表情或外观。ReadyPlayer.me 角色可以通过 morphs 进行动画处理。

> <https://models.readyplayer.me/661feb3563b4a87a148eb0df.glb>[?morphTargets=ARKit,Oculus%20Visemes](https://models.readyplayer.me/65a8dba831b23abb4f401bae.glb?morphTargets=ARKit,Oculus%20Visemes)

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FJ0utIah62pNW82JsiBpa%2FScreenshot%20(24).png?alt=media&amp;token=c25297c8-6129-404f-af09-c58b981d4ac5" alt=""><figcaption><p>RPM morphTargets API</p></figcaption></figure>

### Reallusion 角色：ActorCore

在以下平台创建角色：

1. 前往 Reallusion 的 ActorCore 网站（<https://actorcore.reallusion.com/3d-character>），并选择你喜欢的角色。
2. 将“ActorCore”角色加入购物车，并获取相应的动画。例如（“Ideal”、“Talking”）。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2F5nLadODq7qJktqR2F0hm%2FScreenshot%20(25).png?alt=media&amp;token=ac55f235-569a-49c0-ae88-458a8d1019e1" alt=""><figcaption><p>选择你偏好的角色</p></figcaption></figure>

{% hint style="info" %}
下载带有“原地移动”（首选选项）的动画。
{% endhint %}

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2F1I1pldO2vFymg4D2cPjj%2FScreenshot%20(26).png?alt=media&amp;token=ec80844b-3bf9-475c-ad17-d90ce9af7ca5" alt=""><figcaption><p>原地移动动画</p></figcaption></figure>

### 使用 glTF 查看器检查 Morph Targets

要检查并预览角色可用的 morph targets，你可以使用 Don McCurdy 提供的便捷 glTF 查看器工具。这个在线查看器支持 glTF 文件，这是一种常见的 3D 资源格式，如角色和场景。

按以下步骤操作：

1. 前往 glTF 查看器网站： <https://gltf-viewer.donmccurdy.com/>
2. 在 glTF 查看器界面中，点击“Open File”按钮，或将角色的 glTF 或 GLB 文件拖放到查看器窗口中。
3. 文件加载后，你应该会在 3D 视口中看到渲染出的角色。
4. 在查看器右侧找到“Morph Targets”部分。该部分会列出角色文件中所有可用的 morph targets。
5. 点击列表中的某个 morph target，以预览它如何变形角色的网格。查看器将显示应用了所选 morph target 的角色。
6. 使用每个 morph target 旁边的滑块来调整变形的强度或权重。
7. 你也可以通过勾选各自的复选框并调整滑块，同时启用多个 morph target。

这个 glTF 查看器是一个非常出色的工具，无需将角色导入 3D 软件或游戏引擎，就能快速检查和可视化角色的 morph targets。它能让你看到每个 morph target 如何影响角色外观，这对于理解可用的面部表情、身体姿势或其他变形非常有帮助。

此外，glTF 查看器还提供了其他实用功能，例如查看角色的节点层级、检查材质和纹理等。

{% hint style="info" %}
如果你的角色文件是其他格式（例如 FBX、OBJ），你可能需要先将其转换为 glTF 或 GLB，才能在此工具中查看。
{% endhint %}

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2Fht4JRdX6DsRdADaRo5B8%2FScreenshot%20(27).png?alt=media&amp;token=b2aa516d-b3e5-4ea9-8e11-2a30dfa2d156" alt=""><figcaption><p>Viseme_TH 变形</p></figcaption></figure>

glTF 查看器还可用于查找控制 viseme 的 skinnedMeshes。在上面的示例中，它是 “Wolf3D\_Head”。\
“Wolf3D\_Head” 控制 Head 对象上的所有 morph。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FWPtDaSTRvN53zOdVn9pJ%2FScreenshot%20(28).png?alt=media&amp;token=c34dc74d-49ef-4533-a158-64d69ae15ce4" alt=""><figcaption><p>张嘴变形</p></figcaption></figure>

类似地，在这种情况下，“Wolf3d\_Teeth” 控制与“Teeth”相关的 morph。


---

# 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.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/web-plugins/glb-characters-for-convai.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.
