flash转html5工具LavaH特性介绍(三)高效的3D显示支持

小李的飞刀

李杰的个人网站,手机游戏,手机页游

flash转html5工具LavaH特性介绍(三)高效的3D显示支持

目前flash到html5的转换,对于3D显示,要么是不支持,要么需要修改程序源码。 原因是flash Stage3D对于shader的实现,用了类似汇编语言的AGAL,而不是webgl的类似c语言的glsl。 LavaH采用了先进的agal转glsl技术,在运行时自动把agal转换为glsl,使得用Stage3D编写的3D软件,可以不经修改,直接转换为html5在网页上运行……


目前flash到html5的转换,对于3D显示,要么是不支持,要么需要修改程序源码。
原因是flash Stage3D对于shader的实现,用了类似汇编语言的AGAL,而不是webgl的类似c语言的glsl。
LavaH采用了先进的agal转glsl技术,在运行时自动把agal转换为glsl,使得用Stage3D编写的3D软件,可以不经修改,直接转换为html5在网页上运行。
下面的例子是away3D的一个demo转换成的html5。点击图片可以运行。需要注意的是:由于使用了WebGL,运行需要支持WebGL的浏览器。

照例做个广告:有偿转让flash转html5工具LavaH全部源码并可提供技术支持,有兴趣的可以发email(39065627@qq.com)给我。

博文最后更新时间:


评论

  • Norris

    Who's calling? http://porntubehub.online pornhd The agreement ends months of speculation over the future ofTelecom Italia which is seeking capital to cut its debt, but islikely to face scrutiny at a prospective break-up of Italy'sbiggest telecoms group as well as possible lay-offs.

  • Eli

    Best Site good looking http://xvideosrating.online pornhub The average 12-month home price change expectation decreased slightly to 3.5%, Fannie Mae said. The percentage of respondents who think mortgage rates will go up decreased two percentage points to 60% from last month's survey high.

  • Kaitlyn

    How long have you lived here? http://tubearchive.online alohatube Facebook's market value was cut in half in the monthsfollowing the IPO as concerns about issues ranging from slowingrevenue to massive insider selling made the Internet company'sstock a Wall Street punchline.

  • Diva

    Can I call you back? http://xvideosrating.online eporner The day before, during a visit to a Rio slum, he urged them to not lose trust and to not allow their hopes to be extinguished. Many young people in Brazil saw this as his support for peaceful demonstrations to bring about change.

  • Amado

    Hold the line, please http://porntubereview.online xtube This duet has had some off-key news of late because of fears that the U.S. Federal Reserve will curtail its bond-buying program: Bond yields have been rising over the past few months, which depresses bond prices. This has caused a minor shock to income-oriented investors.

  • Erwin

    I sing in a choir http://tubereviews.online porntrex The reforms, which do not apply to public safety workers, do not violate equal protection rights of workers because the government has the right to set wages and benefits for individual workers based on performance and skills, according to Conley.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:1597622

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

原创14 转载0 翻译0