KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I try to use the following code to draw a square-shaped pixel with opengl glPointSize(5.0f); glBegin(GL_POINTS); glVertex3f(1.0f, 1.0f, 1.0f); glEnd(); However, the final result is a circle-shaped pixel. Please take a look the reference http://risknfun.com/compform/w1.html See the "Problem 4. A Grid". On the right side, the display image has square-shaped pixel.
Tags (comma-separated)
Save Edits
Cancel