true);
ts.getMaxAnisotropic(), true, true);
  protected void simpleInitGame() {    display.setTitle("Anisotropic Demo - off - press 'f' to switch");    KeyBindingManager.getKeyBindingManager().set("aniso", KeyInput.KEY_F);    cam.setLocation(new Vector3f(0,10,100));    cam.update();    q = new Quad("Quad", 200, 200);    q.setModelBound(new BoundingSphere());    q.updateModelBound();    q.setLocalRotation(new Quaternion(new float[] {90*FastMath.DEG_TO_RAD,0,0}));    q.setLightCombineMode(LightState.OFF);    q.setTextureCoord(0,0,new Vector2f(0,5));    q.setTextureCoord(0,1,new Vector2f(0,0));    q.setTextureCoord(0,2,new Vector2f(5,0));    q.setTextureCoord(0,3,new Vector2f(5,5));    q.updateTextureBuffer(0);    rootNode.attachChild(q);    ts = display.getRenderer().createTextureState();    ts.setEnabled(true);    regTexture =        TextureManager.loadTexture(        TestBoxColor.class.getClassLoader().getResource(        "jmetest/data/texture/dirt.jpg"),        Texture.MM_LINEAR_LINEAR,        Texture.FM_LINEAR,        true);    regTexture.setWrap(Texture.WM_WRAP_S_WRAP_T);    anisoTexture =        TextureManager.loadTexture(        TestBoxColor.class.getClassLoader().getResource(        "jmetest/data/texture/dirt.jpg"),        Texture.MM_LINEAR_LINEAR,        Texture.FM_LINEAR,        true);    anisoTexture.setWrap(Texture.WM_WRAP_S_WRAP_T);    anisoTexture.setAnisoLevel(ts.getMaxAnisotropic());    ts.setTexture(regTexture);    rootNode.setRenderState(ts);    lightState.setTwoSidedLighting(true);  }