Have you taken a look at Nehe's tutorials? if you're coming from the 2d world take a look at http://freepascal-meets-sdl.net/ and their 8th lesson since it covers 3d and opengl with opengl.