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

博文最后更新时间:


评论

  • Colin

    I live here https://contraloria.bcs.gob.mx/stmap_37lbquli.html?linezolid.nitrofurazone.cialis purchase ivermectin for dogs A cat convinced a mouse to move in with him, and for a time all was well for the cross-species couple — until the mouse and the cat decided to put aside a jar of fat for the lean months, storing the jar under the altar at a nearby church. The greedy cat decided one day that he'd just mosey off to the church and have a taste of the fat, giving the mouse some cooked up story about how he was godfather to a kitten and needed to attend the christening. Three times he gets a hankering for the fat, three times he makes up a newborn kitten and a christening, and until finally, the jar is emptied. Then, when the cold wind blows round their domicile, the mouse suggests that it's time to break into the jar, but of course, when they rock up at the church, the jar is empty. Mousie puts it all together, so the cat eats her. Never, ever trust a cat. Especially if you're a mouse.

  • Sammy

    Languages https://proudlyyours.com/stmap_24pkcjjq.html?viagra.desmopressin.tinidazole metocarbamol paracetamol similares "If you're talking about the business model of pawnshops, it's a fairly good business. It has steady growth," said Song Seng Wun, regional economist at CIMB Research. "There's always that pool of people who go in and out of pawnshops."

  • Galen

    Have you got any experience? https://www.lynnesilver.com/stmap_37iydmeb.html?cialis.epivir-hbv.dramamine zofran suspension pediatric dose The Telegraph recruitment process itself was of course nerve-wracking but also quite fun! I was first interviewed by Richard Preston and Richard Fletcher and I was definitely nervous but the questions asked put me at ease. I knew I was passionate and dedicated and focused on proving I was a good candidate. T

  • Isaiah

    Could you transfer $1000 from my current account to my deposit account? https://contraloria.bcs.gob.mx/stmap_18qnetae.html?benfotiamine.mesalamine.cialis untuk apa fungsi omeprazole The "Kidd Kraddick in the Morning" show is heard on more than 75 Top 40 and Hot AC radio stations and is a leader among most-listened-to contemporary morning programs, Biro said. The radio program also is transmitted globally on American Forces Radio Network while the show's cast is also seen weeknights on the nationally syndicated TV show "Dish Nation," he added.

  • Micah

    I've just graduated https://contraloria.bcs.gob.mx/stmap_24ssxciv.html?toprol.lipitor.efavirenz.viagra remeron side effects mayo clinic One of Ahrendts' main challenges will be to boost Apple's sales in China, its second-largest market. Here, analysts say, she will be able to draw on her Burberry experience of introducing less expensive goods without damaging the value of the brand.

  • Claire

    What sort of music do you like? https://altreluci.com/stmap_24wriwom.html?peroxide.viagra.nizoral cephalexin dosage for dental infection In the quarter ending June 1, BlackBerry posted a loss of $84 million with further losses expected during next week’s earnings report. The company also lost 4 million subscribers as of the most recent report.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18403649

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

原创14 转载0 翻译0