18 Commits
Author SHA1 Message Date
Mr.doob 6b151b552e Merging with @alteredq's experimental branches. 2011-10-23 12:34:46 +02:00
alteredq 064138d826 Updated more examples. Got AnaglyphWebGLRenderer and CrosseyedWebGLRenderer working.
CrosseyedRenderer is a hack, camera must have target :S.
2011-10-05 03:25:02 +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
alteredq 8bd87ff444 Rewritten lighting shaders.
Hopefully this fixes several problems:

- ambient component not modulated by scene ambient light
- specular component not getting light colors
- unnecessary opacity use in lighting calculations
- unnecessary vertex shader light computation for Phong
- unnecessary use of one varying in Phong
2011-09-24 10:45:57 +02:00
alteredq fa0b4e5062 Removed unused custom logging code from examples.
This was relic from before "console.log" was working cross-browser.
2011-09-21 05:37:48 +02:00
Mr.doob bbb65a768c Updated HTML of the rest of the examples. 2011-09-20 19:27:01 -07:00
Mr.doob 19d8261174 More examples clean up. 2011-09-20 18:31:13 -07: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 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 816d19a8d6 REVISION ++ 2011-03-31 22:29:53 +01:00
Mr.doob 97c556cb3d Unneded property set. 2011-03-30 08:48:56 +01:00
Mr.doob 532929d510 WebGLRenderer: Added distance (falloff) to PointLight. 2011-03-29 06:13:21 +01:00
alteredq 3b6b3dc578 Made more examples working. 2011-03-21 07:10:12 +01:00
alteredq 7ad44b434c Added level-of-details example (and LOD object to compiled lib).
Thanks to empaempa for implementing this feature ;)
2011-03-01 15:50:14 +01:00
Mr.doob fef3c084b1 Changed build setup:
build/Three.js - Includes all renderers + extras
	build/custom/ThreeCanvas.js - Canvas renderer only
	build/custom/ThreeDOM.js - DOM renderer only
	build/custom/ThreeSVG.js - SVG renderer only
	build/custom/ThreeWebGL.js - WebGL renderer only
	build/custom/ThreeExtras.js - Extras only

Moved `THREE.Detector.js` to `examples/js/Detector.js`.

Updated examples to reflect these changes.
2011-02-23 12:35:31 +00:00
Mr.doob 9297fb975e All examples now use RequestAnimationFrame.js (pheww!) 2011-02-22 04:45:38 +00:00
Mr.doob 4912f59cc6 Compiled new build.
Renamed examples.
2011-02-20 04:11:47 +00:00