Re: [PyOpenGL-Users] glVertexAttribPointer(); loading platform-specific functions
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-08-22 23:35:09
|
Joshua Davis wrote: > This issue has been resolved. The fault (if any) is not in PyOpenGL. > > I've written three C test programs to match my three Python test > programs, and the C versions behave identically to the Python > versions. It seems that my hardware/driver/OS combination doesn't > support setting attribute variables using glVertexAttribPointer(), > even though it supports setting attribute variables with > glVertexAttrib4f(), etc. (Incidentally, the Mac OS 10.5 driver for > the Radeon 9600 supports OpenGL 2.0, but the Mac OS 10.4 driver > supports only OpenGL 1.5.) > > Thanks everyone for your help -- especially Mike. Cheers. > Thanks for the update. Nice to know we don't have a PyOpenGL bug (here). I'll add a note to the tutorial regarding the glVertexAttribPointer issue on Macs with that Radeon. Enjoy, Mike > On 2009 Aug 19 , at 5:35 PM, Joshua Davis wrote: > > >> On 2009 Aug 19 , at 11:59 AM, Mike C. Fletcher wrote: >> >> >>> Would be nice if we could confirm that this machine can handle >>> attributes at all (so we know whether this is a problem with the >>> wrapper >>> or the driver). >>> >> I am attaching a new program and its debugging output. This program >> uses the legacy glVertexPointer() to specify the vertices, but uses >> a "color" attribute variable to specify a single color. It works >> correctly; changing "color" to yellow or magenta causes all >> fragments to be that color. So my machine/driver/wrapper can handle >> individual attribute variables, but it has a problem with attribute >> arrays? >> >> I'm going to try to get attribute arrays working from C, as you >> suggested in your other message. (The specs I've found online for >> the Radeon 9600 are too vague to be useful.) Until then I'll stop >> pestering you. Thanks for your help! >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |