1. 31 5月, 2011 1 次提交
  2. 11 4月, 2011 1 次提交
  3. 06 3月, 2011 2 次提交
  4. 05 3月, 2011 2 次提交
  5. 28 2月, 2011 1 次提交
  6. 26 2月, 2011 1 次提交
  7. 18 2月, 2011 1 次提交
    • A
      A lot of bugfixing and refactoring. · 2ecbe2de
      alteredq 提交于
      - getters/setters are no more in Vector3
        - object hierarchies thus don't use "isDirty"
        - this was completely killing performance for anything that was touching a lot of Vector3 like creation of meshes and dynamic buffers
        - even without this, performance of hierarchies went up (a lot)
      
      - objects do not get passed renderer anymore
        - camera was almost also removed, but this is useful for LOD (though there may be some cleaner way to do this?)
      
      - material ids are now unified, this makes "geometry.sortFacesByMaterial" faster (thus scene init / GUI blocking is shorter)
      
      - all WebGL examples should work now (render-to-texture has weird lights and in some camera control feels different)
      
      - CanvasRender still broken, despite many efforts :(
         - currently only points and lines work, faces don't show up. I think this may need assistance from mrdoob.
      2ecbe2de
  8. 17 2月, 2011 2 次提交
  9. 04 1月, 2011 1 次提交
  10. 02 12月, 2010 1 次提交
  11. 26 11月, 2010 1 次提交
  12. 06 10月, 2010 1 次提交
    • M
      * Added `PointLight` · 647b4a57
      Mr.doob 提交于
      * `CanvasRenderer` and `SVGRenderer` basic lighting support (`*ColorStroke`/`*ColorFill` only)
      * `Renderer` > `Projector`. `CanvasRenderer`, `SVGRenderer` and `DOMRenderer` do not extend anymore
      * Interactivity base code (hdi folder). To be refactored... ([mindlapse](http://github.com/mindlapse))
      * Added `computeCentroids` method to `Geometry`
      * Included `Stats.js` directly in the `/examples` folder to avoid the need of internet for playing around
      647b4a57
  13. 30 9月, 2010 1 次提交
  14. 27 9月, 2010 1 次提交
  15. 21 8月, 2010 1 次提交
  16. 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
  17. 14 7月, 2010 2 次提交
    • M
      - Clean up · 8e5c8deb
      Mr.doob 提交于
      8e5c8deb
    • P
      Core performance improvements through shared props · 2b0ea54a
      philogb 提交于
      Old Vector and Matrix constructor functions would create all methods and
      make assignments with each call. A lot of speed-ups can be made by using
      shared properties through the prototype chain. Since methods and
      initialized properties are shared among all instances they're only
      created once.
      
      Some tests can be seen at examples/performance-test.html
      
      Some results:
      
          Chrome
      
          //6.4 times faster
          performance-test.html:25 Vector2 x 5000000: 213ms
          performance-test.html:30 Vector2Orig x 5000000: 1366ms
      
          //8.3 times faster
          performance-test.html:37 Vector3 x 5000000: 241ms
          performance-test.html:42 Vector3Orig x 5000000: 2015ms
      
          //3.8 times faster
          performance-test.html:49 Vector4 x 5000000: 278ms
          performance-test.html:54 Vector4Orig x 5000000: 1059ms
      
          //7.5 times faster
          performance-test.html:61 Matrix4 x 5000000: 937ms
          performance-test.html:66 Matrix4Orig x 5000000: 7004ms
      
          Firefox
      
          //6.8 times faster
          Vector2 x 50000: 45ms
          Vector2Orig x 50000: 307ms
      
          //11.5 times faster
          Vector3 x 50000: 48ms
          Vector3Orig x 50000: 550ms
      
          //3.8 times faster
          Vector4 x 50000: 61ms
          Vector4Orig x 50000: 234ms
      
          //9.4 times faster
          Matrix4 x 50000: 199ms
          Matrix4Orig x 50000: 1878ms
      
      where "Orig" are old versions of the objects.
      
      Running these tests multiple times can yeild different results due to
      browser cache. However the results are always kind of similar in terms
      of speedup.
      2b0ea54a
  18. 23 6月, 2010 2 次提交
  19. 20 6月, 2010 1 次提交
  20. 07 6月, 2010 1 次提交
  21. 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
  22. 17 5月, 2010 2 次提交
  23. 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
  24. 01 5月, 2010 2 次提交
  25. 24 4月, 2010 1 次提交