1. 28 1月, 2014 1 次提交
  2. 31 5月, 2013 1 次提交
  3. 19 5月, 2013 1 次提交
  4. 18 5月, 2013 1 次提交
    • A
      added outliner for multiple asset types · 0e9c555e
      Aleksandar Rodic 提交于
      added editor class and few methods
      
      removed uuid
      
      Implemented more methods
      
      editor refactoring
      
      editor refactoring
      
      editor api improvements
      
      finished editor API
      
      hooked up editor to UI as an argument
      0e9c555e
  5. 25 10月, 2012 2 次提交
    • A
      Editor: added fog to scene export. · ff27cf7f
      alteredq 提交于
      ff27cf7f
    • A
      Editor: added handling of fog to "World" section. · 021837a0
      alteredq 提交于
      Not sure if helpers should be fogged or not. It does look pretty weird when they are not fogged. Also having helpers fogged helps to get a sense of the fog effect over larger space.
      
      Maybe there could be a checkbox for enabling this, to be able to see things if they need to be modified while in the fog.
      
      Also found and fixed a bug deep in WebGLRenderer, where shaders were not recompiled when changing fog types because fog type wasn't taken into account when creating shader code hash. Phew, that was a tough one to figure out. This Editor thingie really forces us to dust all nooks and cranies of the codebase ;)
      021837a0
  6. 15 8月, 2012 1 次提交
  7. 06 10月, 2011 1 次提交
  8. 11 9月, 2011 1 次提交
    • A
      Fixed bug preventing setting 0 values in constructor at several places. · 517f0f55
      alteredq 提交于
      This buggy pattern ("something = parameter || nonzero value") exists at more places though elsewhere setting to zero doesn't make that much sense (e.g. in geometries).
      
      Not sure if we should change it everywhere to proper pattern ("something = ( parameter !== undefined ) ? parameter : value").
      
      Maybe it would be good for establishing habit. I remember fixing this buggy pattern long ago but it just keeps popping up.
      517f0f55
  9. 25 12月, 2010 1 次提交
  10. 21 12月, 2010 3 次提交
    • M
      Added Fog to WebGLRenderer2. · b7c78635
      Mr.doob 提交于
      b7c78635
    • A
      First attempt at fog ;) · 76a56f2f
      alteredq 提交于
      For the moment, it works just on Basic / Lambert / Phong materials.
      
      Fog must be added to the scene before initialization of WebGLRenderer and scene must be passed to WebGLRenderer constructor (like for lights).
      
      I don't know yet how to solve properly MeshShaderMaterial & co :(
      76a56f2f
    • M
      Starting to prepare stuff for adding Fog. Having Fog.js inside /scenes doesn't... · 17c1349d
      Mr.doob 提交于
      Starting to prepare stuff for adding Fog. Having Fog.js inside /scenes doesn't sound right, but I guess it can be there for now...
      The idea would be to do `scene.fog = new THREE.Fog( color, near, far );` This way seems consistent with the rest of the API. By default `scene.fog` is `null`.
      17c1349d