Best GL object for rendering multiple objects

    Jul 28 2014 | 9:52 pm
    Hi everybody, I have 3 questions:
    What is the best GL object for rendering multiple objects a la boids?, I'm thinking of having at least 5 instances of this same object rendering each a group of 10-20 voids.
    Also, what would be the most economical shape for rendering these boids? I suppose "point" would be the most economical, but it's a shame it won't allow me to use a texture on it, or am I wrong? It looks like it will accept only one pixel from a texture object.
    And finally, how can I make these boids leave a trail on their path, like a comet? Right now I'm just using the alpha of the color property of the object, but this isn't very sophisticated because the trail is not smooth and it affects the whole group, including, etc.

    • Jul 30 2014 | 4:25 pm, poly~, javascript
      for trails, you either do it in 2D screen-space (the erase_color method), or you need to create your own system that duplicates the geometry for the trail and fades and scales as the trail disappears. not simple but certainly possible.
    • Aug 22 2014 | 4:34 pm
      Hope this gets you started