lightNode.setForceView(true);
lightNode.setCullMode(Spatial.CULL_NEVER);
  protected void simpleInitGame() {    display.setTitle("Bezier Mesh Test");    cam.setLocation(new Vector3f(0, 0, 5));    cam.update();    currentPos = new Vector3f();    newPos = new Vector3f();    BezierPatch bp = new BezierPatch();    bp.setAnchor(0, 0, new Vector3f( -0.75f, -0.75f, -0.5f));    bp.setAnchor(0, 1, new Vector3f( -0.25f, -0.75f, 0.0f));    bp.setAnchor(0, 2, new Vector3f(0.25f, -0.75f, 0.5f));    bp.setAnchor(0, 3, new Vector3f(0.75f, -0.75f, 0.5f));    bp.setAnchor(1, 0, new Vector3f( -0.75f, -0.25f, -0.75f));    bp.setAnchor(1, 1, new Vector3f( -0.25f, -0.25f, 0.5f));    bp.setAnchor(1, 2, new Vector3f(0.25f, -0.25f, 0.5f));    bp.setAnchor(1, 3, new Vector3f(0.75f, -0.25f, 0.75f));    bp.setAnchor(2, 0, new Vector3f( -0.75f, 0.25f, -0.5f));    bp.setAnchor(2, 1, new Vector3f( -0.25f, 0.25f, -0.5f));    bp.setAnchor(2, 2, new Vector3f(0.25f, 0.25f, -0.5f));    bp.setAnchor(2, 3, new Vector3f(0.75f, 0.25f, 0.0f));    bp.setAnchor(3, 0, new Vector3f( -0.75f, 0.75f, -0.5f));    bp.setAnchor(3, 1, new Vector3f( -0.25f, 0.75f, -1.0f));    bp.setAnchor(3, 2, new Vector3f(0.25f, 0.75f, -1.0f));    bp.setAnchor(3, 3, new Vector3f(0.75f, 0.75f, -0.5f));    bp.setDetailLevel(64);    bez = new BezierMesh("Bezier Mesh");    bez.setPatch(bp);    Quaternion rot = new Quaternion();    rot.fromAngleAxis(FastMath.PI, new Vector3f(0,0,1));    bez.setLocalRotation(rot);    bez.setModelBound(new BoundingSphere());    bez.updateModelBound();    rootNode.attachChild(bez);    MaterialState ms = display.getRenderer().createMaterialState();    ms.setEmissive(new ColorRGBA(0.1f, 0.1f, 0.1f, 1.0f));//    ms.setAmbient(new ColorRGBA(0.5f, 0.5f, 0.5f, 1.0f));//    ms.setDiffuse(new ColorRGBA(1.0f, 0.85f, 0.75f, 1.0f));//    ms.setSpecular(new ColorRGBA(0.8f, 0.8f, 0.8f, 1.0f));    ms.setShininess(128.0f);    ms.setEnabled(true);    bez.setRenderState(ms);    pl = new PointLight();    pl.setAmbient(new ColorRGBA(0, 0, 0, 1));    pl.setDiffuse(new ColorRGBA(1, 1, 1, 1));    pl.setSpecular(new ColorRGBA(.2f, .2f, .2f, 1));    pl.setEnabled(true);    lightState.detachAll();    lightState.setTwoSidedLighting(true);    lightNode = new LightNode("Light Node", lightState);    lightNode.setLight(pl);    lightNode.setTarget(bez);    Vector3f min = new Vector3f( -0.15f, -0.15f, -0.15f);    Vector3f max = new Vector3f(0.15f, 0.15f, 0.15f);    Box lightBox = new Box("box", min, max);    lightBox.setLightCombineMode(LightState.OFF);    lightBox.setModelBound(new BoundingSphere());    lightBox.updateModelBound();    lightNode.attachChild(lightBox);    lightNode.setForceView(true);    rootNode.attachChild(lightNode);    TextureState ts = display.getRenderer().createTextureState();    ts.setEnabled(true);    ts.setTexture(        TextureManager.loadTexture(        TestBezierMesh.class.getClassLoader().getResource(        "jmetest/data/images/Monkey.jpg"),        Texture.MM_LINEAR,        Texture.FM_LINEAR));    bez.setRenderState(ts);  }