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

博文最后更新时间:


评论

  • Eric

    I enjoy travelling https://beeg.x.fc2.com/pornhub.html xvedio Canada has agreed to increase to $1.5 billion the threshold for reviewing foreign acquisitions of Canadian firms by European companies. All EU takeovers under $1.5 billion would not be subject to review under the Investment Canada Act to determine whether they’re of “net benefit” to Canada.

  • Daryl

    How many weeks' holiday a year are there? https://beeg.x.fc2.com/femjoy.html rockettube Invensys has long been touted as a bid target in an industrydominated by larger rivals, particularly after the disposal ofits rail unit last year, which enabled it to boost its financesand focus on its widely admired industrial automation business.

  • Jimmi

    History https://beeg.x.fc2.com/pornhub.html hqporner Mr McCombe, a former senior HSBC executive, had been approached by RBS to replace Stephen Hester as CEO along with one other external candidate and three from inside the part-nationalised bank.

  • Quinton

    How much is a First Class stamp? https://beeg.x.fc2.com/lamalinks.html porntube Complaints were filed, diplomatic rows were had and an EU team was sent to “assess the border controls, free movement of people and goods, including fraud and smuggling”, and to check Spanish complaints over fishing grounds.

  • Mitchell

    Languages https://beeg.x.fc2.com/porntrex.html keezmovies The results of those tests at NewYork-Presbyterian Hospital will determine whether A-Rod, whose 20-day minor-league rehab assignment following January hip surgery ended Sunday, will remain on the disabled list or join the team in Texas to be activated from the DL for the first time this season.

  • Levi

    I've got a very weak signal https://beeg.x.fc2.com/thisav.html ampland When the rules were changed in 2010, many oil industryexperts said the production-sharing model would reduce interestin investing in Brazil's "subsalt" province, an area in theCampos and Santos basins where giant new fields were beingdiscovered beneath thousands of meters of water, sub-sea rockand an ancient layer of salt.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19794864

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

原创14 转载0 翻译0