- 15 9月, 2012 15 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 WestLangley 提交于
-
由 WestLangley 提交于
-
由 Jono Brandel 提交于
-
由 Jono Brandel 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Jono Brandel 提交于
-
- 14 9月, 2012 5 次提交
- 13 9月, 2012 1 次提交
-
-
由 Jono Brandel 提交于
-
- 12 9月, 2012 7 次提交
- 11 9月, 2012 12 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
This was making mess for non-square textures.
-
由 alteredq 提交于
-
由 alteredq 提交于
Doing this in multiple steps not to confuse git.
-
由 Mr.doob 提交于
-
由 alteredq 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
This also adds compressed textures support to UTF8v2Loader. Now with UTF8 + BufferGeometry + DDS we should have quite efficient and GPU friendly asset pipeline. One possible improvement would be using Rich Geldreich's Crunch compression instead of raw DDS for having smaller texture file sizes while downloading: http://code.google.com/p/crunch/ TODO: there seem to be some bug somewhere in our compressed texture pipeline (or in Chrome). I tried Ben's textures converted to DDS and I got boatload of GL warnings :S
-
由 alteredq 提交于
Added support for compressed textures to Loader base class. Added compressed textures to JSON loader example. Also moved "startsWith" and "trim" string shims from OBJMTLLoader into Three.js file and added "endsWith" string shim. Downside of using compressed textures is that texture.flipY parameter doesn't work, so either textures or UVs need to be flipped somewhere else in the asset pipeline. This is because WebGL doesn't have access to the content of compressed textures (similar to how automatic mipmaps generation doesn't work with compressed textures, so mipmaps need to be baked in DDS). See discussion on WebGL mailing list here: https://www.khronos.org/webgl/public-mailing-list/archives/1209/msg00024.html For the JSON loader OBJ example I just flipped images in Gimp (other option would be to keep images intact and flip UVs in the application after loading geometry).
-