Results 1 to 3 of 3

Thread: Two simple questions, answer please.

  1. #1

    Two simple questions, answer please.

    Hi, I'm playing with a kind of particle system thingy... and have a few questions:

    1. What is the fastest way of drawing thousands of *small* triangles (about pixel size or a little bigger). Display lists ? Or just straight glBegin(GL_TRIANGLES) stuff ?

    2. Is there "billboarding" in OpenGL ??

    Thanks in advance,

    // Andru

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Two simple questions, answer please.

    1. Display list are faster then using a bunch of glbegin/glend's, but if the triangle is the size of a pixel, you are not going to be able to tell it is a triangle.
    Then make a display list of points instead.

    2. Yes you can do billboarding in opengl. Billboarding is not a function, but a style of drawing objects to reduce polygon count.

    Originally posted by Andru:
    Hi, I'm playing with a kind of particle system thingy... and have a few questions:

    1. What is the fastest way of drawing thousands of *small* triangles (about pixel size or a little bigger). Display lists ? Or just straight glBegin(GL_TRIANGLES) stuff ?

    2. Is there "billboarding" in OpenGL ??

    Thanks in advance,

    // Andru


    [This message has been edited by nexusone (edited 08-26-2002).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jun 2000
    Location
    FRANCE
    Posts
    147

    Re: Two simple questions, answer please.

    1. display list but if data may change (like position or vertex color) use vertex array (CVA, VAR, etc ...)

    2. yes check this http://www.lighthouse3d.com/opengl/billboarding/

    Arath

Similar Threads

  1. need a quick answer of my very simple question
    By Asif sajjad in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-12-2011, 03:57 AM
  2. simple X questions
    By saian in forum OpenGL: Linux
    Replies: 5
    Last Post: 10-16-2002, 08:11 AM
  3. Linker Error.. Simple answer, please help me!!!
    By JLawson in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-25-2001, 10:52 AM
  4. some simple questions
    By newmannium in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-22-2001, 11:14 AM
  5. several questions, maybe you could answer some
    By Starnut coder in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-21-2001, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean