 
         @render_scene true
 
-
     animate: (opts = {}) ->
         opts = defaults opts,
             fps       : undefined

                c = z[1]
                z[0].scale.set s*c, s*c, s*c


math3d.render_3d_scene = (opts) ->
    opts = defaults opts,
        scene   : required   # {opts:?, obj:?} or url from which to download (via ajax) a JSON string that parses to {opts:?,obj:?}
        element : required    # DOM element
        cb      : undefined   # cb(err, scene object)
    # Render a 3-d scene
    #console.log("render_3d_scene: url='#{opts.url}'")

    scene_obj = undefined
    async.series([
        (cb) ->
            switch typeof(opts.scene)
                when 'string'
                    $.ajax(

        # get the best-possible THREE.js renderer (once and for all)
        # based on Detector.js's webgl detection
        try
            if @WebGLRenderingContext
                canvas = document.createElement 'canvas'
                if canvas.getContext('webgl') or canvas.getContext('experimental-webgl')
                    dynamic_renderer_type = 'webgl'
