Commit Graph
900 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 6b151b552e Merging with @alteredq's experimental branches. 2011-10-23 12:34:46 +02:00
Mr.doob 330ab77836 WIP WebGLRenderer refactoring 2011-10-16 11:36:09 +02:00
alteredq 093fbbe334 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
WebGL part of this branch is completely broken. Do not use. This is for further merging.
2011-10-15 18:37:59 +02:00
Mr.doob d2b8a07822 Changed ColladaLoader so it doesn't create extra Object3Ds for each mesh.
Updated Stats.
2011-10-15 09:00:41 +02:00
alteredq a529e4c783 Fixed dynamic cube map cars demo.
Finally, the trouble was at the application level: renderer.clear clears the current framebuffer, which, if you juggle multiple render targets, doesn't have to be necessarily the screen. Here it was the last face of cube render target.
2011-10-11 02:31:55 +02:00
Mr.doob 1e5fc98582 Reworking Scene Graph setup. 2011-10-09 01:13:46 +02:00
Mr.doob 330b64b080 Removed some (now gone) WaltHead.js includes. 2011-10-08 21:10:17 +02:00
Mr.doob 2c8967b124 Fixed CanvasRenderrer incorrectly SphericalReflectionMapping Face4 rendering.
Also replaced WaltHead.js (old format) with WaltHeadLo.js (new format)
2011-10-08 21:04:26 +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
Mr.doob 77af9c0cde Implemented @jeromeetienne's webgl voxelpainter changes. 2011-10-07 20:54:45 +02:00
Mr.doob 869927a80e Merge remote-tracking branch 'alteredq/dev' into dev 2011-10-07 20:30:30 +02:00
alteredq c7d304db57 Fixed ambient occlusion in Minecraft example. 2011-10-07 20:24:50 +02:00
Mr.doob c3d706e295 preserveDrawingBuffer isn't needed anymore. 2011-10-07 20:06:24 +02:00
Mr.doob 40bca923c3 Added WebGL trails example. 2011-10-07 19:45:02 +02:00
Mr.doob e4a17d6369 Merge remote-tracking branch 'greggman/newrot' into dev 2011-10-07 09:01:16 +02:00
gman 1ab9940107 Add example that shows using three.js for multiple monitors in a circle 2011-10-06 23:43:36 -07: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 b964b7e49f Merge remote-tracking branch 'guardianResearch/master' into dev 2011-10-06 21:35:31 +02:00
Andrew Strelzoff 485122a150 small fix - screen resize needs to refer to controls.screen sizes 2011-10-06 09:31:22 -05:00
Justin Sermeno 6e6f2453a1 change voxelpainter to use THREE.CombinedCamera 2011-10-05 22:27:34 -07:00
Justin Sermeno e645a562b0 update voxelpainter to use projector pickingRay() 2011-10-05 22:11:30 -07:00
Mr.doob f357225c2d Merging dev branch. 2011-10-06 06:15:03 +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
zz85 149c20d177 Added new THREE.CombinedCamera. Added orthographic + perspective example 2011-10-06 00:55:26 +08:00
zz85 94ff102c64 Updated example + merge with doob/dev 2011-10-05 14:29:30 +08: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 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 309c484321 Updated some examples to the new camera setup.
Got stuck on the PathCamera/PathControls one. Maybe it's time to rewrite this...
2011-10-04 05:24:56 +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 df64ff921f extras/cameras/*Cameras > extras/controls/*Controls
This will take a while to make work again... probably needs some cleaning and refactoring...
2011-10-04 02:18:15 +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