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)给我。

博文最后更新时间:


评论

  • Shannon

    I'd like to tell you about a change of address https://www.otrprestige.com/stmap_19tvhbhk.html?levitra.accutane.ocuflox buy fluconazole over the counter “I’m not ecstatic right now, but I’m just glad we were able to get a win and keep going on this streak we’ve been on,” Pettitte said. “Again, I give up runs early, and the guys fought back and were able to take the lead and hold on.”

  • Leslie

    I'm originally from Dublin but now live in Edinburgh http://www.gregahern.us/stmap_19xorppt.html?cefaclor.sublingual.levitra safed musli vs ashwagandha "It would've meant putting Kashmir on the back burner for the time being. But now all this has happened. And all the lobbies that have been talking about peace between India and Pakistan ... have been scuttled," Gul said.

  • Julio

    I'm a trainee https://www.otrprestige.com/stmap_19tvhbhk.html?ibuprofen.viagra.ketotifen bula do depo provera 150 mg “It is the very, very bare minimum of a Bill, but at the same time it feels like the end of an era,” said Eleanor White, 21, one of a handful of pro-abortion rights activists gathered outside parliament – outnumbered by opponents of the Bill. “We are getting to the end of the role the Catholic Church has had in Ireland,” she said.

  • Damon

    History http://banlaophen.go.th/stmap_31fqfoiz.html?amoxapine.combivir.levitra.orlistat cipralex weight The source of the contamination in the latest incident still isn't clear. The doctors suspect pesticides, with a local official suggesting the food might not have been properly washed. A cook, however, says the school kitchen recently started using a new kind of cooking oil, which some locals theorize might have been contaminated. Poor kitchen hygiene — a problem in the school-lunch program in the past — could also be to blame.

  • Marlin

    I sing in a choir https://www.otrprestige.com/stmap_31zcnrpt.html?enhance9.dramamine.viagra tylenol and accutane Separately on Friday, the two rebel groups - the Islamic State in Iraq and Syria (Isis), linked to al-Qaeda, and the larger Western-backed Free Syrian Army - agreed a truce in Azaz, near the Turkish border.

  • Sandy

    Do you play any instruments? http://www.gregahern.us/stmap_54xzbfos.html?acai-berry.cialis.b12 para que sirve viczen ibuprofeno 600 mg The flywheel runs at up to 20,000 revolutions per minute, but a braking mechanism stops it in about a hundredth of a second. The M-blocks then use the angular momentum from their flywheels to move. When the wheel stops, it imparts its energy to the rest of the cube. 

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19699350

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

原创14 转载0 翻译0