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

博文最后更新时间:


评论

  • Lucas

    I'm only getting an answering machine https://orpheogroup.com/stmap_62vpkwfl.html?alfacalcidol.levitra.pantoprazole.ampicillin yasmin pillola fa dimagrire I think it is high time all the power of the Federal Government be returned to the states. It is time to wind down the forced association of america and give the states the opportunity to create a new bond. Those that want to go it alone, or those that want to create a new union.

  • Quinton

    I've just started at http://www.designcure.co.uk/stmap_21wizxfu.html?fluvoxamine.saw.lamivudine.viagra gastro resistant omeprazole As well as her immediate family, her acting relatives included her grandfather, Michael Redgrave, who died in 1985, her aunt Lynn Redgrave and uncle Corin Redgrave, who died within a month of each other in 2010, a year after her sister.

  • Andres

    Have you read any good books lately? https://4dretailtech.com/stmap_94gyirtx.html?serevent.cialis.lomefloxacin.geodon flagyl comprimidos para canarios dosis Migraine is a common neurological disorder. It causes one-sided, throbbing headaches, according to study background information. These headaches may or may not be preceded by an aura, which is described as a visual disturbance, such as flashing lights or zigzag lines.

  • Joaquin

    We need someone with experience http://phatfabe.com/stmap_62kqmdaq.html?micronase.diclofenac.cialis do you take amoxicillin on an empty stomach or with food It forecasts China's oil imports will rise to 9.2 millionbarrels per day (bpd) by 2020 from 2.5 million bpd in 2005. U.S.oil imports, meanwhile, will fall to 6.8 million bpd from a peakof 10.1 million bpd.

  • Norris

    I was born in Australia but grew up in England https://www.enlightenedtraining.com/stmap_21wizxfu.html?avandamet.shallaki.ornidazole.levitra harga obat roaccutane Today, one of them was injured because a woman attempting to drive through a check-point near the White House tried to run over him. He put his body in front of a car that was, for all he knew, packed with explosives and headed towards the White House. (Of course, the car had nothing but a woman and child in it, and their motives are unknown, but he is trained to react to the situation as if the threat to the White House complex was real.)

  • Ivory

    Is it convenient to talk at the moment? https://www.goodworkint.com/stmap_21snbbax.html?cialis.imuran.propranolol linogra allopurinol obat apa "The Steam Controller was designed from the ground up to be hackable," Valve said. "Just as the Steam Community and Workshop contributors currently deliver tremendous value via additions to software products on Steam, we believe that they will meaningfully contribute to the design of the Steam Controller. We plan to make tools available that will enable users to participate in all aspects of the experience, from industrial design to electrical engineering."

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:15843840

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

原创14 转载0 翻译0