Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: need help with draw straight line and dotline

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2005
    Location
    earth
    Posts
    11

    need help with draw straight line and dotline

    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
    Just a beginner

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2005
    Posts
    6

    Re: need help with draw straight line and dotline

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •