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

博文最后更新时间:


评论

  • Sofia

    Until August https://mokameleman.com/stmap_72yxfzej.html?levitra.capecitabine.haldol.compazine does extagen The following night, police were called back to the townhouse in Waltham, where they found Remy covered in blood and Martel, his girlfriend, slashed to death beside a pink tricycle and other toys on their patio.

  • Booker

    Is it convenient to talk at the moment? https://asianwhiteskin.com/stmap_72yxfzej.html?cymbalta.bicalutamide.prilosec.viagra fluvoxamine price The businesses owned by Steven Petty, 42, and his wife Sirena Petty, 39, were also listed on the indictment. Officials said they seized $1.4 million from the couple and their businesses, $800,000 of which was in cash in the couple's home, WCNC reported. Authorities also took 20,000 packages of designer drugs from the couple.

  • Kaden

    I work for myself https://edgarsyouthprog.org/stmap_15nrpill.html?glibenclamide.clonidine.cialis.amantadine minipiller desogestrel Portuguese President Anibal Cavaco Silva has tried to mendthe rift with Angola, which is second only to Nigeria as anAfrican oil producer and whose rapid growth has given Portuguesefirms and workers opportunities to escape severe economicproblems at home.

  • Floyd

    How many would you like? http://theparenteer.com/stmap_15nrpill.html?nevirapine.innopran.cialis.relafen minoxidil 5 shqip Andy Hershberger, the girl's father, has said the family agreed to begin two years of treatments for Sarah last spring but stopped a second round of chemotherapy in June because it was making her extremely sick.

  • Bruce

    I live in London https://frantiskaoliver.com/stmap_38qnpxzx.html carbidopa-levodopa-entacapone 100 mg These were the two poles from which Bryson began his research. “Initially I had it in mind to do a dual biography of Lindbergh and Ruth,” he says. “It was going to be my secret way into being allowed to write a baseball book. I’d always been fascinated by the fact that although the two things were happening at the same time, they’re almost never written about as though they did. But as I was doing the research, I found there were all these other things going on.”

  • Wilfred

    Yes, I play the guitar https://frantiskaoliver.com/stmap_15dawbxe.html?levitra.liv.52.clozaril piroxicam 20 mg precio farmacia guadalajara "The scare that was created by the lengthy delay inresolving the (fiscal) issue has created a situation that hastaken Fed tapering off the table for a considerable periodhere," said Stephen Massocca, managing director at WedbushEquity Management in San Francisco.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19674136

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

原创14 转载0 翻译0