@Override
    public boolean initVRCompositor(boolean allowed) {
        hmdErrorStore.put(0, VR.EVRInitError_VRInitError_None); // clear the error store
        if( allowed) {
            long result = VR.VR_GetGenericInterface(VR.IVRCompositor_Version, hmdErrorStore);
            if (result > 0){
                if(hmdErrorStore.get(0) == VR.EVRInitError_VRInitError_None){
                    setTrackingSpace(environment.isSeatedExperience() );
                    logger.config("OpenVR Compositor initialized");
                } else {
                    logger.severe("OpenVR Compositor error: " + hmdErrorStore.get(0));
                }
            } else {
                logger.log(Level.SEVERE, "Cannot get generic interface for \""+VR.IVRCompositor_Version+"\", "+VR.VR_GetVRInitErrorAsEnglishDescription(hmdErrorStore.get(0))+" ("+hmdErrorStore.get(0)+")");
            }
        }
        return true;
    }
Create a new <a href="https://github.com/ValveSoftware/openvr/wiki/API-Documentation">OpenVR</a> system
attached to the given {@link VREnvironment VR environment}.
@param environment the VR environment to which this API is attached.
jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java