17 Commits
Author SHA1 Message Date
Mr.doob 6b151b552e Merging with @alteredq's experimental branches. 2011-10-23 12:34: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
alteredq c07919529e Made FirstPersonControls work. Fixed more examples to work with the new camera system. 2011-10-04 21:10:20 +02:00
Mr.doob 0995bc43f3 Added a handy "center" to Scene.
I could have just used `lookAt( scene.position )`, but eventually I would like to have Scene not extending Object3D.
2011-10-04 01:30:00 +02:00
Mr.doob 896448c06d Looking for the right pattern for the camera.lookAt() use. 2011-10-04 01:23:14 +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 36ae04418c Fixed yet some more examples.
Removed QuakeCamera.
2011-10-01 23:38:26 +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 c543ba6540 GeometryUtils.applyMatrix -> Geometry.applyMatrix 2011-09-07 18:52:11 +02:00
Mr.doob d3a5649759 Added GeometryUtils.applyMatrix so we can easily manipulate geometry \:D/
Fixed GeometryUtils.merge (normals and centroids weren't being multiplied)
Fixed misc_lookat and misc_ubiquity_test examples.
2011-09-06 16:58:16 +02:00
Mr.doob a940f05427 Updated examples with the new .add/.remove methods. 2011-09-05 23:16:56 +02:00
Mr.doob bfdb10a85a Updated all examples so they use the renamed geometry classes. 2011-06-13 18:33:53 +02:00
Mr.doob 45a7df8f95 Fixed lookAt example. 2011-04-11 16:38:01 +01:00
Mr.doob 9acde65027 Updated lookAt example so it's more obvious. 2011-04-11 16:19:50 +01:00
Mr.doob 76e7ea3461 Added namespace to all the objects that missed it (geometries, uniforms, etc)
WebGLRenderer antialias is off by default (considering Firefox doesn't support it...)
Formatting clean up here and there
2011-04-09 12:38:39 +01:00
Mr.doob c89b4008f3 Added translate( distance, axis ), translateX( distance ), translateY( distance ) and translateZ( distance ) methods to Object3D.
Camera3D translate method overrides Object3D's one. NoFly parameter removed (this should be handled from outside I think).
2011-03-06 09:16:03 +00:00