Point Sprite example

Hi, does anyone have a working point sprite example/demo?

I have looked at the red book. It mentioned a listing for sprite.c (example 15-1), but it seems that the code was incomplete. I was hoping for a complete listing.

Point sprite is cool.
But using it for particles system -
not best thing. You can’t simple rotate it
( only manipulating texture’s coords within
fragment program), you can’t change it shape at all!

http://www.delphi3d.net/listfiles.php?category=8

You can also find sample code here:
http://www.codesampler.com/oglsrc/oglsrc_6.htm
http://www.ploksoftware.org/ExNihilo/pages/tutorial.htm

Thanks guys. I’ll check out the examples.

Nikolai, I agree with you after having reading the extension spec that point sprite is some what limited. However, I figure it should help me get started on learning more about partical system.

Thanks guys. I’ll check out the examples.

Nikolai, I agree with you after having reading the extension spec that point sprite is some what limited. However, I figure it should help me get started on learning more about partical system.

point sprites are also culled away if the vertex is not in view frustum, which is bad.