[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [pygame] 3D engine ?
Tim Downs :
> >As for C code, I would suggest that for any really useful API it will be
> >necessary to have considerable C accelerators for the hot spots. 3-D
> >graphics is too intensive to do everything in Python code. Fallbacks to
> >Python are fine, but aren't much use of the application runs at one frame
> >per minute with them.
>
> So I thought when writing a 3d object viewer in Python OpenGL.
>
> However, when I started using Display Arrays, the speed shot up to almost
> that of a C program.
Yes, display lists must be used as often as possible (in Python but also in C
or in anything). This is THE way to speed up Open GL !
> The only problems I can see are complex modeling which
> Display Arrays cannot be used for, culling, and collision detection.
>
> However, if an engine doesn't do these, then Python code can be very
> fast.
I think so ;-)
> Timothy Downs
Jiba
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org