> Hi there
>
> I have been set a task that requires me to draw a grid using c
> to create some open gl graphics. i have never used opengl before
> and despite studying countless examples on the net i still cant
> get my head around what i need to do!
> The grid needs to have 2 cells across, 3 cells down.
> Any help would be much appreciated.
>
> my mail is plumpdeejay at yahoo dot co dot uk.
>
> Thanks
You'll be using glVertexf() and glBegin(GL_LINE_STRIP) inside a few for loops (one for the one set of parallel lines and another to make the perpendicular set). I learned on NEHE's tutorials, goto
http://nehe.gamedev.net and use their base code on the platform of your choice.
-Luke