I am an opengl user. I recently considered designing a 3d engine in python using opengl and ctypes. I didn't get too far because the jump from ctypes to the api is rather slow using:
from ctypes import * windll.opengl32.glColor3f(c_float(1),c_float(1),c_float(1)) This is just an example. I wrote a program in assembler that does all the drawing code. Then I called the dll file with ctypes but it didn't run too spectacularly. Just acceptably. My code was not written badly. It was ctypes fault. But if you guys have some other way that works faster then I am interested. I know an average amount of opengl and am also a previous pygame user until I moved to assembler. I have trudged through five languages in order to discover what I need to make a 3d engine. So far python and assembler have been the most promising. I dislike C++. The apps are too large. I like it small. I believe that it is possible to write a fast engine in python. Mainly because the graphics api does all the drawing work and not python. I use pygame for windowing and event management. It seems to excel in those arreas. Anyway. I want to join and become a developer. You said that it is fast enough for 3d games. I looked at the subversion repository but I think that you should at least have a zip file version so that the whole thing can be downloaded in one go. How do _you guys_ call the opengl api with ctypes? is it different from my method above? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
