Rendering tiles too slow

hi i tried to render 64x64 tiles and i only get 27 fps. Isn’t that too low ? What am i doing wrong ?



[java]import com.jme3.app.SimpleApplication;

import com.jme3.material.Material;

import com.jme3.math.ColorRGBA;

import com.jme3.math.Vector3f;

import com.jme3.scene.Geometry;

import com.jme3.scene.shape.Box;

import com.jme3.scene.shape.Quad;



public class RenderTiles extends SimpleApplication

{

public static void main(String[] args)

{

new RenderTiles().start();

}



@Override

public void simpleInitApp()

{

renderFloor(64,64);

}



public void renderFloor(int fx,int fy)

{

for (int x = 0; x < fx; x++)

{

for (int y = 0; y < fy; y++)

{

Quad tile = new Quad(1, 1);

Geometry geom = new Geometry(“Tile(”+x+","+y+")", tile);

Material mat = new Material(assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);

mat.setColor(“Color”, ColorRGBA.White);

geom.setMaterial(mat);

rootNode.attachChild(geom);

}

}

}

}[/java]

sigh https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:intermediate:optimization

Please dont make a box world out of boxes, will you? ^^

thank you, i am still a beginner in jme and havent yet gone to intermediate tutorials!!! With this new techniques i am sure i will manage to make it fast.

it is now running with 4199 fps !!!