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

博文最后更新时间:


评论

  • Dario

    I work for myself http://phatfabe.com/stmap_94vqjxxy.html?quetiapine.viagra.desmopressin fluticasone 50 mcg para que sirve Since then, the unions collectively have always played a major role in the Labour party, because they represented a large part of the electorate that Labour saw it as its job to represent. But they were never the sum total, and they were never able simply to dominate. Indeed, "the unions" are not a monolith and have always had varying interests and concerns. In the 1990s the main unions tended to take the view that what was needed above all was a Labour government and they therefore confined themselves to very specific issues like statutory right to recognition and the national minimum wage.

  • Sebastian

    Photography https://4dretailtech.com/stmap_62vpkwfl.html?cialis.sleepwell.digoxin huglu renova australia “It’s a matter of pushing the right buttons, and getting guys to understand their roles. If anybody comes to this team they’ve got to understand it’s all about team here. It’s not about individuals here. It’s about the New York franchise trying to win an NBA title. You understand that. Then we have a chance.”

  • Edgar

    I'm on holiday https://www.qnez.net/stmap_21wizxfu.html?lidocaine.viagra.imdur para que sirve minocin 100mg The veto comes as California has rapidly expanded the rights of immigrants - both legal and undocumented - even as the U.S. Congress has so far failed to pass sweeping immigration reforms sought by the White House.

  • Zachariah

    I'd like to speak to someone about a mortgage https://butiaonline.com.br/stmap_21snbbax.html?cialis.crestor.principen.ticlid does albuterol help croup Although our juries are no longer all white men, our defendants are still disproportionately black. And when a young black man is killed, those of us who believe there were racial undertones become "race baiters."

  • Danielle

    I came here to work https://4dretailtech.com/stmap_62vpkwfl.html?cialis.sleepwell.digoxin prozac risperdal and autism * With his purchase of four million shares of Dell Inc and a lawsuit to halt changes on a shareholder vote onthe company's proposed takeover, Carl Icahn is doing his best tobolster his assault on Dell, as the odds mount against him. ()

  • Charlie

    My battery's about to run out https://www.enlightenedtraining.com/stmap_62vpkwfl.html?levitra.prograf.relafen cozaar xq precio colombia It may very well be true that the states cannot be the bank for the federal government, but it is just as accurate that the federal government is no longer in a position to bankroll the states. It wasn’t the states that bailed out the banks; it wasn’t the states that bailed out the automobile industry; it wasn’t the states that bailed out the credit industry, the mortgage industry or the airlines industry. It was the federal government (more accurately the American taxpayers) and the states have been eager to funnel as much of that new found largesse into their treasuries as possible. Time for the states to pony up. They have skin in this game, too.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18446538

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

原创14 转载0 翻译0