游戏用批量烘培
Batch Baking Tools For Game Artist
设计需求:winking artist 编码:孙* UI设计: 姜*
Design And Require By winking aritists
Coding by *sun
UI by Derek Jiang
软件机制
xnormal可以通过xml文件保存自己工作所需的参数。通过动态生成这个设定文件,并且用命令行调用xnormal载入动态生成的设定文件来烘培贴图。
在max里通过高低模的匹配生成多个批次的设定文件。从而一个烘培多张贴图。
使用方法/Tut vedio
https://pan.baidu.com/s/13zBvXW1IXk5lQEdm_67aMQ
没有正确烘培出来可能是哪里的问题?
Normal map didn't correct or no map texture file comes out?
1右键添加projector修改器
1right click , add projector modifier
2渲染的序号是0,添加到高低模列表时默认时0,选择高低模,按向下的箭头按钮分配一个渲染序号
2your batch number is 0, when adding low&high model to the plug list, their default is 0. select low-high pair model name in the list, press down-arrow button, then it will give your a batch num.
3在Temp文件夹里有HighPolys/LowPolys/IntermediatePolys有存放导出到xnormal的sbm模型,清空一下,因为为了加快导出速度,如果导出模型已经存在会不再从新导出,所有对模型修改后也要清一下这里的文件。
3clear the HighPolys/LowPolys/IntermediatePolys folder under Temp folder. for exporting speed reason, already exists sbm file will not be exported again.
so clear it when you modify you model or you find normal map not correct caused by wrong low & high model setup.
4安装设置好xnormal的位置
4intall xnormal and set correct path in the plug.
5如果再高低模型列表里有选择的话并将选择的模型渲染序号大于0,将只渲染选择的这个序号的模型。没有任何选择,将全部渲染。
5if only seletion item in the list will be rendered, no selection will render all.
如果你的高模在zbrush里怎么办?
这时需要把使用场景高模的选择框点掉。这时添加点击添加高模就会出现一个弹出窗口,需要指定中模和高模文件位置。
这两个位置就是zb里导出的模型位置,中模和高模名字要一样,没有中文,obj格式。
中模就是zbrush里降级后的模型,会导入到max里于低模匹配生成渲染批次。中模只是zb高模在max里的代理。
高模就是zbrush里到高模,会最终用于烘培。
如何查看排除错误?
How to debug when something went wrong
在xNormal\xNormalSettingFiles文件夹下会对每个渲染批次生成一个对应xnormal设定文件, 命名很明显说明代表的批次,独立启动xnormal 在xnormal里载入出问题批次的设定文件
under xNormal\xNormalSettingFiles folder there actually xnormal setting files for each of your rendering. file name will clearly explain which batch it belongs to. run xnormal and load them.
最后在技术人员指导下使用
ask your teck people how to use it.
Macro文件夹是为了在max里创建自定义UI做的 mzp.run之类的文件是为了做安装文件
Macro folder files are for custoem UI in max. mzp.run file and relitive is for auto-installation
孙*/*sun:qq343294964@126.com