1. 22 2月, 2011 1 次提交
  2. 18 2月, 2011 1 次提交
  3. 16 2月, 2011 1 次提交
  4. 15 2月, 2011 4 次提交
  5. 14 2月, 2011 6 次提交
  6. 13 2月, 2011 3 次提交
    • A
      Added centralized message for non-WebGL-compatible browser to majority of examples. · 29cf97ee
      alteredq 提交于
      That was painful; hopefully since now it should be easier to have it in every WebGL example.
      
      It's enough to add one line (ideally as the first thing that gets executed):
      
          if ( ! THREE.Supports.webgl ) THREE.Supports.addGetWebGLMessage();
      
      This will add message box with default styling centered near top of the window. Optional parameters "parent" and "id" can be specified for further customization and integration with the document, also message DOM element is returned for easier access.
      
          var messageElement = THREE.Supports.addGetWebGLMessage( { parent: container, id: "my_message" } );
      
      By default, message is added to document.body and has id "oldie" (can be styled with CSS).
      29cf97ee
    • A
      Fixed broken WebGL support detection. · 8e2f8c8b
      alteredq 提交于
      Created "THREE.Supports" object, which should centralize this stuff. So far it detects <canvas>, WebGL and WebWorkers; later it could detect for example GPU capabilities.
      
      Not sure about name or location, but it's pretty tiring go through all examples when something changes, so it should be somewhere in the library.
      
      Code duplication is bad: even html snippets with error message should be centralized somewhere, so that when new browsers arrive we wouldn't have to keep changing them in many places.
      8e2f8c8b
    • A
      Added glow to lines vertex color example. · 12fb60f1
      alteredq 提交于
      12fb60f1
  7. 12 2月, 2011 11 次提交
  8. 11 2月, 2011 1 次提交
  9. 10 2月, 2011 2 次提交
  10. 09 2月, 2011 1 次提交
  11. 08 2月, 2011 3 次提交
  12. 07 2月, 2011 1 次提交
    • A
      Added MarchingCubes object. · b198531c
      alteredq 提交于
      Very much work-in-progress. Expect things to change.
      
      Also changed film shader to have optional grayscale (controlled via uniform).
      b198531c
  13. 05 2月, 2011 1 次提交
  14. 04 2月, 2011 3 次提交
  15. 03 2月, 2011 1 次提交
    • A
      Added billboard particles (semi-opaque depth sorted). · 8227d9f1
      alteredq 提交于
      Work in progress, caveats:
      
      - sort happens just inside one ParticleSystems, so everything gets messed up when more ParticleSystems are in the same screen space
      - not yet solved proper order of operations, if you change object transform, you need to update ParticleSystem object matrix manually before rendering (so that sort works, otherwise it will use transform from previous frame)
      
      Also fixed transparency in fog and did small optimizations in WebGLRenderer.
      8227d9f1