17 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 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
alteredq e298ac6814 Renamed MeshShaderMaterial => ShaderMaterial 2011-09-12 19:17:20 +02:00
Mr.doob a940f05427 Updated examples with the new .add/.remove methods. 2011-09-05 23:16:56 +02:00
Mr.doob 176d0f2884 Merging with @alteredq's branch. 2011-07-03 12:56:50 +02:00
Mr.doob 77eed2ea8c Removed most of SeceneUtils methods for simplicity reasons.
Fixed examples that were using them.
2011-07-03 12:53:58 +02:00
alteredq 22bd108ab1 Added FlyCamera (thanks to James Baicoianu). Added specular map to normal map shader. Added WebGL Earth FlyCamera demo.
Changed normal map shader to multiply specular component with diffuse weighting as specular highlights were appearing in the dark parts.

Changed camera look speed in minecraft and terrain demos, they were too fast - I guess as everything got faster with antialiasing off.

Reenabled antialiasing in few demos where it was too ugly without (basically anything with lines and without postprocessing).

Fixed again spurious invisible characters in empaempa's code (which are breaking everything and are hard to hunt as they look like spaces).
2011-04-10 23:13:05 +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
alteredq 9db71a171a Fixed tangents and UVs in Blender exporter.
Also updated docstring for OBJ converter.

All WebGL examples should now work.
2011-03-22 00:32:45 +01:00
alteredq 3b6b3dc578 Made more examples working. 2011-03-21 07:10:12 +01:00
alteredq 071de366c2 Updated Blender exporter to export new JSON format.
Also some fixes along the way to properly handle vertex colors in loaders.

Many things still broken, but we move forward.
2011-03-21 05:36:12 +01:00
alteredq cf2e8c1bbf Refactored everything to use CamelCase naming for properties. Plus some smaller fixes here and there.
Went through all examples, all should work.

JSON files exported from Blender / converted from OBJ files still use underscored property names internally. I don't know, should these also be changed?
2011-02-28 14:52:04 +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