flash转html5工具LavaH特性介绍(二)高效率的滤镜效果

小李的飞刀

李杰的个人网站,手机游戏,手机页游

flash转html5工具LavaH特性介绍(二)高效率的滤镜效果

目前flash到html5的转换,对于滤镜效果,要么是不支持,要么就是效率很低,卡的几乎无法玩。 原因是html5的canvas不支持滤镜,要实现滤镜效果,就得编写代码逐点读出并运算,效率当然很低。 LavaH解决了这个问题。解决办法是: 1.高效的滤镜算法。 2.采用了先进的滤镜动态缓存技术,减少了不必要的滤镜运算……


目前flash到html5的转换,对于滤镜效果,要么是不支持,要么就是效率很低,卡的几乎无法玩。
原因是html5的canvas不支持滤镜,要实现滤镜效果,就得编写代码逐点读出并运算,效率当然很低。
LavaH解决了这个问题。解决办法是:
1.高效的滤镜算法。
2.采用了先进的滤镜动态缓存技术,减少了不必要的滤镜运算。
看以下的例子:(点击图片可以运行游戏)

再看关闭滤镜运算的效果
可以看出来,没有滤镜的游戏,画面很平,很呆板,而开启滤镜后,画面凸凹感强烈,有立体感,文字显得很柔和。
最后做个广告:有偿转让flash转html5工具LavaH全部源码并可提供技术支持,有兴趣的可以发email(39065627@qq.com)给我。

博文最后更新时间:


评论

  • Shelby

    What's the last date I can post this to to arrive in time for Christmas? http://www.rscdshamiltonandclydesdale.org.uk/stmap_21snbbax.html?flovent.salmeterol.zyban.levitra premier pharma "Rick Perry said Obama's suggestions for gun control disgust him. He said the real answer to this problem isn't laws, it's prayer. You know, I know you're not supposed to say this about elected officials, but I would pay to see Rick Perry defend himself against a school shooter with prayer."

  • Barry

    Directory enquiries https://www.singingriverretirement.com/stmap_39dykkca.html?ticlopidine.levitra.atenolol.hydrochlorothiazide amlodipine slaap The Dongria Kondh say the mining project will destroy their sacred hill and their source of livelihood. Vedanta has said the project would bring jobs and development to one of India's poorest districts.

  • Ervin

    What part of do you come from? http://www.lamingtonhotelmotel.com.au/stmap_39bocxge.html?ursodeoxycholic.viagra.desogestrel benadryl cough formula uses But how it can be interpreted is new, and that is thanks to technical change - the invention of the internet. And that makes the cold war agreement that puts almost no limits on the exchange of information, a whole lot more powerful, a privacy campaigner said earlier.

  • Donte

    It's funny goodluck https://helitecstructural.com.au/stmap_21wizxfu.html?cialis.norlutate.fertomid retin-a micro tretinoin gel wrinkles Scott Rice wound up signing a minor-league deal with the Rockies organization for the 2010 season. He counted 22 lefties in minor league camp. It didn’t do much for his optimism. He split the year between Double-A and Triple-A then was a free-agent again, made a slew of more cold calls to farm directors, and signed with the Cubs. He had an ERA below 2.00 in the spring but didn’t make the club. The same thing happened in 2012, in another tour with the Dodgers, Rice making it to the final cut before being sent down. The big highlight in camp was that he won the annual Dodger Idol competition for a song he wrote and sang about Dodgers closer Kenley Jansen.

  • Loren

    I can't get a dialling tone https://www.singingriverretirement.com/stmap_39dykkca.html?ketorolac.levitra.poxet.diovan prevacid recall cancer "I think this heightened polarization and the continuous incitement for violence is very, very dangerous because it keeps people at a very short fuse, frankly, and Egypt needs to move forward," Fahmy told Reuters in an interview.

  • Rudolph

    I study here http://www.blackmanband.com/stmap_39dwanrs.html?levodopa.rosuvastatin.vermox.levitra minoxidil rogaine para barba His films have rarely landed him in trouble; the state regards him as a safe pair of hands. Yet in his acceptance speech he spoke of being troubled by the censorship that pervades Chinese cinema. But wouldn’t you know it: when he arrived at the word ‘censorship’, it was beeped out for TV audiences.

发表评论

个人资料

姓名:李杰。
爱好:编程,慢跑。
2001年来北京发展,从事软件开发17年。
文曲星Lava语言的创造者。
Iava&LavaX跨平台语言的发明者。
Mirage引擎之父。
手机拳皇97高清版主程序。

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19631690

博文总数:14 评论总数:529522

原创14 转载0 翻译0