1. 13 11月, 2010 4 次提交
  2. 12 11月, 2010 4 次提交
  3. 06 11月, 2010 1 次提交
  4. 28 10月, 2010 1 次提交
    • A
      Added Blinn-Phong material for WebGLRenderer. · b6904f3d
      alteredq 提交于
      In Chrome it looks more or less ok, but it has some problem in Firefox 4 (with some camera angles there are black areas around edges).
      
      Also updated Python builder scripts and examples to include this new material.
      b6904f3d
  5. 27 10月, 2010 1 次提交
    • M
      * MeshBitmapUVMappingMaterial -> MeshBitmapMaterial. Second param is mode,... · 7464f5ff
      Mr.doob 提交于
      * MeshBitmapUVMappingMaterial -> MeshBitmapMaterial. Second param is mode, which is THREE.MeshBitmapMaterialMode.UVMAPPING by default.
      * Removed MeshFaceColorFillMaterial and MeshFaceColorStrokeMaterial
      * Added MeshFaceMaterial ( it uses the face.material for that pass )
      * CanvasRenderer and SVGRenderer per face material logic changed.
      * SVGRenderer supports particles again.
      * WebGLRenderer currently broken :/
      * Code clean up
      7464f5ff
  6. 21 10月, 2010 1 次提交
    • A
      Extended CanvasRenderer to be able to handle decals... · dde831bf
      alteredq 提交于
      Extended CanvasRenderer to be able to handle decals (MeshBitmapUVMappingMaterials as secondary materials).
      
      For decals you need to set "decalIndex" property of the material (corresponding to materials index of the original mesh UV material).
      
      Added multimaterials example.
      
      Fixed forgotten sphere smoothing in OBJ converter example.
      dde831bf
  7. 18 10月, 2010 1 次提交
    • U
      Added OBJ -> Three.js converter. · 60c23544
      unknown 提交于
      Added OBJ converter test example.
      
      Modified Three.js to handle converted models:
      
       - extended WebGL renderer to use texturing
         - broke down model into multiple VBOs according to materials
         - textures are lazy created when images get loaded
           (converter takes care of resizing images to nearest power of 2
            dimensions using 2d canvas)
      
       - changed material array semantics in Mesh object
          - before: multiple materials were applied to all faces (broken in WebGL, needs multitexturing shader)
          - now: there is only single material per face, but one mesh can have faces with different materials
      
       - added per vertex normals (to get smooth shading in WebGL)
      60c23544
  8. 21 9月, 2010 1 次提交
  9. 17 9月, 2010 1 次提交
  10. 03 9月, 2010 1 次提交
  11. 22 7月, 2010 1 次提交
  12. 17 7月, 2010 1 次提交
    • M
      * Refactored `CanvasRenderer` (more duplicated code, but easier to handle) · 8f543db1
      Mr.doob 提交于
      * `Face4` now supports `MeshBitmapUVMappingMaterial`
      * Changed order of `*StrokeMaterial` parameters. Now it's `color`, `opacity`, `lineWidth`.
      * `BitmapUVMappingMaterial` > `MeshBitmapUVMappingMaterial`
      * `ColorFillMaterial` > `MeshColorFillMaterial`
      * `ColorStrokeMaterial` > `MeshColorStrokeMaterial`
      * `FaceColorFillMaterial` > `MeshFaceColorFillMaterial`
      * `FaceColorStrokeMaterial` > `MeshFaceColorStrokeMaterial`
      * `ColorStrokeMaterial` > `LineColorMaterial`
      * `Rectangle.instersects` returned false with rectangles with 0px witdh or height
      8f543db1
  13. 12 7月, 2010 1 次提交
  14. 20 6月, 2010 1 次提交
  15. 11 6月, 2010 1 次提交
  16. 10 6月, 2010 1 次提交
  17. 08 6月, 2010 1 次提交
  18. 07 6月, 2010 1 次提交
  19. 06 6月, 2010 1 次提交
    • M
      + Added Line Object · e98397cb
      Mr.doob 提交于
      + Workaround for WebKit not supporting rgba() in SVG yet
      + Aesthetic changes on the readme file
      e98397cb
  20. 16 5月, 2010 2 次提交
    • M
      Credit where credit is due. · 2a334e08
      Mr.doob 提交于
      2a334e08
    • M
      Removed Class.js dependency · a6e98d7e
      Mr.doob 提交于
      Added THREE namespace
      Camera.x -> Camera.position.x
      Camera.target.x -> Camera.target.position.x
      ColorMaterial -> ColorFillMaterial
      FaceColorMaterial -> FaceColorFillMaterial
      Materials are now multipass (use array)
      Added ColorStrokeMaterial and FaceColorStrokeMaterial
      geometry.faces.a are now indexes instead of links 
      a6e98d7e
  21. 25 4月, 2010 1 次提交
  22. 24 4月, 2010 1 次提交