need to create terrain

i am having problem creating a terrain…
i have hieght values… but dun kno how to use em to make smooth continous terrain…
i used GL_TRIANGLES but it gave a pointed picture…
is there any way through which i can draw smooth mountains cliffs etc…

i m guessin bezier n NURBS have solution for me but i again don kno how to use control points to make surface…
pls help.

It depends how complex you want to get, and what your ultimate aim is.
Your question is really very general.

I would strongly suggest you take a look at a site like The Virtual Terrain Project.
http://vterrain.org

The subject of how to make terrains is something which you could most likely spend your entire GL career on, and indeed some people do…

i strtd using glmap2f for my project and is referrin super bible…

from its example i was able to draw small grid of 3 control points…usin ctrlpoint[3][3][3]
but by changing this to ctrlpoints[4][3][3] or ctrl[3][4][3] or something i don kno how to make change in glmap2f.
(specifically in its u n v values)

pls help with this

Thanks for the PM, but I’ve generally got enough bugs and problems of my own to keep me going all day long, so I can’t really just jump in and help out on other people’s projects…

I really think you need to go and do some reading and perhaps choose an easier subject to cut your teeth on…

Perhaps try looking at some stuff like this…
http://www.codeproject.com/KB/openGL/OPENGLTG.aspx

Try using a tutorial web site like HeNE which has planety of starter tutorials on OpenGL. You can’t run before you can walk…and game programming in OpenGL is no different.

http://nehe.gamedev.net

Try lesson #34 - heightmap terrains as a basic intro.