PDA

View Full Version : Point Sprite example



zaphod
03-10-2006, 12:46 PM
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.

Nikolai Timofeev
03-12-2006, 11:20 PM
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!

CrazyButcher
03-13-2006, 12:30 AM
http://www.delphi3d.net/listfiles.php?category=8

Poons
03-13-2006, 04:03 AM
You can also find sample code here:
http://www.codesampler.com/oglsrc/oglsrc_6.htm
http://www.ploksoftware.org/ExNihilo/pages/tutorial.htm

zaphod
03-13-2006, 07:06 AM
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.

zaphod
03-13-2006, 09:52 AM
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.

shelll
03-14-2006, 09:01 AM
point sprites are also culled away if the vertex is not in view frustum, which is bad.