I'm making something similar to Minecraft Classic.
I already got terrain generator , but frame rate is very low !

I already optimized it , that's it's drawing only quads which can be visible.
I'm using glBegin(GL\_QUADS) and glEnd() but only once, and a lot of glVertex3fv. I'm starting to learning this, so I don't want to use VBO etc. So what I can do ?

PS. I'm not using textures.

edit
====

Picture
img580.imageshack.us/img580/5547/fpsx.jpg

edit 2
======

In fact my pseudo optimization don't do anything at all ...

img143.imageshack.us/img143/9163/fps5.jpg

That's when everything is drawn , only 3 fps worse ... That's not good ...

But look there's much more glVertex... calls (almost 47 times more) but frame rate is similar , so maybe that's not a problem , so where is it ?

edit 3
======

Also I will add information that there isn't any fps limit :

img339.imageshack.us/img339/4111/fps6.jpg

it's probably all
=================

Anyway, thanks for help. Now I'm going to learn how to use VBO (wish me good luck). After changing from Debug to Release there was small (or even not so small) improvement (over 100 fps - before 18). But it was only for 3x3 chunks (48x48 blocks), now when I increased it to 5x5 chunks (80x80 blocks) it's again 30-40 fps ...

<http://img90.imageshack.us/img90/2321/fps7.jpg>

Again thanks for help. Probably I will keep asking with VBO :)