1. 09 10月, 2011 2 次提交
    • M
      Got CanvasRenderer and SVGRenderer using the new Scene Graph. · 6419bd37
      Mr.doob 提交于
      * The new system allow us to add lights and cameras as children of any object without hacks.
      * The Camera needs to be added to a Scene. If the Camera has no parent it's added to the Scene being renderer automatically.
      * I'll work on implementing this into the WebGLRenderrer tomorrow (gonna be a looong day... ).
      6419bd37
    • M
      Reworking Scene Graph setup. · 1e5fc985
      Mr.doob 提交于
      1e5fc985
  2. 08 10月, 2011 1 次提交
  3. 06 10月, 2011 1 次提交
  4. 05 10月, 2011 5 次提交
  5. 04 9月, 2011 1 次提交
    • M
      Added objec3d.frustumCulled support to Projector (CanvasRenderer/SVGRenderer). · 94b7418f
      Mr.doob 提交于
      `renderers/Projector.js` > `core/Projector.js`
      
      `extras/geometries/Curve.js` > `extras/core/Curve.js`
      `extras/geometries/CurvePath.js` > `extras/core/CurvePath.js`
      `extras/geometries/Path.j`s > `extras/core/Path.js`
      `extras/geometries/Shape.js` > `extras/core/Shape.js`
      `extras/geometries/TextPath.js` > `extras/core/TextPath.js`
      94b7418f
  6. 01 9月, 2011 1 次提交
  7. 29 5月, 2011 1 次提交
  8. 21 4月, 2011 1 次提交
  9. 11 4月, 2011 1 次提交
  10. 21 3月, 2011 7 次提交
  11. 15 3月, 2011 1 次提交
  12. 01 3月, 2011 1 次提交
  13. 26 2月, 2011 3 次提交
  14. 24 2月, 2011 1 次提交
    • A
      Textures are now updateable. · cff95a11
      alteredq 提交于
      That was much tougher than expected. No wonder other WebGL video demos around the web are broken.
      
      Firefox OpenGL / ANGLE and Chrome OpenGL were ok, getting it to work in Chrome ANGLE was rather tricky.
      
      Please report if something got broken. I tried to go through all textured examples but I may have missed something.
      
      If you want to refresh texture on WebGL side, you just set "texture.needsUpdate" flag (if you use Loader or ImageUtils.loadTexture / loadTextureCube everything is taken care of).
      
      Flag has to be set also for canvas-based textures, sorry no escaping this :(. I tried and it lead to ugly problems (e.g. AO minecraft demo mixes several asynchronously loaded and generated images into one texture, with autodetect always something was broken).
      
      "needsUpdate" should work also on cube textures, though it's not tested yet (also there I didn't put hack for Chrome ANGLE).
      cff95a11
  15. 20 2月, 2011 3 次提交
  16. 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
  17. 24 1月, 2011 2 次提交
  18. 20 1月, 2011 1 次提交
  19. 26 12月, 2010 1 次提交
  20. 25 12月, 2010 1 次提交
  21. 21 12月, 2010 2 次提交
  22. 20 12月, 2010 1 次提交
  23. 19 12月, 2010 1 次提交