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: Wireframe

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    Grays, Essex, England
    Posts
    26

    Wireframe

    Is there a simple command to make an object render as wireframe instead of filled?

    Thanks
    Rottbott

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2001
    Posts
    9

    Re: Wireframe

    glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) should do it.
    use glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) to go back.

    [This message has been edited by stim (edited 06-25-2001).]

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2001
    Location
    Grays, Essex, England
    Posts
    26

    Re: Wireframe

    Thanks a lot
    Rottbott

Posting Permissions

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