本文介绍了可以在 HTML5 中运行/创建 3d 动画而不需要 webgl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试寻找一种解决方案来运行/创建 3d 动画,以便在没有 webgl 的设备上使用(办公计算机的显卡很弱)并且至少可以在 IE8 上运行.当然,不得下载任何插件.如果我们使用诸如css3pie之类的pollyfil,我们可以运行HTML5/CSS3.

用不支持 webgl 的设备做 3d 东西是不可能的吗?谢谢.

解决方案

我已经成功使用了

钻石几何浏览器

记住移动设备可能会更慢是件好事(因为可用于使用画布计算和渲染 3d 几何的资源(CPU/RAM)较少,但用这么少的资源可以完成多少工作仍然令人印象深刻.所以纹理、特效等在移动设备上可能会很慢,但有时限制会导致原创和创意设计.

We're trying to find a solution to running/creating 3d animations for use on devices that have no webgl (office computers have weak video cards) and can run on IE8 as a minimum. Of course, no plugins shall be downloaded. We can run HTML5/CSS3 if we use a pollyfil such as css3pie, etc.

Is it just not possible to do 3d stuff with a device that has no webgl support? Thank you.

解决方案

I've used three.js succesfully with the CanvasRenderer(see Canvas examples).

If it helps you can also try some of my older tests:Delta bots

Delta Cube(refresh for random shape)

Dodecahedrons

Diamond geometry explorer

It's good to bare in mind that mobile devices might be slower(because there are less resources(CPU/RAM) available to compute and render 3d geometry with canvas, but it's still pretty impressive how much can be done with so little. So textures,special effects, etc. might be slow on mobile, but sometimes limitations lead to original and creative designs.

这篇关于可以在 HTML5 中运行/创建 3d 动画而不需要 webgl?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 08:47