Commit Graph

  • 064138d826 Updated more examples. Got AnaglyphWebGLRenderer and CrosseyedWebGLRenderer working. alteredq 2011-10-05 03:25:02 +02:00
  • db81e45255 Updated builds. Renamed subdivision example with webgl prefix. alteredq 2011-10-05 00:48:01 +02:00
  • 1f7bc4e31d Made PathControls work. alteredq 2011-10-05 00:38:43 +02:00
  • 7fa0d7b887 Fixed bad vertex magic number zz85 2011-10-05 06:25:42 +08:00
  • 4b7c468e15 Made TrackballControls work. Fixed more examples. alteredq 2011-10-04 23:50:05 +02:00
  • ef29a8e352 Made FlyControls and RollControls work. Fixed more examples. alteredq 2011-10-04 22:57:43 +02:00
  • c07919529e Made FirstPersonControls work. Fixed more examples to work with the new camera system. alteredq 2011-10-04 21:10:20 +02:00
  • ab944fda0a Handles subdivision of vertex colors by averaging vertex colors zz85 2011-10-05 01:38:19 +08:00
  • 195a0b31ae Quick fix for boundary cases in Subdivision. Updated example zz85 2011-10-05 00:39:38 +08:00
  • 98629744d3 option to honor old vertex colors with subdivisionModifier.useOldVertexColors = true zz85 2011-10-04 23:16:22 +08:00
  • f8df307438 Removed THREE.SubdivisionGeometry. A tiny bit of cleanup zz85 2011-10-04 22:46:34 +08:00
  • a88848ab1d Added THREE.SubdivisionModifier. Removed THREE.GeometryUtils.createSubdivision() zz85 2011-10-04 22:25:52 +08:00
  • a6eb8106a2 merged mrdoob/dev zz85 2011-10-04 21:25:44 +08:00
  • dd6114b7f2 Moved createSubdivision() to THREE.GeometryUtils zz85 2011-10-04 17:46:45 +08:00
  • c1e9cb77ea Fix CubeGeometry faces inversion. Maël Nison 2011-10-04 11:18:05 +02:00
  • 71565b4b5a Updated GUI. Mr.doob 2011-10-04 06:27:37 +02:00
  • 309c484321 Updated some examples to the new camera setup. Got stuck on the PathCamera/PathControls one. Maybe it's time to rewrite this... Mr.doob 2011-10-04 05:24:56 +02:00
  • a0b8f50fb0 Renamed scene.center to scene.origin as per @pyrotechnick suggestion. Mr.doob 2011-10-04 03:07:07 +02:00
  • a336a5c124 Added deprecated warning to old cameras. Mr.doob 2011-10-04 02:30:22 +02:00
  • df64ff921f extras/cameras/*Cameras > extras/controls/*Controls This will take a while to make work again... probably needs some cleaning and refactoring... Mr.doob 2011-10-04 02:18:15 +02:00
  • 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. Mr.doob 2011-10-04 01:30:00 +02:00
  • 896448c06d Looking for the right pattern for the camera.lookAt() use. Mr.doob 2011-10-04 01:23:14 +02:00
  • 5d96f15b39 Started doing Camera changes. * Camera is now a base object. PerspectiveCamera should be used instead. Figured out a way to show a warning when misused. * OrthoCamera is now OrthographicCamera. * Removed target from Camera. Mr.doob 2011-10-04 01:07:24 +02:00
  • 69da8d2e1f Merge remote-tracking branch 'Knectar/dev' into dev Mr.doob 2011-10-03 23:31:41 +02:00
  • 5ef31d7fe8 Remove Sphere class. Give radius to octahedron. Daniel 2011-10-03 11:12:37 +01:00
  • 8fdf8df2e4 SubdivisionGeometry now uses parent's geometry colors and materials (and UVs). but what do we do with vertexColors? zz85 2011-10-03 10:33:08 +08:00
  • b4332d6a24 added more generic geometry creation functions in canvas_geometry_subdivison.html zz85 2011-10-03 07:18:55 +08:00
  • dad2146d79 Include new Sphere class in build. Daniel 2011-10-02 22:33:07 +01:00
  • 2d4ea9cedd New Sphere class that uses a subdivided octahedron geometry. Daniel 2011-10-02 22:28:36 +01:00
  • 705f6967c0 Fixed GUI. Mr.doob 2011-10-02 19:33:56 +02:00
  • 17b4ab614d "Fixed" scene test examples. alteredq 2011-10-02 16:33:36 +02:00
  • a60595b3f7 Removed edges handling from asset pipeline (Blender exporter, OBJ converter, JSONLoader). alteredq 2011-10-02 16:13:44 +02:00
  • 0e4a103872 Fixed CubeCamera. Added forgotten HTML for dynamic cube maps cars example. alteredq 2011-10-02 13:20:55 +02:00
  • cdd5a20de2 Switched to hashmap implementation for mergeVertices() zz85 2011-10-02 18:54:18 +08:00
  • 01e2781826 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-10-02 12:37:27 +02:00
  • 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. Mr.doob 2011-10-02 06:33:32 +02:00
  • 1f61a03593 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-10-02 00:43:30 +02:00
  • f26eed4b1e Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-10-02 00:09:37 +02:00
  • 25d6480cf6 Fixed yet more examples. Mr.doob 2011-10-02 00:08:40 +02:00
  • 36ae04418c Fixed yet some more examples. Removed QuakeCamera. Mr.doob 2011-10-01 23:38:26 +02:00
  • 99713c72ae Fixed some more examples. Mr.doob 2011-10-01 23:27:54 +02:00
  • 0e44dd6722 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-10-01 23:18:25 +02:00
  • e63d5bae2b Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-10-01 23:17:48 +02:00
  • 32355db859 I hate that github now forces you to write a title for a commit :| Removed _gl.clear call from WebGLRenderer's .setSize(). Mr.doob 2011-10-01 23:00:24 +02:00
  • 7700feb538 WebGLRenderer .autoClear* Implemented .autoClearColor .autoClearDepth .autoClearStencil as per @alteredq's suggestion at #587. Mr.doob 2011-10-01 22:46:56 +02:00
  • b87bfc71c8 Bunch of changes... * Camera.useTarget is now false by default. Updated some of the examples. I tried to remove target altogether (and use lookAt every frame), but I found that WebGLRenderer's ShadowMaps uses a camera with target. Will try again at some point. * Object3D.lookAt now checks if it's a Camera and does the inverted view. * Quaternion glitch reported at #595 * Added .name to Material * WebGLRenderer .clear() to .clear( color, depth, stencil ). All of them true by default. Mr.doob 2011-10-01 22:36:05 +02:00
  • 4f73052bc0 Updated builds. alteredq 2011-10-01 22:35:56 +02:00
  • ab704afe0e this.mergeVertices(); zz85 2011-10-02 01:55:28 +08:00
  • b5f4b24204 moved computeEdgeFaces() from Geometry to SubdivisionGeometry zz85 2011-10-01 16:58:09 +08:00
  • 8ead1b1a91 Fixed mergeVertices(). Moved from CubeGeometry to Geometry. Now checkDupVertices(true) removes duplicated vertices zz85 2011-10-01 16:47:53 +08:00
  • 56113d0a18 Merge remote-tracking branch 'NINE78/dev' into dev Mr.doob 2011-09-30 20:32:05 +02:00
  • 0f9c3f44ee Merge remote-tracking branch 'upstream/dev' zz85 2011-09-30 22:04:16 +08:00
  • 5c51b8fce2 Tested with Torus. Disabled UVs. zz85 2011-09-30 22:03:40 +08:00
  • 00b01e88b3 Added cars demo. alteredq 2011-09-30 00:51:45 +02:00
  • 32e4a556ca Added CubeCamera (for rendering cube maps). alteredq 2011-09-30 00:20:22 +02:00
  • 61a407f37b Updated Curve.js, Updated builds zz85 2011-09-30 01:52:20 +08:00
  • c2e0d05ec6 Playing around with UVs zz85 2011-09-30 01:26:08 +08:00
  • 8edfa99583 Rename SubdivisonGeometry.js to SubdivisionGeometry.js. Fix geometries which use duplicate vertices. SubdivisionGeometry tested with Cube/Sphere/Cylinder/TextGeometry zz85 2011-09-29 17:15:41 +08:00
  • 721d5bb5ba Added FXAA to color lines example. alteredq 2011-09-29 02:15:21 +02:00
  • e0a29097cd Added FXAA shader (thanks to @supereggbert) and SavePass. alteredq 2011-09-28 23:02:28 +02:00
  • 670ebf6139 Fixed SubdivsionGeometry points. Added class, update builds zz85 2011-09-29 04:38:56 +08:00
  • c311a71932 Added "lower level" immediate rendering functionality. The existing mechanism requires modification of the WebGLRenderer for different objects. The new implementation leaves the current MarchingCubes immediate renderer intact but checks for existence of a immediateRenderCallback member function of the object. If found, that object is added to the scene.__webglObjectsImmediate array. The program, webgl context, and frustum are currently passed into the callback, putting al rendering responsibility at the implementing object. This may break the Three.js abstraction somewhat, but allows "power users" to do some funky webgl stuff while still relying on the Three.js framework for the rest of the scene... Nik Van den Wijngaert 2011-09-28 22:23:11 +02:00
  • ea634d0ff1 initial subdivision geometry - needs debuggin and more testings zz85 2011-09-29 04:04:27 +08:00
  • 3e8c66f6e1 fixed Geometry.js so computeEdgeFaces() writes face indices to edges zz85 2011-09-28 17:20:37 +08:00
  • f43d6a3cd1 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-09-26 21:40:51 +02:00
  • d275bee331 Optimized attributes updates. alteredq 2011-09-26 21:36:21 +02:00
  • d376e7ae3b Updated builds. Mr.doob 2011-09-26 17:34:38 +01:00
  • 1e0bff03c3 Merge remote-tracking branch 'alteredq/dev' into dev Mr.doob 2011-09-26 17:23:50 +01:00
  • ba75a48a2b Optimized uniforms updates. alteredq 2011-09-26 15:55:05 +02:00
  • 92f406bbcc fixed: in-frame adding and removing same objects from scene leads to missing objects Ivo Benner 2011-09-26 14:23:39 +02:00
  • 4d34149ab1 Optimized iteration over uniforms in WebGLRenderer. alteredq 2011-09-26 04:45:37 +02:00
  • db78ffe003 Some more Math.PI instead of magic numbers. alteredq 2011-09-25 20:19:08 +02:00
  • 7e937ebe69 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-09-25 18:55:32 +02:00
  • 9e39966076 Added ability to disable render passes to EffectComposer. Added simple blend shader to ShaderExtras. alteredq 2011-09-25 18:54:30 +02:00
  • 10e42ba87a Merge remote-tracking branch 'Pitel/patch-1' into dev Mr.doob 2011-09-25 13:41:51 +01:00
  • bc7002b00d ColladaLoader: Removed commented code. Mr.doob 2011-09-25 13:40:54 +01:00
  • a734cc34e7 Math.PI instead of 3.14 Bc. Jan Kaláb 2011-09-25 14:33:00 +03:00
  • 0076362b75 Updated builds. Mr.doob 2011-09-24 14:12:53 -07:00
  • dd31b37211 Merge remote-tracking branch 'pyrotechnick/dev' into dev Mr.doob 2011-09-24 13:44:28 -07:00
  • 00b8d0613c Skipping invisible sprites. alteredq 2011-09-24 19:38:07 +02:00
  • 84a7c304a6 Fixed specular lighting also in normal map shader. alteredq 2011-09-24 11:51:12 +02:00
  • 8bd87ff444 Rewritten lighting shaders. alteredq 2011-09-24 10:45:57 +02:00
  • 692d1edea6 Revert "Optimising THREE.ExtrudeGeometry::addShape" Nicholas Kinsey 2011-09-24 16:07:32 +10:00
  • ce2e019e2d Optimising array operations in webgl_lines_*.html Nicholas Kinsey 2011-09-24 15:48:55 +10:00
  • c36a538104 Optimising THREE.Path::splineThru Nicholas Kinsey 2011-09-24 15:46:00 +10:00
  • 4b144ff31b Optimising THREE.Shape.Utils.removeHoles Nicholas Kinsey 2011-09-24 15:45:39 +10:00
  • 40161dda38 Optimising THREE.TextPath::toShapes Nicholas Kinsey 2011-09-24 15:45:12 +10:00
  • 73f8a71bbd Optimising THREE.CollisionSystem::merge Nicholas Kinsey 2011-09-24 15:42:07 +10:00
  • 285b51a1c1 Optimising THREE.ExtrudeGeometry::addShape Nicholas Kinsey 2011-09-24 15:40:47 +10:00
  • cb4a7b20f5 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev alteredq 2011-09-24 02:40:40 +02:00
  • bbdef72e69 Added simple tilt-shift effect to ShaderExtras. alteredq 2011-09-24 02:40:14 +02:00
  • f13189b6e4 Refactored WebGLShaders a bit. Mr.doob 2011-09-23 16:44:34 -07:00
  • 671b5079bb WebGLRenderer: MeshPhongMaterial was overriding the alpha chanel of textures. Mr.doob 2011-09-23 16:33:57 -07:00
  • 9441e74abc Implemented @pyrotechnick's array concat replacement. Mr.doob 2011-09-23 13:31:19 -07:00
  • c25b39cc63 Maya Collada expoter used "name" instead of "Name". Supporting both cases now. Mr.doob 2011-09-21 16:42:38 -07:00
  • d7c99de542 Updated builds. Mr.doob 2011-09-21 13:40:11 -07:00
  • 05b28798ea Merge remote-tracking branch 'alteredq/dev' into dev Mr.doob 2011-09-21 13:33:12 -07:00
  • 7602900cd0 VertexColors support on ColladaLoader (now for real). Mr.doob 2011-09-21 13:32:19 -07:00
  • fd0fb85c8e Fixed specular light vs black texture bug in Phong shader. alteredq 2011-09-21 20:47:57 +02:00
  • 84b0f89ad4 Removed shaders that aren't used anymore. alteredq 2011-09-21 06:00:29 +02:00