| 
UID1606积分1276帖子114主题19论坛币7575 威望5 EP值979 MP值17 阅读权限50注册时间2013-12-1在线时间126 小时最后登录2018-3-10
 
 
 | 
| 本帖最后由 几年 于 2014-5-17 19:56 编辑 
 跟nyufx没有关系,重点是assdraw,没有特别的算法,就是个普通的模拟算法。
 
 使用方法:
 
 1,设置字幕样式
 set style of sub lines
 
 2,利用aegisub的截图功能,将每一行字幕截图
 right click on the video,save png snapshot
 
 3,将图片载入assdraw,将左上角设为0,0,将放缩滑块拖到最左
 load the png image to the assdraw,then backround-> reposition(0,0)->top left
 drag the scale slide to the  leftmost position
 
 4,在assdraw里描线,用move和line命令。line可以多个连续。
 stroke single line acorrding to the text on image,allow continues line command
 
 5,画完以后载入到lua脚本path table里,对应字幕行。
 after stroking,insert path command to path table in lua script, don't forget to match the line
 
 6,生成ass
 create the ass file.
 
 渣翻译。
 我只做了直线的。B曲线工作量太大。。在assdraw里画特别慢。。还要拉点。
 只有直线。。一直F2,F3就完事了。两下就描完了。
 要和字体完全一样的话,可以只描一些点。获取数据,然后就是填充算法的事。。要自己想出填充算法估计很难。网上应该能查到
 
 
 | 
 
1
查看全部评分
 |