Results 1 to 3 of 3

Thread: GL_QUADS function

  1. #1
    Join Date
    Apr 2008
    Posts
    45

    GL_QUADS function

    Good evening to all of you;

    I'm really confused GL_QUADS function , Can anyone make me understand the GL_QUADS function ? Please help me. Thanks in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: GL_QUADS function

    GL_QUADS are really useful for many things like many billboarded distant objects , particle systems etc, its also useful for drawing. It also allows to avoid the GL_QUADS allows us to avoid redundant index array .

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: GL_QUADS function

    When you call the function glBegin with GL_QUADS as an argument you gives openGL all the coordinates in here should be combined in quads. OpenGL will automatically combine the first 4 to one quad, the second 4 to the second quad and so on. Another argument is GL_TRIANGLES. This works the same way but it combines 3 coordinates you send to a triangle instead.

Similar Threads

  1. c++ equivalent function to the c-function 'sprintf
    By Dilbert in forum Software Development
    Replies: 6
    Last Post: 13-12-2011, 04:03 PM
  2. c# function equivalent to gettime function in javascript
    By Omaar in forum Software Development
    Replies: 4
    Last Post: 10-03-2010, 10:44 PM
  3. Replies: 5
    Last Post: 27-02-2010, 07:52 PM
  4. How does abstract function differs from virtual function?
    By Maddox G in forum Software Development
    Replies: 5
    Last Post: 29-01-2010, 11:32 AM
  5. Function keys don't function under windows XP
    By GunFighter in forum Hardware Peripherals
    Replies: 3
    Last Post: 08-04-2009, 11:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,719,379.26197 seconds with 17 queries