PDA

View Full Version : line



xinpel
01-10-2005, 04:13 AM
I'm a beginner in computer graphic. i'm doing bresenham line algorithm assignment. but the output i get is a "jiggle" line. how can i show it as a proper line after user input coordinates?change pixel size?how? :confused:

dvm
01-10-2005, 04:38 AM
Can you be a bit more specific? I can't understand your question. Maybe you should turn antialiasing on. I little search on google returned this (http://www.opengl.org/resources/tutorials/advanced/advanced97/programs/line.c)