g frames
            threeLayer._needsUpdate = !threeLayer._needsUpdate;
            if (threeLayer._needsUpdate && !threeLayer.isRendering()) {
                threeLayer.redraw();
            }
            stats.update();
            requestAnimationFrame(animation);

        }

        function initGui() {
            var params = {
                baseLayer: baseLayer.isVisible(),
                add: true,
                color: 0x00ffff,
                show: true,
                opacity: 1,
        