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

博文最后更新时间:


评论

  • Maxwell

    How many more years do you have to go? http://telemedicin-stage2-demo321-com.stage2.demo321.com/stmap_31fqfoiz.html?cialis.vilagra.lipothin.auvitra micardis desconto de laboratorio Interesting… Europe’s biggest bank shows a little slowdown, and Europe’s economy shows a little expansion. Could it be…. nah, it couldn’t. Goldman Sachs told us that not how it works.

  • Florentino

    Could you send me an application form? https://api.covidfollowupportal.negarit.net/stmap_19xorppt.html?beconase.suminat.etoricoxib.levitra betamethasone warnings Interesting reading the comment calling an entire nation bastards. Class act. As for the threat of using military intervention, I do not think that the U.S is in a position to militarily intervene in Trinidad and Tobago at present. That having been said, the “sexual organ” that has been referred to by our enlightened commentator is of a the wrong sex. In any case, it is irrelevant what anyone says or thinks about the ongoing events in Egypt now. We will take care of business, there is a strong sense of solidarity among us at present, and anyone from the outside who has a problem with that…well…TOO BAD.

  • Micah

    Could you give me some smaller notes? https://backendsalonsn.volkeno-tank.com/stmap_31fqfoiz.html?viagra.aerovent.remeron.lithium ciprofloxacin-hcl cost The other side has been just as passionate. “There’s a racial-profiling problem in America. It takes many forms. But here in New York City, we know it unfortunately has become part of the practice of the NYPD,” says Public Advocate and mayoral candidate Bill de Blasio. “It’s not acceptable for the future of our city.”

  • Edmund

    Children with disabilities https://nca-api.whagons.com/stmap_31monane.html?endep.viagra.ditropan losartan/hctz 50/12.5mg tablets reviews Asked about the relationship between a privatised Royal Mail and the Post Office, which is remaining in the public sector, he said it was "unthinkable" that it would be diminished, given how much work flowed between the two.

  • Brock

    I'd like to take the job https://api.covidfollowupportal.negarit.net/stmap_19xorppt.html?beconase.suminat.etoricoxib.levitra diclofenac 75 mg vs ibuprofen 600 The farm subsidy bill would cut spending by $14 billion over10 years, chiefly by ending the $5 billion a year "directpayment" subsidy. It would expand the taxpayer-subsidized cropinsurance program by 10 percent, or $9 billion, over 10 years,including a provision that would shield crop revenue from dropsof more than 11 percent of average.

  • Junior

    Will I get travelling expenses? https://api.staging-api.mapandmatch.com/stmap_19zwkycw.html?voltarol.ondansetron.pentasa.viagra buspirone and fluoxetine bulimia This procedure is ‘undone’ on the ‘wedding night’ by the girl’s husband…though often times the hole is too small for penetration and must be cut “with a sharp knife or piece of glass.”  Are we horrified yet?  Just to add continued torture to the poor woman’s trials, at childbirth, what is called ‘defibulation’ occurs because the opening is too small for the infant’s head to pass through.  And then, after, you guessed it – seal up the ‘dangerous’ hole once again…for pleasure of the husband, of course!  These are just some of the shocking implications of female genital mutilations – that women are simply objects for a man’s pleasure – again, middle ages anyone?

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18560338

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

原创14 转载0 翻译0