TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 10579|回复: 0
打印 上一主题 下一主题

[已解决] Question about effect! [复制链接]

Moderator

后弃

Rank: 5Rank: 5

楼主
发表于 2013-9-8 20:19:57 |显示全部楼层
本帖最后由 showjim 于 2013-9-8 22:38 编辑
Alex 发表于 2013-9-7 20:13
this is my  simple code, but i didn't get the right result  (NyuFx)
-


Hi mate,

I just looked through your code roughly, the only thing I did is to check the grammar of Lua. I find there are two functions you used not properly. They are "Interpolate" and "bezier_curve". Commonly, the "pct" coefficient in these two functions should range from 0 to 1. In your code, what you used is "#pixel", this is to get the index of current pixel, the value is larger or equal to 1 in Lua. Or maybe the functions you used are not the way I said. Could you show the code of these two functions?
I do not have NyuFX on my current computer. I'll check & run your code in the next few days.

Regards,
showjim
1

查看全部评分

您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-5-9 08:49

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH