[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Old pygame tutorial not working
Without seeing your code, I'm not sure what the error is.
> Speaking of time, even though the data is currently being prebuilt, it still
> takes an annoying amount of time to convert the height data into an OpenGL
> display list. I know that C can do it much faster. Anyone have any ideas
> for how it could be done faster in C? Note that the pointer to the
> heightdata (a standard array) must be read from Python to C, and the pointer
> to the display list must be passed back through the interface between the
> two languages.
Have you profiled the code to find the bottlenecks?
--
Jake