I've now discovered glPointParameter with GL_POINT_DISTANCE_ATTENUATION 
what does the trick for me as I just wanted to change the PointSize 
dependent on the distance to the camera. Unfortunately, this procedure 
seems to affect the performance much more than drawing points with a fixed 
size.

Am Mittwoch, 12. Juni 2013 21:33:33 UTC+2 schrieb Sebastian Schlegel:
>
> I didn't find a way to use lepton for my project so I hacked together some 
> simple particle engine 
> (screenshot<https://plus.google.com/photos/100650131067590951056/albums/5888668283641488209>)
>  
> with pyglet only. I use point sprites for that and I wonder if there is any 
> way to change the point size per vertex list. Currently the point size is 
> set by the group so I cannot change it dynamically. I'm afraid my 
> understanding of pyglet is not deep enough at this point.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to