bImage, true, true);
bImage, true, false );
    private void createOffScreenBuffer(int width, int height) {        computePhysicalDimensions();        //        this.canvas.setDoubleBufferEnable( false );        java.awt.image.BufferedImage bImage = new java.awt.image.BufferedImage(width,                height, java.awt.image.BufferedImage.TYPE_INT_ARGB);        javax.media.j3d.ImageComponent2D image = new javax.media.j3d.ImageComponent2D(javax.media.j3d.ImageComponent2D.FORMAT_RGBA8,                bImage, true, true);        image.setCapability(image.ALLOW_IMAGE_READ);        image.setCapability(image.ALLOW_IMAGE_WRITE);        this.canvas.stopRenderer();        // offscreenrendering might occur even if the renderer is stopped. For that reason, i'm waiting for an hypothetical offscreen render to finish before setting offscreen rendering.        // Otherwise, rendering will stop with an exception.        this.canvas.waitForOffScreenRendering();        this.canvas.setOffScreenBuffer(image);        this.canvas.startRenderer();    }