I think I'm having the same problem, though I'm using a triangle instead of 
a quad. The following should be a complete triangle, but is instead missing 
its top and left corners:

<https://lh6.googleusercontent.com/-Bivj4DPVIjc/UXE7c961mhI/AAAAAAAAAB0/4Ku3zGeWiEg/s1600/flawed_plane.png>
In the above image, I'm using glInterleavedArrays via a modified 
"obj_test.py" (https://github.com/greenmoss/pyglet_obj_test; it's a 
slightly-modified copy from the pyglet examples directory).

I haven't found the answer to this problem yet. I was going to try building 
"up" from basic documentation, but that's not working either (I posted to 
pyglet-users<https://groups.google.com/forum/?hl=en&fromgroups=#!topic/pyglet-users/KkKcD-FWiag>
 about 
this problem a week ago).

On Thursday, April 18, 2013 10:25:52 PM UTC-4, John wrote:
>
> Hi Sebastian,
>
> Thank you for your response. I still have not determined the error cause, 
> but I will try to post some code shortly. 
>
> On Sunday, April 7, 2013 2:51:30 PM UTC-4, John wrote:
>>
>>
>>
>> Hi All,
>>
>> I'm having a little trouble texturing a simple quad in pyglet. I do have 
>> experience with OpenGL, but I can't figure out what I'm forgetting here. 
>> For the quad, I specificy tex coords of 0, 0, 1, 0, 1, 1, 0, 1 
>> respectively, however the texture does not stretch across the entire quad 
>> face.
>>
>> Ex:
>>
>>
>> <https://lh4.googleusercontent.com/-2DrsFAb6S5U/UWG_Qktc7kI/AAAAAAAABCk/ZYbofv8V848/s1600/Tex.jpg>
>>
>> The background is white, and the quad is textured with the Lake picture. 
>> The black area is part of the quad, but is not covered by the image. I have 
>> only specified the 4 corners, I am using GL_QUADS through a pyglet vertex 
>> list, and the texture coords are as mentioned. Any ideas why this is 
>> showing this way?
>>
>> Thanks!
>>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to