Thread: [PyOpenGL-Devel] [ pyopengl-Bugs-624324 ] gl*Pointer not usable with Numeric-22.0
Brought to you by:
mcfletch
|
From: <no...@so...> - 2002-10-16 21:58:50
|
Bugs item #624324, was opened at 2002-10-16 15:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 Category: GL Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: Shane Holloway (shane_holloway) Assigned to: Nobody/Anonymous (nobody) Summary: gl*Pointer not usable with Numeric-22.0 Initial Comment: After a very long debugging session, I found that Numeric-22.0 appears to break all code that uses gl*Pointer, resulting in either no geometry, or an "Application Error". Simply reverting back to Numeric-21.3 restores code to working order. Behavior was verified with various demos provided in both PyOpenGL and PyOpenGLContext, including: OpenGL\Demo\da\dots.py OpenGL\Demo\tom\arraytest.py OpenGL\Demo\tom\poly.py OpenGLContext\tests\gldrawarrays.py #~ Start code example ~~~~~~~~~ Verticies = Numeric.transpose([Numeric.arange (0.,1.,1./1000., Numeric.Float)]*3) glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT) glVertexPointerd(Verticies) glEnableClientState(GL_VERTEX_ARRAY) glDrawArrays(GL_POINTS, 0, len(Verticies)) glPopClientAttrib() #~ End code example ~~~~~~~~~ System Configuration: Windows 2000 & XP Numeric 22.0 Python 2.2.2 & 2.2.1 PyOpenGL 2.0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 |
|
From: <no...@so...> - 2002-10-16 23:38:48
|
Bugs item #624324, was opened at 2002-10-16 15:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 Category: GL Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: Shane Holloway (shane_holloway) Assigned to: Nobody/Anonymous (nobody) Summary: gl*Pointer not usable with Numeric-22.0 Initial Comment: After a very long debugging session, I found that Numeric-22.0 appears to break all code that uses gl*Pointer, resulting in either no geometry, or an "Application Error". Simply reverting back to Numeric-21.3 restores code to working order. Behavior was verified with various demos provided in both PyOpenGL and PyOpenGLContext, including: OpenGL\Demo\da\dots.py OpenGL\Demo\tom\arraytest.py OpenGL\Demo\tom\poly.py OpenGLContext\tests\gldrawarrays.py #~ Start code example ~~~~~~~~~ Verticies = Numeric.transpose([Numeric.arange (0.,1.,1./1000., Numeric.Float)]*3) glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT) glVertexPointerd(Verticies) glEnableClientState(GL_VERTEX_ARRAY) glDrawArrays(GL_POINTS, 0, len(Verticies)) glPopClientAttrib() #~ End code example ~~~~~~~~~ System Configuration: Windows 2000 & XP Numeric 22.0 Python 2.2.2 & 2.2.1 PyOpenGL 2.0 ---------------------------------------------------------------------- >Comment By: Shane Holloway (shane_holloway) Date: 2002-10-16 17:38 Message: Logged In: YES user_id=283742 Config Note: PyOpenGL 2.0.0.44 from the SourceForge Files area ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 |
|
From: <no...@so...> - 2002-10-16 23:47:11
|
Bugs item #624324, was opened at 2002-10-16 15:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 Category: GL Group: v2.0 Status: Open Resolution: None Priority: 5 Submitted By: Shane Holloway (shane_holloway) Assigned to: Nobody/Anonymous (nobody) Summary: gl*Pointer not usable with Numeric-22.0 Initial Comment: After a very long debugging session, I found that Numeric-22.0 appears to break all code that uses gl*Pointer, resulting in either no geometry, or an "Application Error". Simply reverting back to Numeric-21.3 restores code to working order. Behavior was verified with various demos provided in both PyOpenGL and PyOpenGLContext, including: OpenGL\Demo\da\dots.py OpenGL\Demo\tom\arraytest.py OpenGL\Demo\tom\poly.py OpenGLContext\tests\gldrawarrays.py #~ Start code example ~~~~~~~~~ Verticies = Numeric.transpose([Numeric.arange (0.,1.,1./1000., Numeric.Float)]*3) glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT) glVertexPointerd(Verticies) glEnableClientState(GL_VERTEX_ARRAY) glDrawArrays(GL_POINTS, 0, len(Verticies)) glPopClientAttrib() #~ End code example ~~~~~~~~~ System Configuration: Windows 2000 & XP Numeric 22.0 Python 2.2.2 & 2.2.1 PyOpenGL 2.0 ---------------------------------------------------------------------- >Comment By: Shane Holloway (shane_holloway) Date: 2002-10-16 17:47 Message: Logged In: YES user_id=283742 Works with current version (2.0.1.47.a1) from CVS and Numeric-22.0. Perhaps the WinInstallers should be labeled with the version number of Numeric it was built with as well? ---------------------------------------------------------------------- Comment By: Shane Holloway (shane_holloway) Date: 2002-10-16 17:38 Message: Logged In: YES user_id=283742 Config Note: PyOpenGL 2.0.0.44 from the SourceForge Files area ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 |
|
From: SourceForge.net <no...@so...> - 2003-01-19 04:22:25
|
Bugs item #624324, was opened at 2002-10-16 17:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 Category: GL Group: v2.0 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Shane Holloway (shane_holloway) >Assigned to: Mike C. Fletcher (mcfletch) Summary: gl*Pointer not usable with Numeric-22.0 Initial Comment: After a very long debugging session, I found that Numeric-22.0 appears to break all code that uses gl*Pointer, resulting in either no geometry, or an "Application Error". Simply reverting back to Numeric-21.3 restores code to working order. Behavior was verified with various demos provided in both PyOpenGL and PyOpenGLContext, including: OpenGL\Demo\da\dots.py OpenGL\Demo\tom\arraytest.py OpenGL\Demo\tom\poly.py OpenGLContext\tests\gldrawarrays.py #~ Start code example ~~~~~~~~~ Verticies = Numeric.transpose([Numeric.arange (0.,1.,1./1000., Numeric.Float)]*3) glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT) glVertexPointerd(Verticies) glEnableClientState(GL_VERTEX_ARRAY) glDrawArrays(GL_POINTS, 0, len(Verticies)) glPopClientAttrib() #~ End code example ~~~~~~~~~ System Configuration: Windows 2000 & XP Numeric 22.0 Python 2.2.2 & 2.2.1 PyOpenGL 2.0 ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2003-01-18 23:25 Message: Logged In: YES user_id=34901 I'm going to mark this "fixed" as it is known to work with the matching Numeric versions (i.e. pre-22 vs. 22+). Since, at the moment, we don't have binary builds, the marking-with-numeric-version question seems moot. ---------------------------------------------------------------------- Comment By: Shane Holloway (shane_holloway) Date: 2002-10-16 19:47 Message: Logged In: YES user_id=283742 Works with current version (2.0.1.47.a1) from CVS and Numeric-22.0. Perhaps the WinInstallers should be labeled with the version number of Numeric it was built with as well? ---------------------------------------------------------------------- Comment By: Shane Holloway (shane_holloway) Date: 2002-10-16 19:38 Message: Logged In: YES user_id=283742 Config Note: PyOpenGL 2.0.0.44 from the SourceForge Files area ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=624324&group_id=5988 |