Starting screen of the other design
We spent all of Sunday arguing about how exactly we were going to implement the flight of the dandelion seed, and only today did we really have the idea fully fleshed out (at least to the point where I feel that if we implement it all, we will have a coherent game).I don't want to give away all of what we're doing yet, but as a bit of a teaser, this is the title screen, the starting point of the journey:

(Procedural vector graphics ftw. >400fps full-screen, animated; dealing with GLSL versions and driver/ctypes/OpenGL-wrapper issues is a bit of a pain, though...)
(log in to comment)
I've probably squandered much of that 400 FPS today on drawing curves as inefficiently as possible. Looks nice though and there is still at least 60 left.
:(
Windows 7 python2.7
Does it work if you replace None in the glDrawElements call on line 120 of grass.py with "ctypes.cast(0, ctypes.c_void_p)"?
If that doesn't work, something of a long shot, but try replacing the entire line with:
"""
fixed_glDrawElements = platform.createBaseFunction(
'glDrawElements', dll=platform.GL, resultType=None,
argTypes=[GLenum,GLsizei,GLenum,GLsizei],
argNames=('mode', 'count', 'type', 'indices'),
)
fixed_glDrawElements(GL_TRIANGLE_STRIP, self.num_idx, GL_UNSIGNED_INT, 0)
"""
There are more places that would need to be fixed, but if either one works for getting past this call, I can patch the rest of them.
(pyopengl trying to be helpful with array handling in these calls is a pain...)