1. 17 7月, 2015 2 次提交
  2. 11 11月, 2014 1 次提交
  3. 26 11月, 2012 3 次提交
  4. 22 11月, 2012 1 次提交
  5. 26 6月, 2012 1 次提交
  6. 11 12月, 2011 1 次提交
  7. 02 9月, 2011 1 次提交
  8. 29 8月, 2011 1 次提交
  9. 03 8月, 2011 1 次提交
    • A
      Added DataTexture, for creating textures out of raw data. · 01bebe5c
      alteredq 提交于
      DataTexture can be used in the same places like image / video based Texture (WebGLRenderer-only).
      
      To be used like this:
      
      var width = 64, height = 64, bytes = 3;
      var data = new Uint8Array( width * height * bytes );
      
      // fill data array with values 0 .. 255
      
      var texture = DataTexture( data, width, height, THREE.RGBFormat );
      texture.needsUpdate = true;
      
      For the moment only UNSIGNED_BYTE type is supported.
      01bebe5c