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

博文最后更新时间:


评论

  • Marcos

    Just over two years http://porntubereview.online/xvedio.html xnxx This year U.S. Secretary of State John Kerry and Lew hostChinese State Councilor Yang Jiechi and Vice Premier Wang Yangfor the first such dialogue session since China's once-a-decadeleadership change in March, when Xi took over.

  • Malik

    We'll need to take up references http://tuberating.online/eporner.html al4a According to the National Business Daily, Airbus countered by saying that the seats on the A330-300 are 18 inches wide, one inch wider than the seats on the Boeing 787-9, and afford greater comfort. In addition, thanks to its higher passenger load the A330-300 can generate higher ticket income for airlines. Airbus also cited confirmed orders for more than 800 A330 aircraft since the launch of the Boeing 787.

  • Emilio

    We work together http://tubearchive.online/lamalinks.html nudevista Lynda Chambers, 58, gave up a day's pay to attend because her retail job does not provide paid vacation. Even as a 7-year-old at the time of the original march, she felt alienated and deprived of her rights. Remembering those feelings, she said, she was compelled to make the trip Saturday.

  • Jorge

    Did you go to university? http://porntubehub.online/keandra.html madthumbs Immediately after Barton was finished, the group of about 40 volunteers held a moment of silence at 12:38 a.m. Saturday, the time the shooting began one year earlier. The silence lasted for 82 seconds to represent the 12 people killed and the 70 who were wounded in the theater.

  • Carmine

    Insufficient funds http://porntuberating.online/trannytube.html iwank Scott Disick, 30, is usually not a happy camper when the spotlight’s not directly on him. So, it shouldn’t come as much of a surprise that his 3-year-old son Mason isn’t too excited about cousin North West stealing his thunder.

  • Frances

    Punk not dead http://xnxxrating.online/lamalinks.html nudevista Arteesha Donaldson became upset when she lost her "detachable latex penis," cops say, which caused an argument between Donaldson and her girlfriend. The fight allegedly ended with Donaldson chucking at ironing board.<a href="http://www.huffingtonpost.com/2012/11/27/arteesha-donaldson-south-carolina-assault-sex-toy-detachable-penis_n_2200389.html">Read the whole story here.</a>

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19634689

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

原创14 转载0 翻译0