OpenGL example programms

I just started with programming in OpenGL and I’m
looking for example programms with the following geometrical features: circle, rectangle, ball, cube, block, cone, cylinder etc. Where can I find such example programms? Thanks for your support.

Ulrich

I have a some examples using these shapes on my website. www.angelfire.com/linux/nexusone

Also nehe.gamedev.net

Also is not a cube and a block the same thing?

A ball is called a sphere in 3D terms.

Originally posted by Ulrich:
[b]I just started with programming in OpenGL and I’m
looking for example programms with the following geometrical features: circle, rectangle, ball, cube, block, cone, cylinder etc. Where can I find such example programms? Thanks for your support.

Ulrich[/b]

Maybe with ‘block’ you meant a cube with different lengths for each axis?

In that case you can simply use glScalef(lengthx,lengthy,lengthz) before the call to the cube routine.

Greetz,
Nico