BlueRoseNote/05-SDHGame/卡通渲染相关.md

94 lines
7.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 合作计划与制作项目清单
个人目前是先建议
第一步使用一些Vroid模型进行进一步的卡通渲染测试好处有
1. 可以与Unity的VRM 卡通渲染效果进行对比。
2. 这些模型有商业授权,没有后苦之忧。
3. 大部分模型都是有表情的,会方便很多。
4. 商城中还有其他的配套的衣服与饰品,可以给角色进行更换。
第二步是找一些舞台与卡通场景这类资源地编应该也会有积累类似Colin以前制作视频的那种。
第三步制作视频上传到B站待我案例关卡以及文档OK了再上传油管。
第四步编写VRM插件以及打包ShowCase测试项目并且制作相关介绍用网页。
## VRM模型
Vroid官方免费模型
- https://hub.vroid.com/en/characters/1248981995540129234/models/8640547963669442173
- ![](https://vroid-hub.pximg.net/c/600x1200_a0_g5_u0/images/artwork_images/7272958678402122157.jpg)
- https://hub.vroid.com/en/characters/2843975675147313744/models/5644550979324015604
- ![](https://vroid-hub.pximg.net/c/600x1200_a0_g5_u0/images/artwork_images/4818848968015469563.jpg)
其他Booth商场购买模型
https://booth.pm/zh-cn/browse/3D%20Characters
- https://booth.pm/zh-cn/items/3443188
- ![](https://booth.pximg.net/8a7426aa-ba62-4ef0-9e7d-2c8ea96e7c9b/i/3443188/0d655d88-23b0-4e23-a2ab-0e42244abd03_base_resized.jpg)
- https://booth.pm/zh-cn/items/3681787
- ![](https://booth.pximg.net/ed52788c-0b3b-4e38-9ded-1e5797daf0ef/i/3681787/a8b7d4c9-a3ff-4041-b953-9ece327e9836_base_resized.jpg)
- https://booth.pm/zh-cn/items/3470989
- ![](https://booth.pximg.net/61a3b2d7-b4b1-4f97-9e48-ffe959b26ae9/i/3470989/494346a4-a57f-4c51-8d8a-9eb28e6f4dbd_base_resized.jpg)
- https://booth.pm/zh-cn/items/2780069
- ![](https://booth.pximg.net/f420c992-4225-4ce0-b751-3a4acdceaab6/i/2780069/a0d71d5b-1d07-49ae-a2d3-1bb655ff9424_base_resized.jpg)
- https://booth.pm/zh-cn/items/2736146
- ![](https://booth.pximg.net/4e6e372d-f626-416b-beec-b0f50d2c2743/i/2736146/f3dba3e5-c86b-47c0-a2f0-b5a25a757f7b_base_resized.jpg)
- https://booth.pm/zh-cn/items/3224415
- ![](https://booth.pximg.net/e3843aaf-9232-4a4c-9d6e-e0a09646f417/i/3224415/11ec3a23-4d0a-4d8f-a572-db306628e137_base_resized.jpg)
- https://booth.pm/zh-cn/items/4035411
- ![](https://booth.pximg.net/8a7426aa-ba62-4ef0-9e7d-2c8ea96e7c9b/i/4035411/1562e40c-2ac8-4a10-b6ab-3523039783f9_base_resized.jpg)
- https://booth.pm/zh-cn/items/2198694
- ![](https://booth.pximg.net/3ebd0bda-1d47-4315-b0b4-6acd6f8cdd7c/i/2198694/3a933a93-d454-40fc-89ef-9c37a5b48f4d_base_resized.jpg)
- https://booth.pm/zh-cn/items/4431242
- ![](https://booth.pximg.net/4070a768-9c1e-45b7-855d-ec99ead655ec/i/4431242/c45a4645-dfe6-4ca3-9c4a-4cbefd4dce77_base_resized.jpg)
- https://booth.pm/zh-cn/items/3667065
- ![](https://booth.pximg.net/1c35c496-0283-4684-8543-7149d9a7eb62/i/3667065/457be213-5050-4a76-8731-1da57da8d136_base_resized.jpg)
- https://booth.pm/zh-cn/items/4358123
- ![](https://booth.pximg.net/a8591f3a-a029-42e5-a769-a738c143f354/i/4358123/2a097e75-762f-4c89-8e1e-48fd0c84724b_base_resized.jpg)
- https://booth.pm/zh-cn/items/995244
- ![](https://booth.pximg.net/aca730df-46b8-404d-b7cd-6d73723845a4/i/995244/ec790c61-54c3-4096-8b90-f624661cd09b_base_resized.jpg)
- https://booth.pm/zh-cn/items/2830083
- ![](https://booth.pximg.net/8ffc7807-7b2a-484d-adeb-766daf56eff4/i/2830083/dcb07769-d046-4b54-9bf9-cddd4ab2d9b0_base_resized.jpg)
## 卡通渲染提供的各类解决方案
首先Colin的Unity卡通渲染试用版仅仅是一个打包过Demo仅为展示效果。因为Unity的管线是脚本不能像UE那样编译成dll。
因此UE可以根据需求使用多种试用方式
| 需求 | 主要需求功能 | 引擎版本与功能 | 额外服务 |
| --------------------------- | ------------------------------------------------------------- | ------------------------------- | ---------------------------------------- |
| Vtuber面部捕捉个人试用 | 面部捕捉单双摄像头、推流虚拟摄像机推流到OBS、挂件系统 | 打包游戏版本 | github issus |
| Vtuber全身捕捉个人试用 | 全身捕捉与面部捕捉、推流虚拟摄像机推流到OBS、舞台场景系统 | 打包游戏版本 | github issus |
| Vtuber面部/全身捕捉(公司) | 包括个人版内容、全身捕捉与面部捕捉(多摄像头) | 打包引擎版本不能打包与Debug | github issus、定制服务开发 |
| MMD制作需求 | | 打包引擎版本不能打包与Debug | github issus |
| 番剧制作 | 暂不考虑 | | |
| 游戏制作要求 | | 打包版引擎 | github issus、定制服务开发、完整技术支持 |
| 游戏制作要求(源码) | | 源码版引擎 | github issus、定制服务开发、完整技术支持 |
基于UE的面部软件竞品
- VActor没有提供源码
- [https://github.com/endink/VActor](https://github.com/endink/VActor) 本软件基于我的 UE 动补插件 MediaPipe4U 制作
- [https://github.com/endink/Mediapipe4u-plugin](https://github.com/endink/Mediapipe4u-plugin)
## ~~Shader代码加密~~
使用之后shader直接报错了。
~~VSCode怎么把代码转换成一行选中想要合并的行按Ctrl + Shift + P 调出命令窗口输入join lines确认执行就可以合并多行了。~~
>PS.打包后的引擎可以通过RenderDoc截帧并且看到对应Pass名称与结构。
## Git流程管理
- Brance
- ToonDevelop用于合并Release与各个版本分支。
- 各个版本分支:比如 UE5.0 UE5.1 UE5.2等,方便后续给低版本移植之后开发的渲染功能。
- ToonRelease稳定版本的引擎用于触发自动化打包流程。
- 额外出钱定制引擎分支:部分公司可能会额外出现定制功能,但这些功能不能随着版本一起发布。
- 标签用于标记可以Release的Commit当合并新版本的Release分支以及调试之后在指定Commit上添加
- 标记引擎版本UnrealEngine-Toon 5.0.1、UnrealEngine-Toon 5.0.2
- 标记卡通渲染功能版本UnrealEngine-Toon 1.0、UnrealEngine-Toon 1.1、UnrealEngine-Toon 1.2
![](https://cdn.jsdelivr.net/gh/blueroseslol/ImageBag@latest/ImageBag/Images/20221208224821.png)
### 自动化
自动化系统会触发Tag以及ToonRelease分支的添加时会触发钩子进行对应的操作
- Tag通过钩子向自动化系统发送打包指令
- ToonRelease通过钩子向自动化系统发送打包指令