iNode = new ImposterNode("model imposter", 10, 512, 512);
int tSize = 256; if (display.getHeight() > 512) tSize = 512; iNode = new ImposterNode("model imposter", 10, tSize, tSize);
  protected void initGame() {    scene = new Node("3D Scene Node");    root = new Node("Root Scene Node");    root.attachChild(scene);    fakeScene = new Node("Fake node");    model = new Md2Model("Dr Freak");    model.load(TestImposterNode.class.getClassLoader().getResource("jmetest/"+FILE_NAME));    model.getAnimationController().setSpeed(10);    model.getAnimationController().setRepeatType(Controller.RT_WRAP);    fakeScene.attachChild(model);    // Setup our params for the depth buffer    ZBufferState buf = display.getRenderer().getZBufferState();    buf.setEnabled(true);    buf.setFunction(ZBufferState.CF_LEQUAL);    scene.setRenderState(buf);    fakeScene.setRenderState(buf);    TextureState ts = display.getRenderer().getTextureState();    ts.setEnabled(true);    ts.setTexture(            TextureManager.loadTexture(                TestImposterNode.class.getClassLoader().getResource("jmetest/"+TEXTURE_NAME),                    Texture.MM_LINEAR,                    Texture.FM_LINEAR,                    true));    fakeScene.setRenderState(ts);    iNode = new ImposterNode("model imposter", 10, 512, 512);    iNode.attachChild(fakeScene);    iNode.setCameraDistance(100);    iNode.setRedrawRate(.05f); // .05 = update texture 20 times a second on average    BillboardNode bnode = new BillboardNode("imposter bbnode");    bnode.setType(BillboardNode.SCREEN_ALIGNED);    bnode.attachChild(iNode);    scene.attachChild(bnode);    cam.update();    scene.updateGeometricState(0.0f, true);  }