[ pyopengl-Bugs-1869877 ] glColorPointer/ glVertexPointer broken

"SourceForge.net" <[email protected]> Sun, 19 Jul 2009 02:39:40 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1869877, was opened at 2008-01-12 05:40
Message generated for change (Comment added) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1869877&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
Group: v3.0.0
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glColorPointer/ glVertexPointer broken

Initial Comment:
This might be related to bug 1067130, but I'm not sure, mark duplicate if needed.

In the attached script, the polygon is often miscoloured, or lacks vertexes. If I disable GL_COLOR_ARRAY, vertexes draw fine.
>From what I get it seems that calling glColorPointer overwrites some data in vertex pointer and/or vice versa.

I get distorted views like http://img292.imageshack.us/img292/5295/bugwd1.jpg, while I should get the full polygon.
If I change the order of functions artifacts change too and sometimes disappear, but nothing predictable.

The similar program in C runs fine, so it is unlikely to be a driver issue.

System used: Ubuntu Linux, kernel 2.6.22
pyopengl 3.0.0
Python 2.5.1

----------------------------------------------------------------------

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2009-07-18 22:39

Message:
This does appear to have been the problem, closing.

----------------------------------------------------------------------

Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-01-19 11:46

Message:
Logged In: YES 
user_id=34901
Originator: NO

With current CVS I can't reproduce the problem.  I'm guessing this was the
same bug as fixed a while ago where the two arrays were both getting stored
as floats and the caching code was storing them using their type rather
than their role.

----------------------------------------------------------------------

Comment By: Vytas (vytaslt)
Date: 2008-01-12 05:44

Message:
Logged In: YES 
user_id=1979684
Originator: NO

I am the submitter just forgot to login 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1869877&group_id=5988

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net