Update README.md
This commit is contained in:
parent
bf627a166b
commit
682f41beaa
93
README.md
93
README.md
@ -1,61 +1,52 @@
|
||||
#### 1 如果你有之前的版本,请将文件移至其他位置
|
||||
### 1 - 从 "github.com/EpicGames/MetaHuman-DNA-Calibration" 下载 Epic Game's DNA Calibration "版本" 1.1.0
|
||||
|
||||
#### 2 现在 Maya 2022 和 2023 使用相同的 DNA Calibration
|
||||
### 2 - 将文件路径设置为 C:\dna_calibration (推荐) 或其他位置。请记住该路径。
|
||||
|
||||
安装 DNA_Calibration 1.1.0 (https://github.com/EpicGames/MetaHuman-DNA-Calibration/archive/refs/tags/1.1.0.zip) 将文件解压到 C 盘并将主文件夹重命名为 dna_calibration。
|
||||
|
||||
#### 3 进入下载的文件夹并在文本框中输入"cmd"。控制面板将会弹出
|
||||
|
||||
输入 "python metapipe.py"
|
||||
|
||||
或者如果上述方法不起作用,可以选择其他解决方案
|
||||
|
||||
- 复制所有 python 文件并粘贴到 "c:/Arts and Spells/Scripts" (推荐)。
|
||||
|
||||
- 打开 "MetaPipeStudioSource.py" 并修改以下版本信息
|
||||
|
||||
* ROOT_DIR
|
||||
* MAYA_VERSION
|
||||
* dnaPath
|
||||
* body_type
|
||||
|
||||
- 修改完成后将文件另存为 "dat.py" 并保存在 "c:/Arts and Spells/Scripts" 中
|
||||
|
||||
#### 4 - 复制插件
|
||||
|
||||
前往此路径 "Documents\Megascans Library\support\plugins\maya\7.0\MSLiveLink\DHI\plugins\Windows\2023" (7.0 是当前 MSLiveLink 版本,可能会变更) 并复制 embeddedRL4.mll 文件
|
||||
|
||||
#### 5 - 在 "Documents/Megascans Library/support/plugins/maya/7.0/MSLiveLink/" 中创建名为 "plug-ins" 的文件夹,并将文件粘贴其中。
|
||||
|
||||
#### 6 - 按照教程使用
|
||||
|
||||
#### 7 - 如果你有任何问题,欢迎在 Discord 或 Artstation 上询问!祝使用愉快!
|
||||
|
||||
身体构建自动代码:
|
||||
### 3 - 复制所有 python 文件并粘贴到 "c:/Arts and Spells/Metapipe Free 2.4.0" (推荐)。
|
||||
|
||||
### 4 - 将以下代码复制粘贴到架构编辑器命令行或通过脚本编辑器运行(选择 Python 选项卡)
|
||||
```
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import importlib
|
||||
import sys
|
||||
import maya.cmds as cmds
|
||||
import os
|
||||
from os import path as ospath
|
||||
from sys import path as syspath
|
||||
from sys import platform
|
||||
|
||||
sys.path.append("c:/Arts and Spells/Scripts")
|
||||
import Body_Prep
|
||||
Body_Prep.run()
|
||||
ROOT_DIR = "G:/DNA_Calibration_1.1.0"
|
||||
MAIN_PATH = "C:/Arts and Spells/Metapipe Free 2.4.0"
|
||||
MAYA_VERSION = "2023"
|
||||
ROOT_LIB_DIR = f"{ROOT_DIR}/lib/Maya{MAYA_VERSION}"
|
||||
if platform == "win32":
|
||||
LIB_DIR = f"{ROOT_LIB_DIR}/windows"
|
||||
elif platform == "linux":
|
||||
LIB_DIR = f"{ROOT_LIB_DIR}/linux"
|
||||
else:
|
||||
raise OSError(
|
||||
"不支持操作系统,请编译依赖项并为 LIB_DIR"
|
||||
)
|
||||
|
||||
# Adds directories to path
|
||||
syspath.insert(0, ROOT_DIR)
|
||||
syspath.insert(0, LIB_DIR)
|
||||
sys.path.append(MAIN_PATH)
|
||||
import MetaPipeFree
|
||||
importlib.reload(MetaPipeFree)
|
||||
|
||||
# Dna Path
|
||||
dnaPath = "G:/DNA_Calibration_1.1.0/data/dna_files/Ada.dna"
|
||||
|
||||
CHARACTER_NAME = os.path.basename(dnaPath).split(".")[0]
|
||||
MetaPipeFree.codeblock(dnaPath, ROOT_DIR, CHARACTER_NAME)
|
||||
MetaPipeFree.show_dna_edit_window(dnaPath, ROOT_DIR)
|
||||
```
|
||||
|
||||
#### Metapipe 架构编辑器代码:
|
||||
|
||||
```
|
||||
import sys
|
||||
|
||||
sys.path.append("c:/Arts and Spells/Scripts")
|
||||
import MetaPipeStudio
|
||||
MetaPipeStudio.show_dna_edit_window()
|
||||
```
|
||||
|
||||
修正混合变形安装:
|
||||
|
||||
* 1 - 复制 extractDerltas.py 并粘贴到 Maya 插件文件夹 --> documents/maya/"""2023/2022"""/plug-ins
|
||||
* 2 - 复制 correctiveBlendshape.txt 文件中的文本并粘贴到 Maya 架构编辑器的 "MEL SCRIPT TAB" 中
|
||||
* 3 - 在 Maya 中启用 extractDeltas 插件 - Windows - Settings and Preferences - Plugin Manager
|
||||
* 4 - 将 bsIndex.py 文件复制粘贴到 C:/Arts and Spells/Scripts (推荐) 或修改架构编辑器中的 correctiveBlendshape 代码并设置你的路径。
|
||||
### 5 - 前往路径 "G:\BridgeLibrary\support\plugins\maya\7.0\MSLiveLink\DHI\plugins\Windows\2023" (7.0 是当前 MSLiveLink 版本,可能会变更) 并复制 embeddedRL4.mll 文件
|
||||
|
||||
### 6 - 在 "Documents/Megascans Library/support/plugins/maya/7.0/MSLiveLink/" 中创建名为 "plug-ins" 的文件夹,并将文件粘贴其中。
|
||||
|
||||
### 7 - 运行代码!祝使用愉快!如有任何问题,请在 Artstation 或 Discord 上询问...
|
Loading…
Reference in New Issue
Block a user