May be you need a glColor4f(1,1,1,1) after the last primitive you drew.

----- Original Message ----- 
From: "Jeff Hester" <[EMAIL PROTECTED]>
To: "pyglet-users" <[email protected]>
Sent: Wednesday, February 13, 2008 2:38 PM
Subject: Discussion on 2d-drawing-primitives-module


>
> This is great!  Thanks for sharing.  I'm running into a issue
> (probably a bug in my brain).  I'm trying to display an image (based
> on the excellent image_display.py that's included with pyglet.)  From
> my code I'm just importing from primitives.py and trying to draw
> objects on top of the image.  I'm using default objects from the
> "main" area of primitives.py.  When I blit my background image with
> the objects to the screen it is always tinted the same color as the
> last primitive I drew and makes the whole window that color.  I know
> there is something simple I'm missing.  Can someone please steer me on
> the right path?  Thank you greatly.
> >
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.4/1275 - Release Date: 
> 12/02/2008 15:20
>
> 


--~--~---------~--~----~------------~-------~--~----~
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