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: Calculating triangles.

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2003
    Posts
    11

    Calculating triangles.

    A perhaps silly question, but how
    do I take a L shaped lineloop of which I know all vertex coordinates and
    calculate how my triangles must be draw?

    I'm making an editor and when drawing an irregular shape and use the vertex coordinates
    as vertices for GL_POLYGON, it uses GL_TRIANGLE_FAN or something like that and that makes my shape look really ugly.

    If you want to download the editor ile-0.0.2.tar.gz

    It has a complete ''manual'' just check it out. If you compile it on a windows box, please send a copy to red15_nh@hotmail.com

    Thanks a lot.

    Edit: Sorry, now link works.

    [This message has been edited by Red15 (edited 01-07-2003).]

    [This message has been edited by Red15 (edited 01-07-2003).]
    -- PIPE GREP MORE --

  2. #2
    Member Regular Contributor
    Join Date
    Nov 2002
    Location
    USA
    Posts
    254

    Re: Calculating triangles.

    The link is here

    ile-0.0.2.tar.gz

    Copy the shortcut and paste it into your address bar.

    - VC6-OGL

    [This message has been edited by VC6-OGL (edited 01-07-2003).]

Posting Permissions

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