3D浏览器下载及说明
3D浏览器下载及说明 Instruction for downloading 3D browser
- Windows:
- If you haven’t already done so, make sure you have the DirectX runtime installed — this is a free download from Microsoft. Once you’ve done that, install either Firefox or Chromium, whichever you prefer — if it doesn’t work, check out the troubleshooting guide. (Stop press: a pre-beta version of Opera that supports WebGL on Windows is now available; it’s less stable than the other browsers, though, so don’t rely on it as your only WebGL implementation. It will also only work if your graphics card supports OpenGL 2.0, so it might be a pain to get working.)
- Macintosh:
- if you’re running Snow Leopard (OS X 10.6), things should be fine; I recommend that you use the development version of WebKit, which will run as an alternative version of Safari. If you’re running Leopard (OS X 10.5), then you won’t be able to use that version of WebKit, but you can run either Firefox or Chromium. Snow Leopard users can use Firefox or Chromium too, of course. If you’ve got an older version of OS X, unfortunately I don’t know of any WebGL browser you can use right now :-(
- Linux:
- quite a large number of Linux graphics drivers are, sadly, not good enough to work with WebGL. The same used to be the case under Windows, but the browser makers worked around it using DirectX; unfortunately there’s no such escape route for Linux. Here’s what I’ve managed to gather:
- If you’ve got ATI or Nvidia graphics, and recent drivers, then things should work just fine with either Firefox or Chromium.
- If you have Intel graphics, you’re likely to have to use slow software rendering, which sucks but at least lets you see some WebGL stuff; try Firefox or Chromium, but they probably won’t work with the default (hardware rendering) setup. To use software rendering on Linux, you need to make sure that Mesa is installed (you should just be able to get the latest version using your distro’s package manager) and then you can use the latest Firefox with a few extra settings.
-
对于Window
安装google chrome
- 进入下载页面,获得chrome-win32.zip
- 解压缩文件到合适的地方。
- 打开一个命令窗口,进入你解压缩chrome-win32.zip的目录。
- 确保您没有运行浏览器
- 运行以下命令:chrome.exe --enable-webgl
安装Firefox
它的开发版叫做Minefield。可与普通版的Firefox同时使用,所以不必去卸载已安装的Firefox。
获取Minefield:
- 登陆到每日构建网页上去获取与你电脑匹配的版本。
- 安装它(当你安装时,你需要退出所有正在运行的Firefox实例)。
- 启动Minefield。
- 打开“about:config”页面
- 查找“webgl”
- 将“webgl.enabled_for_all_sites”的值改为true。
- 在2010年2月9日,我也建议你将“dom.ipc.plugins.enabled”设置为false——这将禁用最近添加的一个功能,我发现特别是当你浏览器有一个正在显示PDF文件的不可见标签栏时,它往往导致浏览器死锁。
接下来,点击此处尝试一些WebGL网页。如果他们不工作,可能是你的图形驱动程序不支持OpenGL 2.1。如果是这种情况,你应该尝试更新驱动程序,如果这不起作用,你可以用软件渲染运行WebGL,这种方法明显会比全硬件加速图形卡要慢。但是这比什么都没有好。如下是Vladimir使用MESA软件渲染库的方法。
对于那些没有最新的OpenGL驱动或者不能获取驱动的windows用户来说,你可以下载实现OpenGL的Mesa软件的windows版本来进行软件渲染。它不会很快,但是足以让你明白WebGL是怎么回事和运行一些演示。为了使用Mesa,请下载webgl-mesa-751.zip,然后将它解压缩在你的电脑上。它有一个OSMESA32.DLL文件,你需要告知Firefox它的位置:打开about:config页面,设置webgl.osmesalib的值为OSMESA32.DLL路径。如果你将其展开在“C:temp”,则其值应设为“C:temposmesa32.dll”。然后将webgl.software_rendering的值设为true即可。
对于Macintosh
- 进入下载页面,获得chrome-mac.zip
- 解压缩文件到合适的地方。
- 打开一个终端窗口,进入你解压缩chrome-mac.zip的目录。
- 确保你没有运行浏览器
- 运行以下命令:./Chromium.app/Contents/MacOS/Chromium --enable-webgl
对于Linux
- 如果你使用32位Linux,到32位的下载网页获得chrome-linux.zip。如果你想要一个64位版本,你可以到64位的下载页面,在页面的底部找到最新的build目录,进入并从那里获得chrome-linux.zip。
- 解压缩文件到合适的地方,进入你解压缩chrome- linux.zip的目录。
- 确保你没有运行浏览器。
- 运行以下命令:./chromium --enable-webgl
Saturday, 2011-05-07 23:20