[PyOpenGL-Users] Problem with windmill program (translated from C to Python)
Brought to you by:
mcfletch
From: Allan W. <ky...@ho...> - 2007-03-30 19:10:31
|
Hi, I'm new to all this, so please excuse my ignorance. I've been provided with some sample C code which displays a windmill with rotating sails. As a personal learning exercise, I tried to translate the C code to Python. It sort of works as expected, but I'm getting some weird effects - there appears to be 'holes' in the base of the windmill. Using the L and R keys to rotate the mounting also reveals holes in its faces. It's quite hard for me to describe, much easier to see it for yourself. It might be a simple error I've made in translating the code, but I've checked it over and can't see anything obviously wrong. Any help would be much appreciated. I've uploaded the code so if anyone wants to help, they can. C code: http://www.divshare.com/download/310430-b64 Python code: http://www.divshare.com/download/310431-f61 Thanks in advance _________________________________________________________________ Txt a lot? Get Messenger FREE on your mobile. https://livemessenger.mobile.uk.msn.com/ |