smokeNode.updateGeometricState(0, true);
  protected void simpleInitGame() {    cam.setLocation(new Vector3f(0.0f, 50.0f, 100.0f));    cam.update();    smokeNode = new Node("Smoker Node");    smokeNode.setLocalTranslation(new Vector3f(0, 50, -50));    smokeNode.updateGeometricState(0, true);    // Setup the input controller and timer    input = new NodeHandler(this, smokeNode, "LWJGL");    input.setKeySpeed(10f);    input.setMouseSpeed(1f);    display.setTitle("Rigid Smoke box");    // hijack the camera model for our own purposes    Node camBox;    MilkToJme converter=new MilkToJme();    URL MSFile=TestMilkJmeWrite.class.getClassLoader().getResource(    "jmetest/data/model/msascii/camera.ms3d");    ByteArrayOutputStream BO=new ByteArrayOutputStream();    try {        converter.convert(MSFile.openStream(),BO);    } catch (IOException e) {        System.out.println("IO problem writting the file!!!");        System.out.println(e.getMessage());        System.exit(0);    }    JmeBinaryReader jbr=new JmeBinaryReader();    URL TEXdir=TestMilkJmeWrite.class.getClassLoader().getResource(            "jmetest/data/model/msascii/");    jbr.setProperty("texurl",TEXdir);    camBox=null;    try {    	camBox=jbr.loadBinaryFormat(new ByteArrayInputStream(BO.toByteArray()));    } catch (IOException e) {        System.out.println("darn exceptions:" + e.getMessage());    }    camBox.setLocalScale(5f);    smokeNode.attachChild(camBox);    rootNode.attachChild(smokeNode);    AlphaState as1 = display.getRenderer().createAlphaState();    as1.setBlendEnabled(true);    as1.setSrcFunction(AlphaState.SB_SRC_ALPHA);    as1.setDstFunction(AlphaState.DB_ONE);    as1.setTestEnabled(true);    as1.setTestFunction(AlphaState.TF_GREATER);    as1.setEnabled(true);    TextureState ts = display.getRenderer().createTextureState();    ts.setTexture(        TextureManager.loadTexture(        TestRigidSmoker.class.getClassLoader().getResource(        "jmetest/data/texture/flaresmall.jpg"),        Texture.MM_LINEAR_LINEAR,        Texture.FM_LINEAR));    ts.setEnabled(true);    ParticleManager manager = new ParticleManager(300, display.getRenderer().getCamera());    manager.setGravityForce(new Vector3f(0.0f, 0.0f, 0.0f));    manager.setEmissionDirection(new Vector3f(0f, 0f, 1f));    manager.setEmissionMaximumAngle(0.0f);    manager.setSpeed(2.0f);    manager.setParticlesMinimumLifeTime(75.0f);    manager.setStartSize(1.6f);    manager.setEndSize(8.0f);    manager.setStartColor(new ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f));    manager.setEndColor(new ColorRGBA(0.6f, 0.2f, 0.0f, 0.0f));    manager.setRandomMod(3.5f);    manager.setInitialVelocity(0.57f);    manager.warmUp(60);    manager.getParticles().addController(manager);    ZBufferState zbuf = display.getRenderer().createZBufferState();    zbuf.setWritable(false);    zbuf.setEnabled(true);    zbuf.setFunction(ZBufferState.CF_LEQUAL);    manager.getParticles().setLocalTranslation(new Vector3f(0,3.75f,11f)); // this places the emitter in the "tail pipe"    manager.getParticles().setRenderState(ts);    manager.getParticles().setRenderState(as1);    manager.getParticles().setRenderState(zbuf);    smokeNode.attachChild(manager.getParticles());  }