[PyOpenGL-Users] Help with first openGL program
Brought to you by:
mcfletch
From: Astan C. <st...@al...> - 2008-03-27 02:40:05
|
Hi, I have just started to learn about openGL using pyOpenGL because I am rather proficient in python. Im trying to convert the code from http://www.edm2.com/0511/opengl.html or http://www.edm2.com/0511/glcol5f.zip and make it using pyOpenGL. I have made two attempts at it and both seems to fail/not display what I expected. I was expecting either a side view or a top-down view of the entire solar system instead of the vewing from the pole of earth. Does anyone have any idea how I can change the point of view or camera position or what I need to do here? Im not sure how OpenGL does this. Both my attempts are attached (sorry about the messy code) and both are similar to NeHe's tutorials. Thanks for the help. Astan -- "Formulations of number theory: Complete, Consistent, Non-trivial. Choose two." Animal Logic http://www.animallogic.com Please think of the environment before printing this email. This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free. |