Hey,
I just started learning OpenGL. I have a problem understanding the coordinate system.

glVertex2d(1,2);

Now obviously, the coordinates aren't in pixels. The problem is I want to mark pixels on my windows and I can't figure how to do this. How big is one unit? I tried searching the net, but nothing really cleared my doubt.

Thanks.

PS:I'm taking a graphics course and my teacher insists.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.