[PyOpenGL-Users] gluPerspective arguments ?
Brought to you by:
mcfletch
From: Anders W. <and...@he...> - 2006-07-03 18:53:36
|
Hi Group, I am a newbie playing around with python and opengl. I am a bit confused by how gluPerspective works. My book tells me the arguments are gluPerspective( fovy, aspect, near, far) but I only get a black window whenever near<far, and it seems to work much better with something like: gluPerspective(50, 1, 20.0, 1.0) i.e. could it be that the python wrapper has the near/far arguments reversed ? -- Anders Wallin |