From: Soh C. Weng,B. <eng...@nu...> - 2002-11-27 04:37:10
|
Hi all =20 i've been trying to use this particular command to select my viewpoint on the canvas.=20 =20 gluLookAt(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz) =20 The pyopengl site=20 explaines this =20 eyeX,eyeY, eyeZ Specifies the position of the eye point. centerX, centerY, centerZ =20 Specifies the position of the reference point. upX, upY, upZ =20 Specifies the direction of the up vector. =20 i've tried to applied it using relevant values but i don't see any change in the viewpoint. could i be doing something wrong? At the same time, could someone explain what does the upx upy upz do? i got to admit i'm not very sure abt it even after reading the explaination. =20 pls advice thanks bryan =20 |