             @opts.height ?= @opts.width*2/3
 
             @setDynamicRenderer()
-            @init_orbit_controls()
             @init_on_mouseover()
 
             # add a bunch of lights

                addLabel [avg.x, max.y, min.z], "x = #{format avg.x}"
                addLabel [min.x, max.y, min.z], format(min.x)

    updateCamera: ->
        center = @rescale @boundingBox.geometry.boundingBox.center()

        @camera.lookAt center
        @controls.target = center

        @camera.position.set 1.5, 1.5, 0.75
        @camera.position.multiplyScalar(@maxDim).add center

        @camera.far = @maxDim*16
        @camera.near = @minDim/4
        @camera.updateProjectionMatrix()

    animate: (opts = {}) ->
        opts = defaults opts,

            type    : 'png'      # 'png' or 'jpeg' or 'webp' (the best)
            quality : undefined   # 1 is best quality; 0 is worst; only applies for jpeg or webp
        @renderer.domElement.toDataURL "image/#{opts.type}", opts.quality

    init_light: (color= 0xffffff) ->
        ambient = new THREE.AmbientLight(0x404040)
