Commit Graph

  • 580b71811b one fewer Matrix4 created in Projector.unProjectVector astrodudandMr.doob 2011-01-20 12:35:06 +08:00
  • 8f133abd30 Added HDR texture example. alteredq 2011-01-23 18:39:14 +01:00
  • 6a5ad65104 created _m33 class member (moved out of Matrix4) and modified THREE.Matrix4.makeInvert3x3() call accordingly, as with WebGLRenderer astrodud 2011-01-19 21:09:57 -08:00
  • 2319f227f3 created _m33 class member (moved out of Matrix4) and modified THREE.Matrix4.makeInvert3x3() call accordingly astrodud 2011-01-19 21:00:58 -08:00
  • b9c654633c removed object lookups in transpose() astrodud 2011-01-19 20:59:48 -08:00
  • 1bb5e6003a * memory and speed optimizations in Matrix4.flatten() * memory and speed optimizations in Matrix4.makeInvert3x3() (moved Matrix4.m33 to WebGLRenderer._m33 since it is only used there and only for a single Matrix4) astrodud 2011-01-19 20:58:13 -08:00
  • 0b19cd3c75 one fewer Matrix4 created in Projector.unProjectVector astrodud 2011-01-19 20:35:06 -08:00
  • 3e36fed048 Merged astrodud's pull request. alteredq 2011-01-19 09:06:50 +01:00
  • 67be8c84a1 small bug fix in the new Matrix4.rotationAxisAngleMatrix astrodud 2011-01-18 21:42:09 -08:00
  • 740407b46e Trailing spaces clean up. Mr.doob 2011-01-19 04:49:48 +00:00
  • 8a26198b41 Updated also WebGLRenderer2 to show quads in wireframe. alteredq 2011-01-18 20:39:10 +01:00
  • 969490ddba Merged astrodud's pull request. alteredq 2011-01-18 16:56:56 +01:00
  • 5665864605 Merge remote branch 'remotes/astrodud/master' alteredq 2011-01-18 16:53:25 +01:00
  • 6c071233d6 This is the Object3D.js code as it *should* have been committed astrodud 2011-01-18 05:35:32 -08:00
  • 5e99c7b8f7 Simplified Matrix4: reused code from setters in creators. alteredq 2011-01-18 10:26:11 +01:00
  • 8f29cf0324 Prettified formatting of new Matrix4 set methods and also fixed implied globals in setRotAxis. alteredq 2011-01-18 10:03:11 +01:00
  • 41c692828f Trailing spaces clean up. Mr.doob 2011-01-18 08:18:11 +00:00
  • 5accd0cfd7 Brought back Object3D.rotationMatrix (Projector still uses it). Mr.doob 2011-01-18 07:29:39 +00:00
  • ecedea4be1 Updated builds. Mr.doob 2011-01-18 07:06:07 +00:00
  • 2a7262ccd9 Merge https://github.com/mrdoob/three.js astrodud 2011-01-17 22:57:03 -08:00
  • c9706f85bf Optimized Object3D.updateMatrix to (1) cut down where possible on new Matrix4 allocation, (2) only compute rotation/scale matrices if needed (if no rotation, no need t compute); and (3) no longer require storage of translationMatrix or scaleMatrix (1 per object). Uses a single tmpMatrix instead. astrodud 2011-01-17 22:27:32 -08:00
  • d8f6d06edf oops - fixed but in setRotX astrodud 2011-01-17 22:09:03 -08:00
  • 89ecf225d0 Merge remote branch 'alteredq/master' Mr.doob 2011-01-18 05:48:57 +00:00
  • 0b8323f426 Removed hatching commented code from ShaderUtils. Mr.doob 2011-01-18 05:48:50 +00:00
  • 17ab97545e added Matrix4 "setter" functions: setTranslation, setScale, setRotX, setRotY, setRotZ, setRotAxis; to be used in optimizing Object3D.updateMatrix. astrodud 2011-01-17 21:45:05 -08:00
  • 22a1502174 slight speedup in Matrix4.makeInvert by cutting down object lookups astrodud 2011-01-17 21:42:05 -08:00
  • 151ff4394e slight speedup in Matrix4.rotationAngleAxisMatrix by cutting down object lookups and redundant multiplications astrodud 2011-01-17 21:41:13 -08:00
  • f3fd1bcfe6 slight speedup in Matrix4.determinant by cutting down object lookups astrodud 2011-01-17 21:38:56 -08:00
  • fde0754383 Refactored camera translation so that it doesn't create new vectors. alteredq 2011-01-17 21:35:43 +01:00
  • d1514ca6a7 Refactored lights handling in WebGLRenderer. alteredq 2011-01-17 20:22:46 +01:00
  • e54d9519d0 Changed wireframe rendering in WebGLRenderer to show quads. alteredq 2011-01-17 18:44:09 +01:00
  • 08f6ceef15 Small optimizations to matrix math. alteredq 2011-01-17 16:09:26 +01:00
  • e37223a849 Synced with mrdoob's branch. alteredq 2011-01-17 08:25:42 +01:00
  • 28e18bcf2c Added texture/disturb.jpg Mr.doob 2011-01-17 00:00:38 +00:00
  • a62dc97e60 added LathedObject to build script for extras options astrodud 2011-01-16 15:27:19 -08:00
  • ebd21f962b GeometryUtils.merge should obey object2.autoUpdateMatrix astrodud 2011-01-16 15:26:00 -08:00
  • d110c49c2f Added support for flipSided mesh property to WebGLRenderer. alteredq 2011-01-16 21:46:23 +01:00
  • 271ba6c524 Added support for "doubleSided" mesh property to WebGLRenderer. alteredq 2011-01-16 15:10:58 +01:00
  • 6668440006 Cleaned bit postprocessing example code. alteredq 2011-01-16 14:35:17 +01:00
  • d50863908c Small improvements in postprocessing example. alteredq 2011-01-16 11:51:56 +01:00
  • 61e0bf0289 Synced with mrdoob's branch. alteredq 2011-01-16 03:07:56 +01:00
  • 1fbe2bfdbf CanvasRenderer::setSize didn't clear _contextGlobalAlpha et al timk 2011-01-16 00:43:51 +01:00
  • a03f714244 Added postprocessing example. alteredq 2011-01-15 02:20:47 +01:00
  • 6cc1016477 Testing rendering to full-screen texture. alteredq 2011-01-14 15:16:14 +01:00
  • 7c9fe8ff82 Another update of render-to-texture example and related bugfix. alteredq 2011-01-14 12:39:57 +01:00
  • 707dc9d0a0 Refactored render-to-texture example. alteredq 2011-01-14 02:05:16 +01:00
  • 916401fd96 Updated render-to-texture example so that it's easier to check texture orientation. alteredq 2011-01-14 00:51:26 +01:00
  • 9bc383e1ed Fixed discrepancy between ANGLE and OpenGL when rendering to texture. alteredq 2011-01-13 22:10:38 +01:00
  • cee7205670 Added simple render-to-texture example. alteredq 2011-01-13 17:04:36 +01:00
  • b511fdc38b Merged szimek's render-to-texture branch. alteredq 2011-01-13 15:27:08 +01:00
  • 0f5652390f Added dynamic geometry support also for WebGL lines. Changed line strip example to use Hilbert curves. alteredq 2011-01-13 14:12:18 +01:00
  • 15407b01e7 Merge remote branch 'remotes/upstream/master' alteredq 2011-01-12 01:00:26 +01:00
  • fe6008b616 Added basic support for dynamic geometry in WebGLRenderer (with silly ocean example). alteredq 2011-01-12 00:57:04 +01:00
  • 6294caed07 Added render-to-texture feature to WebGL renderer. Szymon Nowak 2011-01-09 20:50:35 +01:00
  • 6963a57963 Merge branch 'master' of https://github.com/mrdoob/three.js oosmoxiecode 2011-01-09 21:50:52 +01:00
  • bf0c1a7a55 Uvs are messed up in this one, so it´s probably a good idea to fix that first ;) oosmoxiecode 2011-01-09 21:43:52 +01:00
  • 6759a5da11 /src/extras/primitives -> Torus.js + Torusknot.js oosmoxiecode 2011-01-09 21:32:31 +01:00
  • 3f05143a2a test oosmoxiecode 2011-01-09 21:25:13 +01:00
  • 868cab1e98 Very basic example for RTT feature. Szymon Nowak 2011-01-09 20:53:56 +01:00
  • 1d706dd789 Basic support for RTT. Szymon Nowak 2011-01-09 20:50:35 +01:00
  • d313693509 Merge remote branch 'alteredq/master' Mr.doob 2011-01-09 11:52:33 +00:00
  • 5273e091d1 Merge remote branch 'remotes/upstream/master' alteredq 2011-01-09 07:38:22 +01:00
  • 6fc34c9693 OK, replaced transformVector3 function with Matrix4.muliplyVector astrodud 2011-01-08 22:37:21 -08:00
  • bc9cf2be75 Fixed scene check bug in allocateLights in WebGLRenderer. alteredq 2011-01-09 07:37:20 +01:00
  • cd252fa3c2 forgot to add transformVector3 function (used by LatheObject.js) astrodud 2011-01-08 21:41:27 -08:00
  • d5a2122598 Merge remote branch 'alteredq/master' Mr.doob 2011-01-09 02:47:06 +00:00
  • 5153379a5b Merge remote branch 'astrodud/master' Mr.doob 2011-01-09 02:46:56 +00:00
  • e43de3dcf7 Refactored lines handling in WebGLRenderer to use the same internal machinery as meshes. alteredq 2011-01-08 17:33:55 +01:00
  • ea9492b882 added LathedObject which creates a geometry by rotating a set of Vertices around the z axis. UV mapping is supported. See http://astrodud.isgreat.org/asteroids for an example. astrodud 2011-01-07 21:46:45 -08:00
  • 2c2b9b81bf Optimized line strip example. alteredq 2011-01-08 05:27:35 +01:00
  • bbe2a3bf56 Refactored handling of continuous lines: now they are rendered using LINE_STRIP primitive. Added example for this. alteredq 2011-01-08 01:15:01 +01:00
  • f90bc532c4 Fixed stats widget appearance issues that appeared with recent Chrome updates. alteredq 2011-01-06 23:25:43 +01:00
  • ef9bdf6b77 Small WebGLRenderer optimization: skip setting of uniforms which don't exist in shader program. alteredq 2011-01-06 02:57:05 +01:00
  • a783870b61 Refactored OBJ converter demo not to have separate materials per each sphere. alteredq 2011-01-06 02:23:27 +01:00
  • 3b9d05563f close style tag Alex Schworer 2011-01-05 16:50:05 -08:00
  • 99bbc4880b Fixed bug in shader demo. alteredq 2011-01-04 08:05:28 +01:00
  • fb63495caf How to use 2d shaders as procedural animated textures. alteredq 2011-01-04 07:42:17 +01:00
  • 8ea0f27602 Refactored lines grid in materials_gl example. alteredq 2011-01-04 05:14:10 +01:00
  • 92c0c8c42f Merge remote branch 'remotes/upstream/master' alteredq 2011-01-04 04:52:53 +01:00
  • 548c331519 Added crude lines support to WebGLRenderer. alteredq 2011-01-04 04:38:25 +01:00
  • 1a96d32bd9 Added divideSelf to Vector3. Mr.doob 2011-01-03 19:42:47 +00:00
  • 1bf91db7b9 Refactored Loader so that models can have mixed faces with and without texture coordinates. alteredq 2011-01-03 18:34:35 +01:00
  • a8416bc8c1 Fixed implied globals in WebGLRenderer lights rgb init. alteredq 2011-01-02 21:01:01 +01:00
  • 771674d705 Refactored Loader parameters to allow optional separate paths for texture and binary files. alteredq 2011-01-02 19:52:40 +01:00
  • c186b37be3 Pushed revision to 32. Updated README. r32 Mr.doob 2010-12-31 17:59:11 +00:00
  • a964d27b72 Wrong repository =_= Mr.doob 2010-12-31 04:44:06 +00:00
  • f8e223258b testing... (data seems to be broken?) Mr.doob 2010-12-31 04:43:18 +00:00
  • ab360240dc Refactored common uniforms out from basic / lambert / phong shaders into UniformsLib. alteredq 2010-12-31 03:19:47 +01:00
  • ecad27eb11 Moved MeshPhongMaterial onto common shader builder machinery, ubershader is no more. alteredq 2010-12-31 00:33:39 +01:00
  • 8ed9a9c403 Fixed shader demo to work with Firefox. alteredq 2010-12-30 01:11:47 +01:00
  • ae60091a58 Small refactoring in WebGLRenderer. alteredq 2010-12-30 00:55:54 +01:00
  • dad635b64c Merged mrdoob's changes. alteredq 2010-12-30 00:18:31 +01:00
  • 9b755e827f Added "v2" uniform type to WebGLRenderer. Added a shader demo (as in using only 2 triangles). Mr.doob 2010-12-29 23:09:59 +00:00
  • 06a977384d Synced with mrdoob's branch. alteredq 2010-12-30 00:01:06 +01:00
  • 6cfcdd1501 Moved MeshPhongMaterial out of ubershader. alteredq 2010-12-29 23:42:13 +01:00
  • 5c8a089669 Fixed implied globals and added few missing semicolons Szymon Nowak 2010-12-29 17:32:03 +01:00
  • 05dbe81dfa Merge remote branch 'alteredq/master' Mr.doob 2010-12-29 03:25:37 +00:00
  • 041054283a Messing with a new terrain generator demo. Mr.doob 2010-12-29 03:22:30 +00:00
  • 3cabd11849 Moved MeshBasicMaterial out of ubershader. alteredq 2010-12-28 21:50:57 +01:00
  • 0fe464c97a Refactored uniforms cloning into separate file so that it can be reused also for MeshShaderMaterials. alteredq 2010-12-28 17:11:50 +01:00