- UID
- 24
- 积分
- 1778
- 帖子
- 99
- 主题
- 5
- 论坛币
- 3491
- 威望
- 8
- EP值
- 1453
- MP值
- 11
- 阅读权限
- 100
- 注册时间
- 2011-8-5
- 在线时间
- 137 小时
- 最后登录
- 2014-6-18
|
本帖最后由 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
查看全部评分
-
|