13 Commits
Author SHA1 Message Date
Mr.doob ec00f298be CanvasRenderer and SVGRenderer using single-material system.
Also moved `.overdraw` to Material.
Code is much simpler now :)
2011-10-23 13:50:55 +02:00
Mr.doob 1e5fc98582 Reworking Scene Graph setup. 2011-10-09 01:13:46 +02:00
Mr.doob c89e3fe49a More breakage...
* Added `scene.ambientColor` and `Scene` now ignores `AmbientLights` (transferring hex for temporal backwards compatibility)
* CanvasRenderer and SVGRenderer using `scene.ambientColor`. Tried to update `WebGLRenderer` too, but the method in question doesn't seem to have access to the scene :S
* Removed `scene.origin` and updated examples that used it.
* Improved subdivision example
2011-10-05 07:26:29 +02:00
Mr.doob a0b8f50fb0 Renamed scene.center to scene.origin as per @pyrotechnick suggestion. 2011-10-04 03:07:07 +02:00
Mr.doob ad31ff1214 Fixed the rest of the examples.
Found out that CrosseyedWebGLRenderer probably wouldn't work for target-less cameras.
Something weird going on with `webgl_scene_test.html` and `webgl_scene_test_blender.html`. For some reason cubes dissapear.
2011-10-02 06:33:32 +02:00
Mr.doob 99713c72ae Fixed some more examples. 2011-10-01 23:27:54 +02:00
Mr.doob 19d8261174 More examples clean up. 2011-09-20 18:31:13 -07:00
Mr.doob 71c2df1649 Updated HTML of some examples. 2011-09-20 15:59:12 -07:00
Mr.doob a940f05427 Updated examples with the new .add/.remove methods. 2011-09-05 23:16:56 +02:00
Mr.doob 1f660d5df0 Fixed typo. 2011-08-12 19:29:13 +02:00
alteredq eecf9d0bc6 Made canvas interactive particles rendering in Firefox more consistent with Chrome.
It seems lineWidth defaults are different in Chrome and Firefox.

Still there are some clearing artefacts in Firefox :/
2011-05-30 17:25:17 +02:00
Mr.doob 087066524a Added boundingSphere check for Meshes in Ray ( improving performance considerably). 2011-05-29 10:02:20 +01:00
Mr.doob 18f7859974 Ray now intersects with particles too. (thx @jaycrossler) 2011-05-28 23:34:59 +01:00