1. 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
  2. 17 2月, 2011 2 次提交
  3. 14 2月, 2011 2 次提交
  4. 12 2月, 2011 1 次提交
  5. 24 1月, 2011 2 次提交
  6. 20 1月, 2011 1 次提交
  7. 19 1月, 2011 1 次提交
  8. 18 1月, 2011 8 次提交
  9. 17 1月, 2011 1 次提交
    • A
      Small optimizations to matrix math. · 08f6ceef
      alteredq 提交于
      For the moment just things that are executed every frame in WebGLRenderer.render.
      
      Continuing with quest to minimize creation of new data structures. Should instead create per class/object structures and just reuse them (as gman does in ThreeD). Main goal is to avoid annoying garbage collection pauses.
      
      Let's hope it didn't break something (could be if some code was dependent on cloning of return values of "flatten" or "makeInvert3x3", though from what I checked these are just used to set typed arrays uniforms).
      08f6ceef
  10. 20 12月, 2010 1 次提交
  11. 10 12月, 2010 1 次提交
  12. 09 12月, 2010 1 次提交
  13. 03 12月, 2010 1 次提交
  14. 02 12月, 2010 1 次提交
  15. 01 12月, 2010 1 次提交
  16. 30 11月, 2010 1 次提交
  17. 26 11月, 2010 1 次提交
  18. 15 11月, 2010 1 次提交
  19. 30 10月, 2010 3 次提交
  20. 29 10月, 2010 1 次提交
  21. 24 10月, 2010 1 次提交
  22. 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
  23. 30 9月, 2010 1 次提交
  24. 29 9月, 2010 2 次提交
  25. 21 9月, 2010 1 次提交
  26. 18 9月, 2010 1 次提交
  27. 09 9月, 2010 1 次提交