暂时没打算买新显卡,那渲染慢怎么办?云渲染!
为什么要自建云渲染
由于本地算力不够,或者单纯想要加快渲染速度,云渲染都是首选。一般的云渲染是使用现成的渲染农场,但是它价格偏高。如果可以使用多个 VPS 进行渲染,成本会比直接使用渲染农场低很多,除了 VPS 比较便宜,很多 VPS 供应商对新账号都会提供代金券。如果我们使用新账号进行云渲染,成本可以进一步被降低。
配置渲染节点
我们使用 CrowdRender 来管理渲染节点。本地的安装和使用直接看官网教程。我着重解释一下如何配置 VPS 。
首先我们需要安装最新版本的 Blender。 1
2
3
4
5
6
7sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install wget -y
sudo apt-get install python3-pip -y
sudo snap install blender --classic
echo 'export PATH=/snap/bin:$PATH'> ~/.bashrc
source ~/.bashrc
假设我们将 Crowdrender 上传到了/root/cr.zip
接下来便是开启插件。 1
2
3
4
5
6blender -b --python-console
import bpy
bpy.ops.preferences.addon_install(filepath='/root/cr.zip')
bpy.ops.preferences.addon_enable(module='crowdrender')
bpy.ops.wm.save_userpref()enableaddon.py
,并用 Blender 执行。 1
2
3
4import bpy
bpy.ops.preferences.addon_install(filepath='/root/cr.zip')
bpy.ops.preferences.addon_enable(module='crowdrender')
bpy.ops.wm.save_userpref()1
blender -b -P enableaddon.py
1
blender -b -P ~/.config/blender/2.83/scripts/addons/crowdrender/src/py_3_7/serv_int_start.py -- -t "server_int_proc"
目前已知的局限性为流体的渲染有点困难,除非你将所有的缓存和烘焙数据同步上去。