On Nov 20, 6:01 pm, "Tristam MacDonald" <[EMAIL PROTECTED]> wrote:
> For your lasso tool, you probably need to render an arbitrary mask texture
> into the stencil buffer, and I don't know offhand if this is possible.
All I need to do is render a single-color polygon, and the example I
posted does just that. The method you suggest requires me to render to
an image and then do stuff to the image, which sounds about as fast as
drawing a polygon to the stencil buffer every frame.

However, the masking code looks useful. I may use it for something
else.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to