Package org.jdesktop.mtgame

Examples of org.jdesktop.mtgame.RenderManager.supportsOpenGL20()


        // Issue 1114: make sure the system is telling the truth about what
        // it supports by trying a mock shader program
        boolean uniformsPass = shaderPass && ShaderTest.getInstance().testShaders();

        logger.warning("Checking avatar detail level.  OpenGL20: " +
                       rm.supportsOpenGL20() + " ShaderCheck: " + shaderPass +
                       " UniformsCheck: " + uniformsPass);

        // OWL issue #110 -- ignore the value of supportsOpenGL20() here. This
        // is known to report false negatives on at least one graphics card.
        // Our shader test should do an adequate job determining whether a
View Full Code Here


        // graphics card supports the OpenGL 2.0 features we use.
       
        // Update: fixed version of supportsOpenGL20 should properly detect
        // version.
       
        return rm.supportsOpenGL20() && shaderPass && uniformsPass;
    }

    /**
     * Returns the name tag node, creating it if it does not exist. There is a
     * single name tag node attached to the avatar Cell.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.