Showing textured 3D models in iOS

2019-07-16 18:51发布

问题:

I've been working with software that generates textured 3D models of Roman archaeological artefacts (see map interface mockup here - click icons for models). The software (3DSom Pro) uses Flash or Java to show the models via a browser.

I need a non-flash/Java solution for web viewing iOS, but WebGL is only supported in Safari's nightly build (or - I understand - for adverts), which excludes the average user.

Has anyone successfully shown textured 3D models in a web browser on iOS? I know Pages (I think) supports native SketchUp files and iOS devices can display 3D, but in a browser...?

回答1:

While three.js,( a great library for doing in-browser 3D with javascript) also supports canvas rendering instead of just webGL rendering, unfortunately mobilesafari is still fairly unstable in conjunction with three.js' canvasrenderer (what i gather from mrdoob's github discussions, this has been an issue since IOS5) You could try to find a css3 DOM renderer, but it seems there isn't one available in conjunction with a framework that offers the ability to load textured models for you, which might be a lot of work to realise yourself.



标签: ios safari 3d