Project Info:
MIT License
https://github.com/cimaron/cwebgl
Demos:
The following demos are taken from Learning WebGL lesson series at
http://learningwebgl.com/blog/?page_id=1217.
- Demo 1
- Demo 2
- Demo 3
- Demo 4
- Demo 5
- Demo 6 *
- Demo 7 *
- Demo 8 *
- Demo 9
- Demo 10 *
- Demo 11 *
- Demo 12 *
- Demo 13 *
- Demo 14 *
- Demo 15 *
- Demo 16 *
* Not all features are supported yet.
The following demos are taken from the Khronos WebGL demo page at http://www.khronos.org/webgl/wiki/Demo_Repository.
- san-angeles *
- particles *
- shiny-teapot *
- Image Texture Test
- Procedural Texture Test
- Vertex Buffer Object Example *
- Colored Box *
- Textured Box *
- Earth *
- Teapot Per Vertex *
- Teapot Per Pixel *
- Many Planets Deep *
- WebGL + CSS *
- J3DI Matrix Text *
- Spore COLLADA Viewer *
Notes:
These demos can be run in just about any modern browser, as long as it implements HTMLCanvasElement. While older browsers may work, without a Javascript compiler, the browser will most likely lock up. If your browser already supports WebGL, then that will be used instead.
A list of acceptable browsers probably include, but is not limited to:
- Firefox 4+
- Chrome (any)
- Internet Explorer 10+ (note: IE9 support dropped due to lack of TypedArray support)
- Safari 4+
You will NOT get native-like performance out of a software renderer, epecially a Javascript one. Still, with the state of modern browser Javascript compilers, performance should be acceptable as a fallback solution, depending on the application. Furthermore, the library has a built in mechanism which attempts to optimize rendering speed by setting a FPS target, and increasing or decreasing the internal resolution to compensate for load.
This library is under heavy development. As such, functionality is limited to the features contained in these demos, and is not yet a complete drop-in replacement for native WebGL. This will hopefully change over time if there is sufficient interest.