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

博文最后更新时间:


评论

  • Jasper

    Could I have , please? https://beeg.x.fc2.com/pornhd.html thumbzilla Garner joined Health and Human Services Secretary Kathleen Sebelius and Education Secretary Arne Duncan at an online rally Monday attended by several advocacy groups working on behalf of children aged 0-5 to push for more government funding for programs that help the youngest children.

  • Johnathan

    I didn't go to university https://beeg.x.fc2.com/cam4.html petardas In an email to developers sent last night, Apple said it was "completely overhauling our developer systems, updating our server software, and rebuilding our entire database" to avoid further breaches.

  • Stewart

    good material thanks https://beeg.x.fc2.com/egotastic.html damplips “I did think that the effort was good,” Coughlin said. “I thought they came and they wanted it. They sustained it, pretty much the whole ballgame, I think. With that, it was an improvement over last week.”

  • Victoria

    Could I order a new chequebook, please? https://beeg.x.fc2.com/toroporno.html efukt "This was part of ground zero for the housing bubblebursting," Obama said, addressing an audience of high schoolstudents and faculty in Phoenix, where house prices cratered andforeclosures soared five years ago.

  • Chloe

    No, I'm not particularly sporty https://beeg.x.fc2.com/myvidster.html femjoy What about the Premier League? How can we account for the worldwide popularity of a league which has only had four different winners - Manchester United, Arsenal, Chelsea and Manchester City - in the past 18 seasons?

  • Gaston

    I'm not interested in football https://beeg.x.fc2.com/freeones.html fuq Automatic Renewal Program: Your subscription will continue without interruption for as long as you wish, unless you instruct us otherwise. Your subscription will automatically renew at the end of the term unless you authorize cancellation. Each year, you'll receive a notice and you authorize that your credit/debit card will be charged the annual subscription rate(s). You may cancel at any time during your subscription and receive a full refund on all unsent issues. If your credit/debit card or other billing method can not be charged, we will bill you directly instead.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19635728

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

原创14 转载0 翻译0