Commit Graph
1240 Commits
Author SHA1 Message Date
Mr.doob 319d423262 Forgot marklundin's credit. 2011-10-07 21:54:47 +02:00
Mr.doob 2928cce2d9 Parallax Barrier WebGL Renderer
Pretty useless, no way I can try it and it's probably done in hardware anyway. But looks cool :P
http://en.wikipedia.org/wiki/Parallax_barrier
2011-10-07 21:22:48 +02:00
alteredq 89c578332e Fixed shading glitches on OpenGL (thanks to @mrdoob for spotting this). 2011-10-07 20:56:24 +02:00
alteredq 7355c2b68b Changed ambient term to influence also texture in Phong / normal map materials.
This feels more intuitive, otherwise ambiently lit textured surfaces look weird.
2011-10-07 19:06:55 +02:00
alteredq 7d2805dd83 Fixed specular term in Phong / normal map materials.
Turns out I had it right before after all: to get rid of artefacts it should be multiplied by diffuse term (instead of being patched by conditional).
2011-10-07 18:43:00 +02:00
Mr.doob e4a17d6369 Merge remote-tracking branch 'greggman/newrot' into dev 2011-10-07 09:01:16 +02:00
Mr.doob 4e5dff61c8 Added basic Collada file drop support to the GUI.
Unfortunately "File" doesn't have path information, so textures won't load :/
Tried to also drop .js files, but the Workers part ruined the party too :/ :/
2011-10-07 08:55:05 +02:00
Mr.doob 1258e8a771 Ray now also checks object's children. 2011-10-07 07:07:34 +02:00
gman 7f0346f3b8 Update WebGL Renderer so cameras can have parents 2011-10-06 17:58:00 -07:00
Mr.doob 81d338e915 ColladaLoader fixes.
* Fixed `ColladaLoader` and `Loader` url base extraction code.
* `ColladaLoader` now ignores non-joint nodes when constructing the skeleton. (Hopefuly, in a  year time, I'll find this fix stupid)
2011-10-07 02:30:10 +02:00
Mr.doob 435f7e7be5 Backwards compatibility for old cameras. 2011-10-07 01:08:59 +02:00
alteredq b18a38eee5 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-10-06 23:44:10 +02:00
alteredq 84ed1835ca Added reflection to normal map shader. 2011-10-06 23:33:01 +02:00
Mr.doob f357225c2d Merging dev branch. 2011-10-06 06:15:03 +02:00
alteredq 801fe52d75 Removed unused code from normal map shader. 2011-10-06 05:02:10 +02:00
alteredq 8afaef4597 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-10-06 04:18:27 +02:00
alteredq 1042528b39 Added texture coordinates offset and repeat to normal map shader. 2011-10-06 04:11:11 +02:00
alteredq 8153982ffb Added shadow maps handling to normal map shader. 2011-10-06 03:46:42 +02:00
Mr.doob 5b22bffdf8 Merge remote-tracking branch 'arcanin/dev' into dev 2011-10-06 03:40:53 +02:00
Mr.doob 1a48b52540 Added @zz85's setLens() method to PerspectiveCamera too. 2011-10-06 03:24:31 +02:00
Mr.doob a52637b892 Merge remote-tracking branch 'jsermeno/ortho' into dev 2011-10-06 02:49:01 +02:00
Mr.doob 3678dc63fa Merging with @alteredq's branch. 2011-10-06 02:46:29 +02:00
Mr.doob bd062691c2 Merge remote-tracking branch 'zz85/master' into dev 2011-10-06 02:35:26 +02:00
Mr.doob 78344033fa Reverted AmbientLights changes. 2011-10-06 02:30:26 +02:00
zz85 149c20d177 Added new THREE.CombinedCamera. Added orthographic + perspective example 2011-10-06 00:55:26 +08:00
Justin Sermeno 7d0fbf7a62 change comments 2011-10-05 00:53:33 -07:00
Justin Sermeno 3b60963c64 pickingRay optimizations and comments 2011-10-05 00:43:07 -07:00
Justin Sermeno bc27e18424 add pickingRay method 2011-10-05 00:31:52 -07:00
Justin Sermeno 1d1e1dfaf7 unproject that alters ray 2011-10-05 00:18:50 -07:00
zz85 94ff102c64 Updated example + merge with doob/dev 2011-10-05 14:29:30 +08:00
Justin Sermeno 923bb7f913 orthographic picking - v1 2011-10-04 23:13:07 -07:00
zz85 40decb9093 I have unmerged changes?? 2011-10-05 13:56:56 +08: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 412c545c47 Updated the rest of examples.
All should now work with new cameras.
2011-10-05 05:05:13 +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
alteredq db81e45255 Updated builds. Renamed subdivision example with webgl prefix. 2011-10-05 00:48:01 +02:00
alteredq 1f7bc4e31d Made PathControls work.
Aargh, I feel dirty now.
2011-10-05 00:38:43 +02:00
zz85 7fa0d7b887 Fixed bad vertex magic number 2011-10-05 06:25:42 +08:00
alteredq 4b7c468e15 Made TrackballControls work. Fixed more examples.
This one was quite a pain.
2011-10-04 23:50:05 +02:00
alteredq ef29a8e352 Made FlyControls and RollControls work. Fixed more examples. 2011-10-04 22:57:43 +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
zz85 ab944fda0a Handles subdivision of vertex colors by averaging vertex colors 2011-10-05 01:38:19 +08:00
zz85 195a0b31ae Quick fix for boundary cases in Subdivision. Updated example 2011-10-05 00:39:38 +08:00
zz85 98629744d3 option to honor old vertex colors with subdivisionModifier.useOldVertexColors = true 2011-10-04 23:16:22 +08:00
zz85 f8df307438 Removed THREE.SubdivisionGeometry. A tiny bit of cleanup 2011-10-04 22:46:34 +08:00
zz85 a88848ab1d Added THREE.SubdivisionModifier. Removed THREE.GeometryUtils.createSubdivision() 2011-10-04 22:25:52 +08:00
zz85 a6eb8106a2 merged mrdoob/dev 2011-10-04 21:25:44 +08:00
zz85 dd6114b7f2 Moved createSubdivision() to THREE.GeometryUtils 2011-10-04 17:46:45 +08:00
Maël Nison c1e9cb77ea Fix CubeGeometry faces inversion. 2011-10-04 11:18:05 +02:00
Mr.doob a0b8f50fb0 Renamed scene.center to scene.origin as per @pyrotechnick suggestion. 2011-10-04 03:07:07 +02:00