object.setTexture("jme/data/Plants15.jpg");
object.setTexture("jme/data/texture/Plants15.jpg");
	protected void initGame() {		hm1 = new FaultFractalHeightMap(1025, 64, 0, 255, 0.15f);		hm1.setHeightScale(0.50f);        pt = new ProceduralTexture(hm1);		pt.addTexture(new ImageIcon("jme/data/texture/plants15.jpg"), -128, 0, 128);		pt.addTexture(new ImageIcon("jme/data/texture/plants12.jpg"), 0, 128, 255);		pt.addTexture(new ImageIcon("jme/data/texture/highestTile.png"), 128, 255, 384);		pt.createTexture(128);//		SkyBox sb = new SkyBox(512);//		String[] tex = new String[6];//		tex[0] = "jme/data/Top.jpg";//		tex[1] = "jme/data/Bottom.jpg";//		tex[2] = "jme/data/Right.jpg";//		tex[3] = "jme/data/Left.jpg";//		tex[4] = "jme/data/Front.jpg";//		tex[5] = "jme/data/Back.jpg";//		sb.setTextures(tex);		SkyDome sd = new SkyDome(16,15,15,1,1);		sd.setTexture("jme/data/texture/clouds.png");		sd.setDomeRotation(0.250f);				WaterPlane wp = new WaterPlane(1025 * 2, 45, 0.25f);		wp.setColor(new Vector3f(1.0f, 1.0f, 1.0f));		wp.setTransparency(0.60f);		wp.setTexture("jme/data/texture/water02.jpg");		wp.setWaveSpeed(0.05f);		wp.setTextureAnimation(1.0f, 1.0f);//		WaterMesh wp = new WaterMesh(16,64,2);//		wp.setTexture("jme/data/water02.jpg");//		wp.setBaseHeight(50.0f);//		wp.setWindSpeed(-2);		sl = new SlopeLighting(hm1, 1, -1, 0.1f, 0.9f, 10);		l = new Geomipmap(hm1, 17, camera);		l.setDetailTexture("jme/data/texture/Detail.jpg", 64);		l.setLightMap(sl);		camera.setSky(sd);				e = new Entity(1);		cc = new TestController(camera, e, this);		cc.setHeightMap(hm1);		//MilkshapeModel msmodel = new MilkshapeModel("jme/data/tris.ms3d");		Md3Model msmodel = new Md3Model("jme/data/model/Paladin","Paladin","railgun");		msmodel.setTorsoAnimation("TORSO_STAND");		msmodel.setLegsAnimation("LEGS_IDLE");				msmodel.setScale(new Vector3f(0.15f,0.15f,0.15f));		e.setGeometry(msmodel);		e.setPosition(new Vector3f(1000,hm1.getScaledHeightAtPoint(1000/2,1000/2),1000));		e.setVisibilityType(Entity.VISIBILITY_SPHERE);		camera.setView(e.getPosition());		l.setXScale(2.0f);		l.setZScale(2.0f);		l.setTexture(pt.getImageIcon());		world = new World();		world.addEntity(e);				world.setWater(wp);		world.setLocale(l);		float[] color = { 0.5f, 0.5f, 0.5f, 1.0f };		l.setFogAttributes(			GL.LINEAR,			color,			0.35f,			50.0f,			750.0f);		l.setDistanceFog(true);		l.setVolumetricFog(false);		l.setVolumetricFogDepth(100);		object = new Pyramid(10,30);		object.setColor(0.5f,0.85f,0.5f,0.5f);		object.setTexture("jme/data/Plants15.jpg");        object.useDisplayList(true);        //object = new MilkshapeModel("jme/data/tree.ms3d");				Entity[] elist = new Entity[500];		float x,z;		for(int i = 0;  i < 500; i++) {			elist[i] = new Entity(i+1);			elist[i].setGeometry(object);			elist[i].setVisibilityType(Entity.VISIBILITY_POINT);			do {				x = (float)Math.random() * 1000;				z = (float)Math.random() * 1000;			} while(hm1.getInterpolatedHeight(x/2,z/2) < 75 || hm1.getInterpolatedHeight(x/2,z/2) > 200);			elist[i].setPosition(new Vector3f(x,hm1.getInterpolatedHeight(x/2,z/2)+1,z));			world.addEntity(elist[i]);			elist[i].setVisibilityType(Entity.VISIBILITY_SPHERE);		}								//camera.addChild(e);		world.setCamera(camera);		world.setEntityVisibility(true);		//e.setVisibilityType(Entity.VISIBILITY_SPHERE);							}