title: Three.js stop render process
body: <p>I have to load a big obj file, with computers that do not support WebGL load becomes too slow, so I have to upload a light object before and after the complete object. 
  To do this I need to stop the rendering process when I rotate the view while it is still processing the complete object. Is there any function that solve that problem?Thanks!</p>
  
  <p>my code:</p>
  
  <pre><code>    var renderWire = function () {
          renderer.render(wireScene, camera);
          render();
      };
      var render = function () {
          renderer.render(scene, camera);
      };
  
      $(document).ready(function() {
          $(document).keypress(function(event) {
              switch(event.keyCode) {
                  case 100: //destra
                      //rotation
                      break;
                  case 97: //sinistra
                      //rotation
                      break;
                  default:
                      //not set
                      break
              }
  
              //here i have to stop render if running and start a new render
  
              renderWire();
          });
      });
  </code></pre>