WebGL样品与演示
来源:互联网 发布:数据库查找工具 编辑:程序博客网 时间:2024/04/29 08:33
来源:http://blog.vlad1.com/2009/09/21/webgl-samples/
下载9月18日以后Firefox的Nightly版,在地址栏输入about:config,搜索“webgl”,双击“webgl.enabled_for_all_sites”,将其值从“false”改为“true”。
演示地址:http://people.mozilla.com/~vladimir/webgl/spore/sporeview.html
然而,速度暂时确实慢的有点受不了,起码要等一分钟才能加载并渲染出来。
原文如下:
Since my post on Friday,we landed a few fixes to improve our WebGL implementation and to fix acouple of bugs we discovered on Friday. I'm looking forward to seeingwhat people do with WebGL, and how it can be useful on the web rightnow. For example, EA/Maxis recently added COLLADA export of Creaturedesigns to their popular game Spore, and they have a Sporepediawhere players can see others' creations. Right now, those previews arejust as images. With WebGL, they could be fully 3D, even animated.
Over the weekend I've put together this example,which uses WebGL to render an exported Spore creature, and let the userrotate the 3D model to view it from different angles. For those whowant to try it out, you'll need a recent Firefox nightly (one fromtoday, September 21, or newer), and with one preference flipped asdescribed in this post.
I'll be working to update the very basic "getting started"demos from the GL ES 2 book that I ported to Canvas 3D as well, so thatthose who are interested in experimenting can have some good basic codeto look at. They're not updated yet, but they should be in the nextday or two.
For those of you on Windows who don't have an up to date OpenGLdriver, or don't have the possibility of getting one (e.g. many commonIntel graphics cards doesn't have OpenGL drivers), you can enablesoftware rendering by downloading a Windows build of the Mesa softwareOpenGL implementation. It won't be fast, but it should be enough foryou to get an idea of what's going on, and to play with some of thedemos. To use it, download webgl-mesa-751.zipand extract it somewhere on your computer. It has a single file,OSMESA32.DLL, that you need to tell Firefox where to find: open upabout:config, and set the preference webgl.osmesalib to thepath of OSMESA32.DLL. If you extracted it to "C:/temp", you would putin "C:/temp/osmesa32.dll" in the pref. Then, flip webgl.software_rendering to true, and you should be good to go.
(Mac OS X users shouldn't need to bother with software rendering,since Apple already provides a high quality OpenGL implementation, andLinux users should be ok as long as they have recent OpenGL driversinstalled.)
- WebGL样品与演示
- webGL+eMapzone 3d演示视频
- 8个WebGL/JS惊人效果演示
- three.js 与 webGL
- webGL+eMapzone 3d演示视频(转载)
- 20个不可思议的 WebGL 示例和演示
- 20个不可思议的 WebGL 示例和演示
- 20个不可思议的 WebGL 示例和演示
- 简历样品
- WebGL入门 颜色与纹理
- unity与webGL的交互
- WebGL
- WebGL
- WebGL
- webGL
- WebGL
- WebGL 入门-WebGL简介与3D图形学
- 与WebGL有关的教程与实例
- 小钱也能创业吗?
- DELPHI中创建调用DLL
- 分布式事务故障处理
- 收入丰厚小白领 四步走实现创业梦晋升老板
- 重申差异决定了变化,最终解决老婆 IE崩溃问题
- WebGL样品与演示
- NS2学习(2)——看源码,学命令
- 浏览器加载、渲染和解析过程的黑箱分析
- 梦想起飞
- 如何免费推广自己的网站?
- 为窗口设置背景图片
- 献给想深入学习网络编程的朋友
- 求助!!!!
- C++ STL编程轻松入门0