1. 31 7月, 2014 1 次提交
    • E
      Demos with ground planes have consistent up · 57afcdaf
      Eric Haines 提交于
      Give the demos with ground planes of some sort a consistent "up"
      direction for the camera, instead of having rotation be able to change
      this. Simple change: Trackball to OrbitControls.
      57afcdaf
  2. 26 11月, 2012 1 次提交
  3. 02 11月, 2012 1 次提交
    • A
      Changed MeshPhongMaterial perPixel parameter default to true. · ae79c901
      alteredq 提交于
      This makes it safer to compile shaders without maxLights cap. Only per vertex phong code path is sensitive to available number of varyings (together with shadow maps, but you would need to be pretty crazy to have enough shadowed lights to hit varying limits).
      
      Also like this phong material behaves more as expected for large polygons.
      
      Performance wise, for many use cases and systems it's actually similar or even faster.
      ae79c901
  4. 29 10月, 2012 2 次提交
  5. 18 10月, 2012 1 次提交
  6. 04 10月, 2012 1 次提交
  7. 03 10月, 2012 1 次提交
  8. 02 10月, 2012 1 次提交
  9. 15 8月, 2012 1 次提交
  10. 04 8月, 2012 3 次提交
  11. 28 3月, 2012 1 次提交
  12. 14 2月, 2012 2 次提交
    • M
      Reverted TrackballControls changes. · a48864b4
      Mr.doob 提交于
      Is as it was before, but I implemented the event dispatching in a different way (checking the distance of the object position between frames). Also renamed the 'update' event to 'change'.
      
      controls.addEventListener( 'change', render );
      
      Right now only misc_camera_trackball.html uses this.
      a48864b4
    • A
      Brought back old TrackballControls. Sorry @mrdoob :/ · 503f08fa
      alteredq 提交于
      At least till we don't have this solved somehow better I think we should keep the old one. New one makes everything using it feeling broken, it's distracting.
      
      Moved new event-driven `TrackballControls` into `TrackballControlsExperimental`. For the moment used just in "misc_camera_trackball.html" example.
      503f08fa
  13. 13 2月, 2012 1 次提交
    • M
      Added EventTarget to TrackballControls. Fixes #1189. · 72065046
      Mr.doob 提交于
      Now we can do things like this:
      
      controls = new THREE.TrackballControls( camera );
      controls.addEventListener( 'update', render );
      
      Sadly, some examples are slightly broken until we have better pipeline for assets load complete event dispatching.
      72065046
  14. 06 2月, 2012 1 次提交