没有WebGL的交互式三维模型为iOS [英] Interactive 3D model without WebGL for iOS

查看:288
本文介绍了没有WebGL的交互式三维模型为iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使类似的东西 - <一个href="http://appserv.kfshrc.edu.sa/Default/Health/Anantomy.aspx">http://appserv.kfshrc.edu.sa/Default/Health/Anantomy.aspx,但不使用闪光灯,能够工作在移动Safari浏览器在iPad上。

I want to make something similar to this - http://appserv.kfshrc.edu.sa/Default/Health/Anantomy.aspx, but without using flash and able to work on Mobile Safari on iPad.

我打的WebGL,这是伟大的,但不会在iOS上工作,但(虽然它是存在在移动Safari浏览器,但它只是为网络成瘾者)。我也试着用CSS 3D转换,但它不能正常工作。所以,我可以用什么来实现这个的iOS移动Safari浏览器?

I played with WebGL, it's great but doesn't work on iOS yet (though it is there in Mobile Safari, but it's just for iAds). I also tried with CSS 3D transformations, but it doesn't work properly. So, what can I use to implement this for iOS Mobile Safari?

推荐答案

我觉得这是值得探讨 three.js ,一个JavaScript 3D库,让你选择画布,SVG和WebGL的作为渲染目标。 three.js应该建立一些像你这样的指向你的问题相当简单的例子。

I think it would be worth looking into three.js, a JavaScript 3d library which allows you to choose canvas, SVG or WebGL as the render target. three.js should make building something like the example you point to in your question fairly straightforward.

根据这个线程,已经出现了用帆布渲染一些问题在移动Safari浏览器,但是那是在一年前,因此它可能已经得到解决。你可以尝试一些画布范例在three.js网站来获得移动Safari浏览器的性能的想法从今天起。

According to this thread, there have been some issues with canvas rendering in mobile Safari, but that was over a year ago so it may have been resolved. You could try some of the canvas examples on the three.js site to get an idea of the performance in mobile Safari as of today.

@Nicholas Kyriakides还指出,根据他的经验SVG渲染模式一直是越野车和不执行,以及WebGL的。

@Nicholas Kyriakides has also pointed out that in his experience SVG render mode has been buggy and not performed as well as WebGL.

这篇关于没有WebGL的交互式三维模型为iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆