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 3 of 3

Thread: draw with opengl

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    2

    draw with opengl

    how are you draw semicircle bei defining starpoint and endpoint or just a simple one

  2. #2
    Advanced Member Frequent Contributor plasmonster's Avatar
    Join Date
    Mar 2004
    Posts
    739

    Re: draw with opengl

    Vivi,

    this is one of those questions that seems easy to answer... at first. Questions: Is this in 2D or 3D? Does the winding order matter (cw or ccw)? Do the end points define the complete semi-circle?

    In any case, there are quite a few steps involved in solving this one.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    990

    Re: draw with opengl

    You might want to take a look at the GLU specification. You can find it at
    http://www.opengl.org/documentation/...glu/glu1_3.pdf

    It provides a simple implementation for drawing semi circles using gluPartialDisk.

Posting Permissions

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