PDA

View Full Version : need help with draw straight line and dotline



openglnovice
09-28-2005, 04:12 PM
Hello everyone..I'm kind of newbie in this forum and thia openGL I really need help u guys or some walkthrough would be great..

since I'm a novice..I 'really want to know how to draw straight line and dot line using opengGL...

then I want to incorporate it with the button..
is it possbile...?

really need help u guys expertise outside there..

thanks in advanced

diwic
09-29-2005, 04:44 AM
Have you tried http://nehe.gamedev.net ? There are nice tutorials there. As for making lines dotted, glLineStipple and glEnable(GL_LINE_STIPPLE) are the calls you should make.

// David