Package com.ardor3d.framework.lwjgl

Examples of com.ardor3d.framework.lwjgl.LwjglHeadlessCanvas


     */
    public LwjglHeadlessExample() {
        // Setup our headless canvas for rendering.
        // settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 4, false, false); // use this to try MSAA
        settings = new DisplaySettings(800, 600, 0, 0, 0, 16, 0, 0, false, false);
        canvas = new LwjglHeadlessCanvas(settings, this);
        canvas.getRenderer().setBackgroundColor(ColorRGBA.BLACK_NO_ALPHA);

        // Set up an image to show our 3d content in.
        labelImage = new BufferedImage(settings.getWidth(), settings.getHeight(), BufferedImage.TYPE_INT_ARGB);
        tmpData = ((DataBufferInt) labelImage.getRaster().getDataBuffer()).getData();
View Full Code Here

TOP

Related Classes of com.ardor3d.framework.lwjgl.LwjglHeadlessCanvas

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.